users@glassfish.java.net

Re: Help registering Glassfish v2.1 with Netbeans.

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Sat, 28 Feb 2009 15:43:16 -0800

glassfish_at_javadesktop.org wrote:
> Well GF doesnt seem to be installed correctly. So I removed and am trying to install myself. Im running jdk 6 update 10 on Vista(Access Control off). And have update my JAVA_HOME to point to its path.
>
> I downloaded glassfish-installer-v2.1-b60e-windows.jar from
> https://glassfish.dev.java.net/downloads/v2.1-b60e.html
> Ive followed the instructions to step 4. On this step I run
> ant -f setup.xml.

This is not what the instructions say.
Make sure you did a cd glassfish
then where the setup.xml file is, run this command:

lib\ant\bin\ant -f setup.xml


Ludo
> Have tried running command as
> C:\Program Files\glassfish\lib\an\bin\ant -f setup.xml. and to make sure
> C:\Program Files\glassfish\ant -f setup.xml.
> Ant is on path so I called it from within mulitple folders but always recieve the following message:
>
> BuildFile: build.xml does not exist!
> Build failed
> Searches so far turn up nothing. Think I might be doing something wrong. Will keep trying. If anyone can see what I'm missing/messing up please let me know. Also Thanks for the previous replies.
> [Message sent by forum member 'javajoe83' (javajoe83)]
>
> http://forums.java.net/jive/thread.jspa?messageID=334419
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>