You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ioannis Canellos (Created) (JIRA)" <ji...@apache.org> on 2011/10/24 14:47:32 UTC

[jira] [Created] (CAMEL-4578) Camel component for archetype could accept as property the name of the component and the default scheme.

Camel component for archetype could accept as property the name of the component and the default scheme.
--------------------------------------------------------------------------------------------------------

                 Key: CAMEL-4578
                 URL: https://issues.apache.org/jira/browse/CAMEL-4578
             Project: Camel
          Issue Type: Improvement
            Reporter: Ioannis Canellos
            Assignee: Ioannis Canellos
             Fix For: 2.9.0


Currently the component archetype generates a component named HelloWorld and there is no easy way to change it. You need to create the project and then refactor it, and also refactor comments for javadoc etc.

It would be really nice if there was a property you could use so that the archetype can create the component as the user intends, without the need of refactoring.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4578) Camel component for archetype could accept as property the name of the component and the default scheme.

Posted by "Ioannis Canellos (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated CAMEL-4578:
------------------------------------

    Attachment: CAMEL-4578-patch.txt

I am attaching a patch which adds the ability to specify name and scheme while creating the component using the archetype. It defaults to name=HelloWorld and scheme=helloworld which are the current defaults.

Example usage:
mvn archetype:generate   -DarchetypeGroupId=org.apache.camel.archetypes  -DarchetypeArtifactId=camel-archetype-component -DarchetypeVersion=2.9-SNAPSHOT -Dname=Awsome -Dscheme=awsome
                
> Camel component for archetype could accept as property the name of the component and the default scheme.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4578
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4578-patch.txt
>
>
> Currently the component archetype generates a component named HelloWorld and there is no easy way to change it. You need to create the project and then refactor it, and also refactor comments for javadoc etc.
> It would be really nice if there was a property you could use so that the archetype can create the component as the user intends, without the need of refactoring.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4578) Camel component for archetype could accept as property the name of the component and the default scheme.

Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4578.
--------------------------------

    Resolution: Fixed

Thanks for the patch.
                
> Camel component for archetype could accept as property the name of the component and the default scheme.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4578
>             Project: Camel
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4578-patch.txt
>
>
> Currently the component archetype generates a component named HelloWorld and there is no easy way to change it. You need to create the project and then refactor it, and also refactor comments for javadoc etc.
> It would be really nice if there was a property you could use so that the archetype can create the component as the user intends, without the need of refactoring.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4578) Camel component for archetype could accept as property the name of the component and the default scheme.

Posted by "Claus Ibsen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-4578:
-------------------------------

    Component/s: tooling
    
> Camel component for archetype could accept as property the name of the component and the default scheme.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4578
>             Project: Camel
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4578-patch.txt
>
>
> Currently the component archetype generates a component named HelloWorld and there is no easy way to change it. You need to create the project and then refactor it, and also refactor comments for javadoc etc.
> It would be really nice if there was a property you could use so that the archetype can create the component as the user intends, without the need of refactoring.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4578) Camel component for archetype could accept as property the name of the component and the default scheme.

Posted by "Ioannis Canellos (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134858#comment-13134858 ] 

Ioannis Canellos commented on CAMEL-4578:
-----------------------------------------

Also updated the documentation. 
                
> Camel component for archetype could accept as property the name of the component and the default scheme.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4578
>             Project: Camel
>          Issue Type: Improvement
>          Components: tooling
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.0
>
>         Attachments: CAMEL-4578-patch.txt
>
>
> Currently the component archetype generates a component named HelloWorld and there is no easy way to change it. You need to create the project and then refactor it, and also refactor comments for javadoc etc.
> It would be really nice if there was a property you could use so that the archetype can create the component as the user intends, without the need of refactoring.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira