Message:

   The following issue has been re-assigned.

   Assignee: Magnus Larsson (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-794

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-794
    Summary: IBM websphere ibm-web-ext.xmi & ibm-web-bnd.xmi generation
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: 0 minutes
 Time Spent: Unknown
  Remaining: 0 minutes

    Project: XDoclet
 Components: 
             IBM Module
   Versions:
             1.2

   Assignee: Magnus Larsson
   Reporter: fgrossetete

    Created: Thu, 5 Feb 2004 12:19 PM
    Updated: Thu, 18 Nov 2004 4:02 PM
Environment: eclipse 2.1 + ant 1.6 + JVM 1.4.2

Description:
<webspherewebxml/> ant sub task needed "templateFile" and "destinationfile" 
attributes.
But these are static in the WebSphereWebXmlSubTask.java : so i overload this 
method (setting a default value to avoid exception trowing at validation).
Now I don't have to enter these 2 dummy attributes.

How to integrate this method in further releases ?


    /**
     * Called to validate configuration parameters.
     *
     * @exception XDocletException  Description of Exception
     */
    public void validateOptions() throws XDocletException
    {
        if (getTemplateURL() == null) {
            setTemplateURL(getClass().getResource(BINDINGS_TEMPLATE_FILE));
        }

        if (getDestinationFile() == null) {
            setDestinationFile(GENERATED_EXTENSIONS_FILE_NAME);
        }
        super.validateOptions();
    }



---------------------------------------------------------------------
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: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to