ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark stephens <>
Subject Re: AW: Different behaviour when running <java> from command line
Date Mon, 22 Sep 2003 20:32:57 GMT
On Mon, 2003-09-22 at 20:18, Antoine Lévy-Lambert wrote:
> Hi Mark,
> it sounds like this is a classloader issue.
> On top of that, ant 1.6 now ignores externally set CLASSPATH when started
> through the command line scripts ant or ant.bat.
> See this FAQ entry :
> I plan to change ant 1.6 soon to be able at least to use an externally set
> CLASSPATH when starting ant from the command line.
> It would be good too to find a solution allowing not to have to set
> CLASSPATH externally altogether, but only using the nested classpath
> elements of the different ant tasks, particularly <java/> or <taskdef/>
> Cheers,
> Antoine

Thanks. I found adding fork="true" to <java> fixed the problem.It seemed
to be an issue with some of the extra ant entries.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message