castor

Support specifying output directory for generated resources

Details

  • Type: Wish Wish
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.3
  • Fix Version/s: 1.3.1
  • Component/s: XML code generator
  • Labels:
    None
  • Number of attachments :
    2

Description

Castor's source generator currently supports specifying destination of generated sources and resources, but it doesn't support separating the two. See this related issue at castor maven plugin for suggested solution.

  1. c2829.20090827.patch
    27/Aug/09 4:02 PM
    10 kB
    Werner Guttmann
  2. patch.c2829.20090825.txt
    25/Aug/09 5:03 PM
    3 kB
    Werner Guttmann

Activity

Hide
Werner Guttmann added a comment -

I am open for any suggestion(s) on how to name the property, etc. And we must not forget to have this integrated with Ant, Maven2, ....

Show
Werner Guttmann added a comment - I am open for any suggestion(s) on how to name the property, etc. And we must not forget to have this integrated with Ant, Maven2, ....
Hide
Werner Guttmann added a comment -

Initial patch for review. This patch adds a setResourceDestinationDirectory(String) method to SourceGenerator. As a result of that, .castor.cdr files could be generated in a separate location.

Show
Werner Guttmann added a comment - Initial patch for review. This patch adds a setResourceDestinationDirectory(String) method to SourceGenerator. As a result of that, .castor.cdr files could be generated in a separate location.
Hide
Werner Guttmann added a comment -

Improved patch, adding the new property to SourceGeneratorMain and the Ant task definition. I still need to add documentation in various places.

Show
Werner Guttmann added a comment - Improved patch, adding the new property to SourceGeneratorMain and the Ant task definition. I still need to add documentation in various places.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
Not Specified
Original Estimate - Not Specified
Remaining:
0m
Remaining Estimate - 0 minutes
Logged:
1h
Time Spent - 1 hour