users@glassfish.java.net

Re: Installation Problems - Ant Build Procedures

From: <glassfish_at_javadesktop.org>
Date: Tue, 29 Apr 2008 14:11:39 PDT

> Hi guys,
>
> Downloaded the install file for GlassFish and am
> trying to load it onto Windows XP. As per
> instructions I used java -Xmx256m -jar
> glassfish-installer-v2ur1-b09d-linux.jar. The
> contents of the jar file were unpackedand installed
> correctly, however I could not get the ant build to
> execute correctly. Here are the steps that I took to
> execute the build: 1). Set my ANT_HOME env variable,
> 2). Restarted my machine, 3). Opened a command prompt
> and navigated to C:\glassfish, 4). Executed command
> ant -f setup.xml.

You need to download the Windows jar to install on Windows, don't use the Linux jar.
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=272115