ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: native2ascii can't be found in apache-ant 1.6.5
Date Mon, 24 Apr 2006 02:06:15 GMT
Hello,

using CLASSPATH is not advised.
Can you please check where is the ant script that you are executing.
Maybe you are not executing the ant that you think you are executing,
due to some specifics (RPM, ...) of the machine on which you work ...

Regards,

Antoine

smartkenny wrote:
> Hi, all
>
> I installed ant 1.6.5 and setup the ANT_HOME and JAVA_HOME correctly.
> But after relogin (to make sure the environments to be correct) when
> run ant it reports:
>
> >>>>>>>>>>
> Ant could not find the task or a class this task relies upon.
>
> This is common and has a number of causes; the usual
> ...
>
> The ant-nodeps.jar is really in $ANT_HOME/lib/, and if I explicitly set:
> export classpath=$ANT_HOME/lib/ant-nodeps.jar
> It works well.
>
> The documentation said that the jar files in $ANT_HOME/lib will be
> discovered by ant automatically, but it appears not.
>
> I am using Fedora 5 and jdk 1.5.0_06.
>
> Anybody know how to fix it?
>
> Thanks.
>
>


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


Mime
View raw message