On Thu, 2005-04-07 at 21:04, Richard Easterling wrote: > In developing the JAM build framework (http://javagen.com/jam/) one of the > primary limitations that has emerged is that one can't write configurable > Ant scripts using XDoclet. Typically one only wants to change the > deployment target, but instead of just setting a property, the developer > has to override the entire Ant target containing the XDoclet task. Adding > 'if' and 'unless' tests to the SubTask would solve this problem, allowing > one to write scripts like: > > <ejbdoclet destdir="${build.dir}"> > <deploymentdescriptor unless="xdoclet.ejb.dd.off"/> > <jboss if="xdoclet.ejb.jboss.on"/> > <weblogic if="xdoclet.ejb.weblogic.on"/> > </ejbdoclet> > > I wrote and tested a patch to do this and would like to submit it. It will > not effect any existing builds because when 'if' and 'unless' are absent, > there is no change in behavior. Nor will their be any significant > performance hit. > > Would anyone be willing to post the source for me or could I get commit > permission?
Open an enhancement request in JIRA (http://opensource.atlassian.com/projects/xdoclet/) and attach the patch to it. Someone will check it over and apply it as time permits. Thanks for the contribution! Andrew. -- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel