You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ivar Vasara <iv...@vcn.bc.ca> on 2002/08/20 01:20:18 UTC

complex source matching for javac task ?

Hello,

I've been banging my head against my monitor trying to figure out how to
define a fileset for use with the javac task..
I can acheive my goal using a whack of includes/excludes within the javac, but
ideally I'd like to define my fileset/patternset at the same level as a task
and refer to it. I *know* this is possible, but I haven't found the
appropriate documentation.

Any help/suggestions appreciated.

Sincerely,
Ivar Vasara


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: complex source matching for javac task ?

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 19 Aug 2002, Ivar Vasara <iv...@vcn.bc.ca> wrote:

> I can acheive my goal using a whack of includes/excludes within the
> javac, but ideally I'd like to define my fileset/patternset at the
> same level as a task and refer to it. I *know* this is possible, but
> I haven't found the appropriate documentation.

<patternset id="my patterns">
  your whack of includes/excludes
</patternset>
<javac ...>
  <patternset refid="my patterns"/>
</javac>

> Any help/suggestions appreciated.

If your "whack" it is rather complicated, you may benefit from the new
selector stuff.

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>