maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: calling ant and classpath problem
Date Tue, 02 Dec 2003 00:44:16 GMT
"Geesken, Edmund" <Edmund.Geesken@drkw.com> wrote on 02/12/2003 01:14:15 
AM:

> I have executed maven with the -X setting.
> 
> And the result is, that the maven.dependency.classpath is set but in my
> maven.xml goal not accessible. The ant:echo returns an empty string.
> 
> The ant:jspc is therefore called with the system classpath witch is not
> prepared for this compilation.
> 
> 
> 
> Any ideas??
how are you echoing maven.dependency.classpath?

Ant can't echo objects normally, so you can't just use

<echo>${maven.dependency.classpath}</echo>, usually you have to use an ant 
trick to do it, e.g.

<property name="classpath" refid="maven.dependency.classpath"/>
<echo>${classpath}</echo>
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message