Forget to attach. Here it is.
Anissa.
Anissa Lam wrote:
> Hi Jason,
> Which version of ant are you using and which version/branch are you
> trying to build ?
>
> I have 1.7.0 and have built GF 2.1 on both Mac and WinXP without any
> issue.
> I attached an email that i sent out to Judy earlier regarding the
> build environment, see if that helps.
>
> Anissa.
>
>
> Jason Lee wrote:
>> I'm trying to build v2 and running into a fatal error. I'm following
>> these instructions
>> http://wiki.glassfish.java.net/Wiki.jsp?page=BuildInformation, though
>> I'm not sure if that's right or not, given the cvs->svn conversion.
>> At any rate, the build runs for a while, then I get this error message
>> when I run maven bootstrap-all build:
>>
>> Unable to obtain goal [build-pe] --
>> /home/jason/src/glassfish/v2/workspace/glassfish/bootstrap/../../glassfish/bootstrap/maven.xml:651:28:
>>
>> <fail> No message
>>
>> In case this mean something to someone, here's a snippet from the root
>> cause in the stack trace:
>>
>> Root cause
>> No message
>> at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:106)
>> at org.apache.tools.ant.Task.perform(Task.java:341)
>> at
>> org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
>> at
>> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
>> at
>> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
>>
>> Anyone have any ideas?
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
attached mail follows:
Glad you remind me :)
The official, complete instruction can be found at
http://wiki.glassfish.java.net/Wiki.jsp?page=BuildInformation
Here is a summary for building GlassFish V2 Admin Console:
%setenv CVSROOT :pserver:<user-id>@cvs.dev.java.net:/cvs
%mkdir GFv2
%cd GFv2
%cvs co glassfish/bootstrap -r TAG-NAME
%cd glassfish/bootstrap
%maven checkout bootstrap-all build configure-runtime <= this
will checkout all the source code and build everything.
or
%maven checkout -Dmodules=admin-gui bootstrap build
configure-runtime <= this will checkout only GUI source code
and build
TAG-NAME above should be one of this
value, depending which version you want to build:
GlassFish V2 FCS (SJSAS 9.1 FCS release) :
SJSAS-9_1-B58G-FCS-08_Sept_2007
GlassFish V2 U1 (SJSAS 9.1_01 release) :
SJSAS-9_1_01-B09D-06_Dec_2007
GlassFish V2 U2 (SJSAS 9.1_02 release) :
SJSAS-9_1_02-B04-11_Apr_2008
GlassFish V2.1 (the one that supports sailfin, work in progress,
our nightly build) :
SJSAS91_FCS_BRANCH
You also need to have your ~/build.properties file as specified in
the instruction page.
To give you a concrete example, here is my file, and the command i
use to check out the code for nightly build of V2.1
setenv CVSROOT :pserver:anilam@cvs.dev.java.net:/cvs
mkdir GFv2.1
cd GFv2.1
cvs co glassfish/bootstrap -r SJSAS91_FCS_BRANCH
maven checkout -Dmodules=admin-gui bootstrap build configure-runtime
After the above, i will have the source code of gui under
GFv2.1/glassfish/admin-gui
and the application server installed as
GFv2.1/public/glassfish
My copy of ~/build.properties look like this:
#glassfish.os.name=Darwin or Linux or WINNT or SunOS_X86
glassfish.os.name=Darwin
glassfish.cvs.username=anilam
glassfish.cvsroot=:pserver:anilam@cvs.dev.java.net:/cvs
Let me know if there is any question.
Anissa.