ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cloudor Pu <clou...@etang.com>
Subject Re: [ant]how to use <mapper> and <patternset> in <javac>?
Date Wed, 19 Jun 2002 19:49:58 GMT
在 2002-06-12 三 的 05:05, Diane Holt --写道:
> --- 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?

I want to use the patternset id in a <javac> then use it in a <jar> with
different file suffixes--".java" and ".class".



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