ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <>
Subject Passing a fileset into javac
Date Wed, 16 Oct 2002 05:27:09 GMT
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"/>

  <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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message