Message:

   The following issue has been re-assigned.

   Assignee: René Zanner (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
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
   Fix Fors:
             1.3
   Versions:
             1.2.3

   Assignee: René Zanner
   Reporter: Richard Easterling

    Created: Fri, 8 Apr 2005 2:26 AM
    Updated: Wed, 27 Apr 2005 8:12 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.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id5hix
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to