castor
  1. castor
  2. CASTOR-2829

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
        10 kB
        Werner Guttmann
      2. patch.c2829.20090825.txt
        3 kB
        Werner Guttmann

        Activity

        Werner Guttmann made changes -
        Field Original Value New Value
        Assignee Werner Guttmann [ wguttmn ]
        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.
        Werner Guttmann made changes -
        Attachment patch.c2829.20090825.txt [ 44020 ]
        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.
        Werner Guttmann made changes -
        Attachment c2829.20090827.patch [ 44086 ]
        Werner Guttmann logged work - 27/Aug/09 4:19 PM
        • Time Spent:
          1 hour
           
          <No comment>
        Werner Guttmann made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.3.1 [ 14004 ]
        Werner Guttmann made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour [ 3600 ]
        Ralf Joachim made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Werner Guttmann
            Reporter:
            Stevo Slavic
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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