You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Eric Redmond (JIRA)" <ji...@codehaus.org> on 2005/11/11 00:41:06 UTC

[jira] Created: (ARCHETYPE-14) Archtype:create does not

Archtype:create does not 
-------------------------

         Key: ARCHETYPE-14
         URL: http://jira.codehaus.org/browse/ARCHETYPE-14
     Project: Maven Archetype
        Type: Improvement
  Components: maven-archetype-plugin  
    Reporter: Eric Redmond
 Assigned to: Jason van Zyl 
    Priority: Minor
 Attachments: maven-archtype-core-default.patch

When one types 'archetype:create' within a base directory, it builds the directory as expected. However, if allowPartial is turned on, one would expect that typing 'archetype:create' again would write into the existing directory, which it does not. It requires you to cd into the generated directory to run the command again.

This patch adds another case to DefaultArchetype to allow it to be ran in the following ways:
* Within a base directory which does not contain the specified artifactId'd project (generate a new one).
* Within the directory that currently exists as the specified artifactId (write over an old version).
* Within the parent directory of the artifactId directory (write over an old version).


-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org