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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to