ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petar Tahchiev <paranoia...@gmail.com>
Subject Re: Cannot Resolve symbol
Date Wed, 03 Aug 2005 09:50:33 GMT
On 03/08/05, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> wrote:
> 
> >> 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


Ant doesn't complain from not finding the object(because I impotr it in the 
next files). It just says it can't find the methods. So I am more to think 
that something with the compilation is wrong. I deleted the jar file but the 
same error occurs. I want to ask whether some kind of caching i s possible 
because in the first compilation I have 9 files and they compile really 
fast.
-- 
Regards, Petar!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message