ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Cannot Resolve symbol
Date Wed, 03 Aug 2005 09:42:01 GMT
>> I have another ant file that I call with <ant antfile="">. 
>It compiles
>some sources, builds a .jar, and later on I include that jar 
>in the classpath in the new compilation. They should be 
>uptodate, because wheever I call the master build file it 
>compiles the one that should go in the classpath

maybe the order from defining the path and calling the sub-build is
wrong.

<path id="cp">  ...  </path>
<target name="compile">
    <antcall.../>
    <javac ... classpathrefid="cp"/>
</target>

would not work, because the path is evaluated before the antcall.


<target name="compile">
    <antcall.../>
    <javac ... >
        <classpath>  ...  </classpath>
    </javac>
</target>

should work


Jan

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


Mime
View raw message