ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: [ant]how to use <mapper> and <patternset> in <javac>?
Date Wed, 12 Jun 2002 05:05:38 GMT
--- Cloudor Pu <cloudor@etang.com> wrote:
> What i am trying to do is to:
> do <mapper> on a <patternset>, then use the result in <javac>. 
> For example, there are some files named "foo.java", "bar.java" and
> "bla.java", and i define a patternset without their suffix ".java"
> like this:
> <patternset id="names">
>     <include name="foo"/>
>     <include name="bar"/>
>     <include name="bla"/>
> </patternset>
> I want to use the id of the patternset in a <javac>. How to do?

Well, the short answer is: You can't -- not along with a <mapper> anyway.
But the question still remains: Why are you setting your pattern without
the .java extension -- what is it that you're actually trying to do?

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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