[
http://jira.codehaus.org/browse/ARCHETYPE-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason van Zyl closed ARCHETYPE-50.
----------------------------------
Resolution: Fixed
Implemented in ArchetypeNG.
> archetype:create-from-project
> -----------------------------
>
> Key: ARCHETYPE-50
> URL: http://jira.codehaus.org/browse/ARCHETYPE-50
> Project: Maven Archetype
> Issue Type: Improvement
> Components: Creator
> Environment: winxpsp2
> jdk1.5
> maven2.0.4
> Reporter: Adam Leggett
> Assignee: Jason van Zyl
> Attachments: archetype-creator-src.zip
>
>
> I've created a prototype patch for the create-from-project ArchetypeCreator
> impl.
> I was hoping to work out how to invoke this using -DarchetypeCreator= at the
> cli but am not sure as yet.
> I created a template method in an abstract class to define the steps in
> creation so i could understand it better. Also with one eye on doing a
> multi-mod implementation. Also refactored some of the logic into a utility so
> the main creator class is cleaner.
> Code attached.
--
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