ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From news...@hotu.com
Subject can't nest fileset in javac?
Date Tue, 17 Jun 2003 23:29:06 GMT

Why doesn't the javac task accept a nested fileset?  It would seem 
useful in situations where you want to use a fileset defined elsewhere:

<fileset id="interfaces" dir="${basedir}">
  ...
  ...
  ...
</fileset>

... later on:

<target name="compile-interfaces">
  <javac>
   <classpath refid="classpath"/>
   <fileset refid="interfaces"/>
  </javac>
</target>

As a workaround, I've discovered I can use a patternset, but this isn't 
quite as clean.  Is there a good reason why javac shouldn't accept 
nested filesets?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message