ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: using javac task with a fileset
Date Sun, 06 Oct 2002 02:23:25 GMT

You can use pathconvert to change to a delimited list:

<pathconvert pathsep="," property="my.psuedo.fileset" 
refid="ref.of.my.real.fileset" />

Jake

At 03:11 PM 10/4/2002 -0600, you wrote:
>I know that javac only takes a patternset as a nested element.
>
>However, I have a need to use a fileset with javac.
>
>For example,
>
>I have defined a <selector> thusly:
>
><selector id="java.beans.only">
>       <contains text="Java-Bean: True" />
>  </selector>
>
>And this is exactly the "set" of files I would like to compile:
>
><fileset dir="${src}" >
>         <include name="**/*.java"/>
>         <selector refid="java.beans.only"/>
></fileset>
>
>But, I cannot do (directly):
>
>   <javac srcdir="${src}"
>          destdir="${build}"
>          classpath="xyz.jar"
>          debug="on" >
>          <fileset dir="${src}" >
>                    <include name="**/*.java"/>
>                     <selector refid="java.beans.only"/>
>          </fileset>
>   <javac/>
>
>
>Is there a work-around that would achieve this goal?
>
>TIA
>
>
>--
>To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message