The following comment has been added to this issue:

     Author: Andrew Stevens
    Created: Sun, 30 May 2004 7:57 PM
       Body:
You already can override the destination filename.  TemplateSubTask (which everything 
else extends) contains a setDestinationFile method, so you should be able to use a 
destinationfile="foo.xml" parameter on any subtask call (so long as the subtask 
doesn't call the method itself in execute() and overwrite the value you've set).

For some reason, however, this is explicitly not included in the documentation 
(perhaps in case subtasks provide other ways to set it, or generate more than one 
file?)  It probably ought to be, though only in the documentation for subtasks where 
it works.
---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-575?page=comments#action_14107

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-575

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-575
    Summary: Ability to overwrite the names of generated files.
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Documentation
   Versions:
             1.2.1

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Antoni Reus

    Created: Fri, 25 Jul 2003 4:24 AM
    Updated: Sun, 30 May 2004 7:57 PM

Description:
The names of the files generated by xdoclet tasks, cannot be changed.

I mean:

<deploymentdescriptor> task in ejbdoclet always generates the file ejb-jar.xml,

<strutsconfigxml> task in webdoclet always generates the file struts-config.xml

it would be nice to have an attribute to overwrite the filename.





---------------------------------------------------------------------
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



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to