ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: Patternsets, Filesets, and Mapper
Date Wed, 27 Feb 2002 01:06:28 GMT
Mappers aren't nested inside filesets.  Its up to the specific task that
you're working with to provide for mapper capability (like <uptodate> for
example).

This message was more appropriate for the ant-user e-mail list though.

    Erik

----- Original Message -----
From: <eoti@mind.net>
To: <ant-dev@jakarta.apache.org>
Sent: Tuesday, February 26, 2002 11:25 AM
Subject: Patternsets, Filesets, and Mapper


> I am in the process of changing the build at work to use Ant.  However, I
am stuck (was
> 1.4.1 but changed the lib and bin directory to 1.5alpha)....
>
> The goal is this. Define set of files ONCE. Javadoc and Jar from this one
set of files.
>
> More in depth:
> --------------
> *_Stub.java are under classes
>
> rest of *.java are under src
>
> *.class are under classes
>
> some of the .class files (Sun's JINI RemoteException stuff that is
required to be in the
> jar) are under classes, but the source is NOT under src
>
> I can't seem to figure out how to use the Mapper with anything... I tried
doing this:
> <PRE><CODE>
> &lt;fileset dir="${cls}" id="cls.files"&gt;
> &lt;mapper type="glob" from="*.java" to="*.class"&gt;
> &lt;patternset refid="filenames"/&gt;
> &lt;/mapper&gt;
> &lt;/fileset&gt;
> </CODE></PRE>
>
> but that doesn't work... I can't seem to get it... can someone give me an
example of how
> to make this work. I have very limited time before work makes me keep us
with the Internal
> build tools instead of Ant.
>
> Thanks,
> Malachi
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>


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


Mime
View raw message