You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/04/03 09:46:44 UTC

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

     [ http://jira.codehaus.org/browse/ARCHETYPE-14?page=all ]
     
Brett Porter closed ARCHETYPE-14:
---------------------------------

      Assign To: Brett Porter  (was: Jason van Zyl)
     Resolution: Fixed
    Fix Version: 1.0-alpha-4

was partially facilitated by some work I'd already done, so continued with that. Didn't apply path, but thanks!

> Archtype:create does not 
> -------------------------
>
>          Key: ARCHETYPE-14
>          URL: http://jira.codehaus.org/browse/ARCHETYPE-14
>      Project: Maven Archetype
>         Type: Improvement

>   Components: Plugin
>     Reporter: Eric Redmond
>     Assignee: Brett Porter
>     Priority: Minor
>      Fix For: 1.0-alpha-4
>  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