quality@glassfish.java.net

Re: Clarification about Social Site

From: Bobby Bissett <Robert.Bissett_at_Sun.COM>
Date: Tue, 16 Sep 2008 13:24:51 -0400

>
>> 2.) I installed Netbeans IDE 1.6 and tried to deploy the war file
>> (from the
>> Social Site directory) but when i create the project, it is asking
>> me to
>> include web-inf folder which i didn't find in the war file (after
>> unzipping
>> it). I just created a simple web project and tried to import the war
>> file..My goal was to get the application running on netbeans (Had
>> already
>> included glassfish while installation of netbeans).Is this enough
>> to test
>> for black box testing?
>>
>

If you're just deploying the war file to GlassFish, you don't need
NetBeans to do that. Instead, you can use the GlassFish admin console
or deploy from the command line with the "asadmin deploy" command. If
that's what you're trying to do, I can give you more information if
you'd like it.

If you'd like to actually be able to build the war file in NetBeans,
then I think it'd be easier to use the existing NetBeans project (part
of the SocialSite workspace) rather than creating a new project around
an existing war file. Let me know if that isn't what you were trying
to do. Anyway, to open the project in NetBeans, just follow the link
Jamey mentioned below to get the code or use NetBeans and do
Versioning -> Subversion -> Checkout.

Once you have the workspace, you can open the project by selecting the
"socialsite" folder in the Open Project dialog in NetBeans. You can
then build the project inside NetBeans, but you still need to use the
command line or admin console to deploy -- it's not a standard
NetBeans web project that knows how to deploy itself to a server.

Getting the code:

> The system should automatically approve your request. Once that's
> done, follow the directions at the top of this page (under
> "Accessing the source code repository"):
>
> https://socialsite.dev.java.net/source/browse/socialsite/

Cheers,
Bobby