Hmm, the package mapper does the stuff in the wrong direction. so what i
need is basically a mapper, which replaces all '.' in the FQN through '/' and
also add '.java' to the FQN. I guess I have to write my own mapper.

Can you give me any hints on how to do something like this? I looked already
in your code, but the problem is, that I cannot use '*' in my stuff. So what
I really want to do is the following:

<copy file="org.javafreedom.Classfile"
to="${another.src.dir}/org/javafreedom/Classfile"/>. Is this then possible using a 
mapper?

regards,

markus

> The "package" mapper might do the trick for you - I created it for use 
> 
> with <junit> XML formatter results mapping, but it might do what you 
> need.
> 
> You wouldn't need to write your own task, rather at the worst case 
> write your own mapper implementation (its pluggable) or use a 
> sprinkling of <script> to replace dots with slashes.
> 
>       Erik
> 
> On Thursday, January 2, 2003, at 06:40  AM, Markus M. May wrote:
> > Hello,
> > I have the FQN of a class and would like to copy this class using the
> > standard mechanism of ANT. It seems that it is not possible without a 
> 
> > mapper. Can I
> > use a mapper, or do i have to write my own task?
> >
> > Greets
> >
> > Markus
> >
> > -- 
> > +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> > NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
> >
> >
> > --
> > 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]>
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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

Reply via email to