Hi,
 
I'm now using XDoclet within Maven and basically I have three questions:
 
1. In mavenplugin.xdt could you set a higer number of subelements to check for?
 
i.e. something like: 
change
   <j:forEach begin="0" end="10" indexVar="nested_element_index">
to
   <j:forEach begin="0" end="40" indexVar="nested_element_index">
 
Without it some XDoclet tasks will not be executed if you have more subtasks to run
(see 2. for an example).
 
2. Would it be possible to change the configuration of the xdoclet maven plugin to
something easier/cleaner?
 
Right now I have to put this into my project.properties to make <PackageSubstitution> 
work:
 

maven.xdoclet.ejbdoclet.valueobject.0=true
maven.xdoclet.ejbdoclet.valueobject.0.pattern={0}Data
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.0=true
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.0.packages=config
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.0.substituteWith=config.interfaces
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.1=true
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.1.packages=admintool
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.1.substituteWith=admintool.interfaces
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.2=true
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.2.packages=broker
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.2.substituteWith=broker.interfaces
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.3=true
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.3.packages=callcenter
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.3.substituteWith=callcenter.interfaces
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.4=true
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.4.packages=gateway
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.4.substituteWith=gateway.interfaces
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.5=true
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.5.packages=itoif
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.5.substituteWith=itoif.interfaces
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.6=true
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.6.packages=machine
maven.xdoclet.ejbdoclet.valueobject.0.PackageSubstitution.6.substituteWith=machine.interfaces
...
that's upto 15 of those right now and still counting...
 
 
This is somehwat tedious. Is there another way? A better, simpler one?
 
And if not (that's 3.) is someone working on a solution? Or does someone have an
idea on how to do it?
 
 
Thanks,
 
Fabian Crabus
 
btw. I'm still amazed how XDoclet creates its jelly script, great work!


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to