So, the target 'javac' does only work with .java files , and not with jar files. If these files contain source files, you must extract these files and compile
Alexandre Touret Frank Schroeder wrote: > I think you have to do it like this > <javac ...> > <fileset refid="src"/> > </javac> > > Laurie Harper wrote: > >> The documentation for the 'javac' task says it accepts all attributes >> supported by 'fileset'. So I tried this: >> >> <fileset id="src" dir="java"> >> <include name="*.jar"/> >> </fileset> >> >> <javac refid="src" destdir="classes"/> >> >> But I got an error that the 'javac' task doesn't support the 'refid' >> attribute. Is there any way to tell the 'javac' task to operate on the >> contents of a 'fileset'? I'd like to avoid maintaining a set of >> 'include's/'exclude's in two places. >> >> L. >> >> >> -- >> To unsubscribe, e-mail: >> <mailto:[EMAIL PROTECTED]> >> For additional commands, e-mail: >> <mailto:[EMAIL PROTECTED]> >> >> > -- ________________________________ Alexandre Touret CGBI - France Telecom e-Business 2, rue Auguste Comte 92170 Vanves tel.:01/46/12/62/17 Poste:12.62.17 fax.: 01/56/66/41/60 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]