The following issue has been updated:
Updater: Richard Easterling (mailto:[EMAIL PROTECTED])
Date: Fri, 8 Apr 2005 3:03 AM
Comment:
minor changes to DocletContext.java and XDocletMain.java
changes in SubTask.java won't effect other code.
This code was hand tested and probably doesn't require a unit test.
Changes:
Attachment changed to patch.diff
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1329?page=history
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1329
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1329
Summary: if and unless tests on SubTask
Type: New Feature
Status: Open
Priority: Major
Original Estimate: 10 minutes
Time Spent: Unknown
Remaining: 10 minutes
Project: XDoclet
Components:
XDoclet Module
Versions:
1.2.3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Richard Easterling
Created: Fri, 8 Apr 2005 2:26 AM
Updated: Fri, 8 Apr 2005 3:03 AM
Environment: configurable Ant builds
Description:
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.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel