[jira] Created: (MCASTOR-31) Support specifying output directory for generated resources

View: New views
6 Messages — Rating Filter:   Alert me  

[jira] Created: (MCASTOR-31) Support specifying output directory for generated resources

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Support specifying output directory for generated resources
-----------------------------------------------------------

                 Key: MCASTOR-31
                 URL: http://jira.codehaus.org/browse/MCASTOR-31
             Project: Maven 2.x Castor Plugin
          Issue Type: Wish
          Components: Core MOJOs
    Affects Versions: 1.5
            Reporter: Stevo Slavic
            Priority: Minor


Generate goal generates all files (.java and .castor.cdr files) in directory configurable by dest parameter. IMO it would be better if one could configure additional parameter, e.g. resourcesOutputDirectory, to be able to separate Java sources from castor resources. To be backward compatible this new parameter could have default value equal to dest parameter.

Both .class (from generated .java files) and .castor.cdr files are needed at runtime. To get generated Java classes added one can use build-helper-maven-plugin:add-source and configure source folder to be equal to dest of castor-maven-plugin. With just this, .castor.cdr files would not end up discovered as resources. So to get cator-maven-plugin generated resources discovered as resources either maven-resources-plugin needs to be configured (one has to be careful not to forget default resources), or build-helper-maven-plugin - maven-assembly-plugin combination can be used. If there was this additional parameter in castor-maven-plugin generate goal, one could just configure build-helper-maven-plugin:add-resource plugin.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MCASTOR-31) Support specifying output directory for generated resources

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MCASTOR-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187065#action_187065 ]

Werner Guttmann commented on MCASTOR-31:
----------------------------------------

{quote}
Generate goal generates all files (.java and .castor.cdr files) in directory configurable by dest parameter. IMO it would be better if one could configure additional parameter, e.g. resourcesOutputDirectory, to be able to separate Java sources from castor resources. To be backward compatible this new parameter could have default value equal to dest parameter.
{quote}

If we were to add such a parameter, this clearly would have to added at Castor itself firsdt, and then made available through this plugin.

> Support specifying output directory for generated resources
> -----------------------------------------------------------
>
>                 Key: MCASTOR-31
>                 URL: http://jira.codehaus.org/browse/MCASTOR-31
>             Project: Maven 2.x Castor Plugin
>          Issue Type: Wish
>          Components: Core MOJOs
>    Affects Versions: 1.5
>            Reporter: Stevo Slavic
>            Priority: Minor
>
> Generate goal generates all files (.java and .castor.cdr files) in directory configurable by dest parameter. IMO it would be better if one could configure additional parameter, e.g. resourcesOutputDirectory, to be able to separate Java sources from castor resources. To be backward compatible this new parameter could have default value equal to dest parameter.
> Both .class (from generated .java files) and .castor.cdr files are needed at runtime. To get generated Java classes added one can use build-helper-maven-plugin:add-source and configure source folder to be equal to dest of castor-maven-plugin. With just this, .castor.cdr files would not end up discovered as resources. So to get cator-maven-plugin generated resources discovered as resources either maven-resources-plugin needs to be configured (one has to be careful not to forget default resources), or build-helper-maven-plugin - maven-assembly-plugin combination can be used. If there was this additional parameter in castor-maven-plugin generate goal, one could just configure build-helper-maven-plugin:add-resource plugin.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Assigned: (MCASTOR-31) Support specifying output directory for generated resources

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MCASTOR-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Guttmann reassigned MCASTOR-31:
--------------------------------------

    Assignee: Werner Guttmann

> Support specifying output directory for generated resources
> -----------------------------------------------------------
>
>                 Key: MCASTOR-31
>                 URL: http://jira.codehaus.org/browse/MCASTOR-31
>             Project: Maven 2.x Castor Plugin
>          Issue Type: Wish
>          Components: Core MOJOs
>    Affects Versions: 1.5
>            Reporter: Stevo Slavic
>            Assignee: Werner Guttmann
>            Priority: Minor
>
> Generate goal generates all files (.java and .castor.cdr files) in directory configurable by dest parameter. IMO it would be better if one could configure additional parameter, e.g. resourcesOutputDirectory, to be able to separate Java sources from castor resources. To be backward compatible this new parameter could have default value equal to dest parameter.
> Both .class (from generated .java files) and .castor.cdr files are needed at runtime. To get generated Java classes added one can use build-helper-maven-plugin:add-source and configure source folder to be equal to dest of castor-maven-plugin. With just this, .castor.cdr files would not end up discovered as resources. So to get cator-maven-plugin generated resources discovered as resources either maven-resources-plugin needs to be configured (one has to be careful not to forget default resources), or build-helper-maven-plugin - maven-assembly-plugin combination can be used. If there was this additional parameter in castor-maven-plugin generate goal, one could just configure build-helper-maven-plugin:add-resource plugin.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MCASTOR-31) Support specifying output directory for generated resources

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MCASTOR-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187817#action_187817 ]

Stevo Slavic commented on MCASTOR-31:
-------------------------------------

Yes, clear. Created [this|http://jira.codehaus.org/browse/CASTOR-2829] issue at Castor JIRA that this issue depends on. Don't have enough privileges to link the two, or maybe this JIRA version/setup doesn't support linking issues.

> Support specifying output directory for generated resources
> -----------------------------------------------------------
>
>                 Key: MCASTOR-31
>                 URL: http://jira.codehaus.org/browse/MCASTOR-31
>             Project: Maven 2.x Castor Plugin
>          Issue Type: Wish
>          Components: Core MOJOs
>    Affects Versions: 1.5
>            Reporter: Stevo Slavic
>            Assignee: Werner Guttmann
>            Priority: Minor
>
> Generate goal generates all files (.java and .castor.cdr files) in directory configurable by dest parameter. IMO it would be better if one could configure additional parameter, e.g. resourcesOutputDirectory, to be able to separate Java sources from castor resources. To be backward compatible this new parameter could have default value equal to dest parameter.
> Both .class (from generated .java files) and .castor.cdr files are needed at runtime. To get generated Java classes added one can use build-helper-maven-plugin:add-source and configure source folder to be equal to dest of castor-maven-plugin. With just this, .castor.cdr files would not end up discovered as resources. So to get cator-maven-plugin generated resources discovered as resources either maven-resources-plugin needs to be configured (one has to be careful not to forget default resources), or build-helper-maven-plugin - maven-assembly-plugin combination can be used. If there was this additional parameter in castor-maven-plugin generate goal, one could just configure build-helper-maven-plugin:add-resource plugin.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (MCASTOR-31) Support specifying output directory for generated resources

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MCASTOR-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Guttmann updated MCASTOR-31:
-----------------------------------

    Fix Version/s: 2.0

> Support specifying output directory for generated resources
> -----------------------------------------------------------
>
>                 Key: MCASTOR-31
>                 URL: http://jira.codehaus.org/browse/MCASTOR-31
>             Project: Maven 2.x Castor Plugin
>          Issue Type: Wish
>          Components: Core MOJOs
>    Affects Versions: 1.5
>            Reporter: Stevo Slavic
>            Assignee: Werner Guttmann
>            Priority: Minor
>             Fix For: 2.0
>
>
> Generate goal generates all files (.java and .castor.cdr files) in directory configurable by dest parameter. IMO it would be better if one could configure additional parameter, e.g. resourcesOutputDirectory, to be able to separate Java sources from castor resources. To be backward compatible this new parameter could have default value equal to dest parameter.
> Both .class (from generated .java files) and .castor.cdr files are needed at runtime. To get generated Java classes added one can use build-helper-maven-plugin:add-source and configure source folder to be equal to dest of castor-maven-plugin. With just this, .castor.cdr files would not end up discovered as resources. So to get cator-maven-plugin generated resources discovered as resources either maven-resources-plugin needs to be configured (one has to be careful not to forget default resources), or build-helper-maven-plugin - maven-assembly-plugin combination can be used. If there was this additional parameter in castor-maven-plugin generate goal, one could just configure build-helper-maven-plugin:add-resource plugin.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Closed: (MCASTOR-31) Support specifying output directory for generated resources

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MCASTOR-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Guttmann closed MCASTOR-31.
----------------------------------

    Resolution: Fixed

> Support specifying output directory for generated resources
> -----------------------------------------------------------
>
>                 Key: MCASTOR-31
>                 URL: http://jira.codehaus.org/browse/MCASTOR-31
>             Project: Maven 2.x Castor Plugin
>          Issue Type: Wish
>          Components: Core MOJOs
>    Affects Versions: 1.5
>            Reporter: Stevo Slavic
>            Assignee: Werner Guttmann
>            Priority: Minor
>             Fix For: 2.0
>
>
> Generate goal generates all files (.java and .castor.cdr files) in directory configurable by dest parameter. IMO it would be better if one could configure additional parameter, e.g. resourcesOutputDirectory, to be able to separate Java sources from castor resources. To be backward compatible this new parameter could have default value equal to dest parameter.
> Both .class (from generated .java files) and .castor.cdr files are needed at runtime. To get generated Java classes added one can use build-helper-maven-plugin:add-source and configure source folder to be equal to dest of castor-maven-plugin. With just this, .castor.cdr files would not end up discovered as resources. So to get cator-maven-plugin generated resources discovered as resources either maven-resources-plugin needs to be configured (one has to be careful not to forget default resources), or build-helper-maven-plugin - maven-assembly-plugin combination can be used. If there was this additional parameter in castor-maven-plugin generate goal, one could just configure build-helper-maven-plugin:add-resource plugin.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email