ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@antbuild.com>
Subject AW: ANT environment setup ?
Date Tue, 30 Sep 2003 08:26:43 GMT


-----Ursprungliche Nachricht-----
Von: Shailesh Sharma [mailto:shailesh_scea@yahoo.com]
Gesendet: Dienstag, 30. September 2003 03:04
An: Ant Users List
Betreff: ANT environment setup ?


Hi,
>Iam working on a UNIX box. I need to setup my ANT environment. Here is
where my ant's executable is installed at:
/opt/bea/weblogic81/server/bin

>Iam assuming this path because when i type "./ant build.xml" from here
.....it tells me that ANT is OK ........but when i run "./ant build.xml"
from anywhere else ......it gives me error that ant is not found or
something.

>I need to know if i need to run this ./ant command from say,
/export/home/sxrdfe/applications/./ant build.xml

Run /opt/bea/weblogic81/server/bin/ant -f build.xml

actually you do not need to say -f build.xml because build.xml is the
default for build files
You might want to put /opt/bea/weblogic81/server/bin in the path


Another alternative is that you download say ant1.5.4 from ant.apache.org,
by following the download links.

Then follow the installation instructions.

(set ANT_HOME to the directory where you install ant, set PATH to include
$ANT_HOME/bin, and install under $ANT_HOME/lib the library dependencies that
you want to use, like for instance netcomponents.jar if you plan to use the
ftp task, ...)

Cheers,

Antoine


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message