 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
sowbug Guest
|
Posted: Fri Jan 02, 2004 5:39 pm Post subject: Problem installing ANT on Linux |
|
|
This is what I did:
PWD=/usr/src
tar -xzvf "apache1.6.tar.gz"
cd apache1.6
mkdir /opt/ant
cp * /opt/ant
All the enviornment vars are set correctly:
$JAVA_HOME=/usr/java/j2sdk1.4.2_03
$ANT_HOME=/opt/ant
/opt/ant/bin is on the $PATH
When I try to run ant I just get this output:
org/apache/tools/ant/taskdefs/JAVA
I know this has got to be some sort of path problem, but anybody know
what's going on here?
|
|
| Back to top |
|
 |
richieb Guest
|
Posted: Tue Jan 13, 2004 3:52 pm Post subject: Re: Problem installing ANT on Linux |
|
|
[email]brian.harris (AT) optdatainc (DOT) com[/email] (sowbug) wrote in message news:<e50e1609.0401020939.8bd10d (AT) posting (DOT) google.com>...
| Quote: | This is what I did:
PWD=/usr/src
tar -xzvf "apache1.6.tar.gz"
cd apache1.6
mkdir /opt/ant
cp * /opt/ant
All the enviornment vars are set correctly:
$JAVA_HOME=/usr/java/j2sdk1.4.2_03
$ANT_HOME=/opt/ant
/opt/ant/bin is on the $PATH
When I try to run ant I just get this output:
org/apache/tools/ant/taskdefs/JAVA
I know this has got to be some sort of path problem, but anybody know
what's going on here?
|
What do you see when you type:
$ which ant
Is there a real directory structure under /opt/ant?
I would have used:
$ cp -r apache.ant.1.6 /opt
$ mv /opt/apache.ant.1.6 /opt/ant
HIH
....richie
P.S. Can you post the entire output of your ant command?
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|