I'm coming into this thread a little late, and not sure I fully understand
the complete picture, but as far as Ant mappers go, I just added a new
mapper type called "package" that maps a package path (with directory
separators) to a package name (with dots). It is in Ant's CVS. Usage is:
<mapper type="package"
from="*Test.java" to="TEST-*Test.xml"/>
It is similar to the "glob" mapper in that the "*" is substituted from the
'from' pattern to the 'to' pattern, with the directory separator replaced
with dots. The above example is useful for mapping Java code to its <junit>
test results.
Is this at all relevant to this thread? If not, nevermind! :)
But if there are Ant limitations that are affecting XDoclet, by all means
bring them up to me.
Erik
> Message: 1
> From: "Ara Abrahamian" <[EMAIL PROTECTED]>
> To: "'Michael Szlapa'" <[EMAIL PROTECTED]>,
> <[EMAIL PROTECTED]>
> Subject: RE: [Xdoclet-user] NullPointer in <packageSubstitution> - How to
achieve package substitution in <template/> subtask
> Date: Sat, 5 Jan 2002 01:20:54 +0330
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0007_01C19587.48190F50
> Content-Type: text/plain;
> charset="US-ASCII"
> Content-Transfer-Encoding: 7bit
>
> >From the Ant task, but I'm afraid not from the templatedoclet because of
> some limitations in Ant (though there's always some workarounds, but.).
> Let's see what the design evolves to :o)
>
> Ara.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Michael
> Szlapa
> Sent: Saturday, January 05, 2002 12:37 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] NullPointer in <packageSubstitution> - How
> to achieve package substitution in <template/> subtask
>
>
> That would be great. Would it be possible to pass the parameters to the
> mapper either from ANT task or even better from the template ?
>
> For now I have moving/cleaning tasks as part of the the ANT ejbdoclet
> target.
>
> Thanks,
> Michael
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user