Nothing's a bad idea if it's useful for users. Here's what you'd likely need to do:
1. Copy the project directory to another directory at the same level. 2. Change the groupId in the master pom.xml to the new package name 3. Change the artifactId in the master pom.xml to the new project name 4. Run "mvn appfuse:rename-packages" to rename the packages I'm not sure if Step 4 will work, but I don't see any reason why it shouldn't. Of course, we could probably add this as a mojo to AMP, so you could do "appfuse:new". Matt On Fri, Apr 4, 2008 at 10:01 AM, Luke Shannon <[EMAIL PROTECTED]> wrote: > Thats what I was looking for, I tried it as well (I have 2.07) and got > the same error. Is the idea of adding the ant task that did this in > 1.x a bad idea? > > > > On Fri, Apr 4, 2008 at 11:56 AM, Matt Raible <[EMAIL PROTECTED]> wrote: > > Are you asking if it has the ability to create a new project from an > > existing one? If so, it "might". The archetype plugin is supposed to > > allow you to run "mvn archetype:create-from-project". > > > > I tried it and got: > > > > [INFO] Cannot create archetype from this project. > > > > Embedded error: > > /Users/mraible/myproject/src/main/archetype/archetype.properties (No > > such file or directory) > > > > However, I currently have Maven 2.0.6 installed and I believe it might > > require 2.0.8. > > > > Matt > > > > > > > > On Fri, Apr 4, 2008 at 9:47 AM, Luke Shannon <[EMAIL PROTECTED]> wrote: > > > Does Appfuse 2.x have a copy files feature like 1.x did (the target > > > was called 'new' in the build file)? > > > > > > I think I read somewhere 2.x has ant support. Should I just lift the > > > build.xml from 1.x and add it to my 2.x project get this > > > functionality? > > > > > > Is there a tutorial or article on adding ant to 2.x? > > > > > > Thanks > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]