[prev in list] [next in list] [prev in thread] [next in thread]
List: ant-user
Subject: Re: Ant on Mac OS X (Solved)
From: Jason Barker <jason.barker () phonedir ! com>
Date: 2007-06-26 22:09:01
Message-ID: 17C91DF8-FC13-45E4-806F-5486C5CE0895 () phonedir ! com
[Download RAW message or body]
I have figured it out. I have a jar file (selenium-server.jar) in my
Extensions folder (/Library/Java/Extensions) which also contained the
class files for Ant. As soon as I removed the jar file from that
folder, I was able to run Ant without any problems. What's more is
that it seems like Ant can be run from the command line without
having to set ANT_HOME and JAVA_HOME.
Thanks!
On Jun 26, 2007, at 3:42 PM, Jason Barker wrote:
> On Jun 26, 2007, at 3:34 PM, Jack J. Woehr wrote:
>
>>
>> On Jun 26, 2007, at 3:18 PM, Jason Barker wrote:
>>
>>> I have cleared out my CLASSPATH. Ant is currently installed at: /
>>> Developer/Java/Ant. I have set ANT_HOME to /Developer/Java/Ant. I
>>> have added $ANT_HOME/bin to my PATH, too. What gives?
>>
>> You must not have the Ant jar in $ANT_HOME/lib. Or something. You
>> are receiving the
>> classic error meaning the Ant classes were not found by Java itself.
>
> From the command line, when I type:
> % ls $ANT_HOME/lib
> I get the following output:
> README ant-apache-resolver.jar ant-
> jmf.jar ant-stylebook.jar ant-xslp.jar
> ant-antlr.jar ant-commons-logging.jar ant-
> jsch.jar ant-swing.jar ant.jar
> ant-apache-bcel.jar ant-commons-net.jar ant-
> junit.jar ant-trax.jar junit-4.1.jar
> ant-apache-bsf.jar ant-icontract.jar ant-
> launcher.jar ant-vaj.jar xercesImpl.jar
> ant-apache-log4j.jar ant-jai.jar ant-
> netrexx.jar ant-weblogic.jar xml-apis.jar
> ant-apache-oro.jar ant-javamail.jar ant-
> nodeps.jar ant-xalan1.jar
> ant-apache-regexp.jar ant-jdepend.jar ant-
> starteam.jar ant-xalan2.jar
>
> Also, I have tried setting JAVA_HOME to /System/Library/Frameworks/
> JavaVM.framework/Home and also leaving it empty. It does not seem
> to have an effect.
>
> Any other ideas?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic