Ant does not cache anything. It checks (by timestamp) if the class file is uptodate to the source file. All "new" sources are then submitted to the compiler who decides what to do.
Maybe you could post your directory structure and the parts of your two buildfiles - subbuild: compiling, creating the jar - build: path, compile, antcall Jan >-----Ursprüngliche Nachricht----- >Von: Petar Tahchiev [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 3. August 2005 11:51 >An: Ant Users List >Betreff: Re: Cannot Resolve symbol > >On 03/08/05, [EMAIL PROTECTED] ><[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For >additional >> commands, e-mail: [EMAIL PROTECTED] > > >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! > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]