ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elizabeth Cooper <ecoo...@ergotech.com>
Subject Re: using javac task with a fileset
Date Sun, 06 Oct 2002 21:56:56 GMT

Yes! Thank you for the suggestion. I guess I would never have figured this 
out by myself  -- "pathconvert", as a task name, does not say to me "ah 
ha  that will make a delimited list of files for me", so I never read the 
task documentation.

At 08:23 PM 10/5/02, you wrote:

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


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


Mime
View raw message