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: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to