jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x Castor Plugin
  • MPCASTOR-13

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

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Labels:
    None

Description

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    plugin.diff
    29/Jul/06 9:02 PM
    0.6 kB
    David M. Karr

Issue Links

duplicates

Improvement - An improvement or enhancement to an existing feature or task. MPCASTOR-6 Add binding file option to source generation

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Lukas Theussl added a comment - 31/Jul/06 1:13 AM

MPCASTOR-6 has a more complete patch.

Show
Lukas Theussl added a comment - 31/Jul/06 1:13 AM MPCASTOR-6 has a more complete patch.

People

  • Assignee:
    Lukas Theussl
    Reporter:
    David M. Karr
Vote (0)
Watch (0)

Dates

  • Created:
    29/Jul/06 9:02 PM
    Updated:
    31/Jul/06 1:13 AM
    Resolved:
    31/Jul/06 1:13 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.