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!