You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David M. Karr (JIRA)" <ji...@codehaus.org> on 2006/07/30 04:03:06 UTC

[jira] Created: (MPCASTOR-13) Implement the "bindingfile" attribute, exactly like the maven 2.0 castor plugin, to specify a castor binding file

Implement the "bindingfile" attribute, exactly like the maven 2.0 castor plugin, to specify a castor binding file
-----------------------------------------------------------------------------------------------------------------

                 Key: MPCASTOR-13
                 URL: http://jira.codehaus.org/browse/MPCASTOR-13
             Project: maven-castor-plugin
          Issue Type: New Feature
            Reporter: David M. Karr
            Priority: Minor
         Attachments: plugin.diff

This plugin does not allow for the "-binding-file" command-line parameter to the "org.exolab.castor.builder.SourceGenerator" class, which is necessary if you need to override the default type-to-class binding, most likely to avoid a duplicate class problem.

Fortunately, this is easy to fix.  Just adding a check for the "bindingfile" attribute (named to match the same attribute in the maven 2.0 castor plugin) to add the "-binding-file" command-line parameter works perfectly fine.

Patch attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MPCASTOR-13) Implement the "bindingfile" attribute, exactly like the maven 2.0 castor plugin, to specify a castor binding file

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPCASTOR-13?page=all ]

Lukas Theussl closed MPCASTOR-13.
---------------------------------

      Assignee: Lukas Theussl
    Resolution: Duplicate

MPCASTOR-6 has a more complete patch.

> Implement the "bindingfile" attribute, exactly like the maven 2.0 castor plugin, to specify a castor binding file
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: MPCASTOR-13
>                 URL: http://jira.codehaus.org/browse/MPCASTOR-13
>             Project: maven-castor-plugin
>          Issue Type: New Feature
>            Reporter: David M. Karr
>         Assigned To: Lukas Theussl
>            Priority: Minor
>         Attachments: plugin.diff
>
>
> This plugin does not allow for the "-binding-file" command-line parameter to the "org.exolab.castor.builder.SourceGenerator" class, which is necessary if you need to override the default type-to-class binding, most likely to avoid a duplicate class problem.
> Fortunately, this is easy to fix.  Just adding a check for the "bindingfile" attribute (named to match the same attribute in the maven 2.0 castor plugin) to add the "-binding-file" command-line parameter works perfectly fine.
> Patch attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira