Hi, I have the exact same problem trying to run full-source on an existing spring-mvc modular project.
Over time, I have modified the pom.xml quite extensively. So, possibly, the issue lies there. I also don't extend the Base object anymore. Since it is hard to debug this kind of problem, what is supposed to happen in the updated dependencies in pom.xml? And what happens after? Can I do this manually? Cheers, Marc mraible wrote: > > On 6/11/07, thinkboy <manchi.leung+n...@gmail.com> wrote: >> >> hi, >> >> I recreate acrhetype from scratch. it is working fine now. >> i guess , previously, the error was about: Yeehaw - it worked! >> Unfortunately, this plugin doesn't rename packages yet, but it will in >> 2.0 >> Final !! ? >> >> sorry, I am a bit of confuse, do I need to set <amp.fullSource> to true ? > > If you change the package names and want to use code generation, then > yes you should set this to true. When it's true, it uses your groupId > as the package name for AppFuse classes. When it's false, it uses > org.appfuse. > > Matt > >> >> >> $mvn archetype:create -DarchetypeGroupId=org.appfuse >> -DarchetypeArtifactId=appfuse-basic-spring >> -DremoteRepositories=http://static.appfuse.org/repository >> -DarchetypeVersion=2.0-m5 -DgroupId=com.rosonix -DartifactId=healthcare >> >> $mvn integration-test >> $mvn clean install eclipse:eclipse >> $mvn appfuse:full-source >> >> [INFO] [AppFuse] Removing maven-warpath-plugin... >> [INFO] [AppFuse] Getting properties from 'appfuse' module... >> [INFO] [AppFuse] Updated dependencies in pom.xml... >> [INFO] [AppFuse] Yeehaw - it worked! Unfortunately, this plugin doesn't >> rename packages yet, but it will in 2.0 Final >> [INFO] [AppFuse] If you manually rename your packages, make sure and set >> <amp.fullSource> to true. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD SUCCESSFUL >> >> >> >> >> >> thinkboy wrote: >> > >> > i used the following archetype : spring mvc basic >> > >> > $mvn archetype:create -DarchetypeGroupId=org.appfuse >> > -DarchetypeArtifactId=appfuse-basic-spring >> > -DremoteRepositories=http://static.appfuse.org/repository >> > -DarchetypeVersion=2.0-m5 -DgroupId=com.mydomain >> -DartifactId=healthcare >> > >> > i only added additional tomcat plugin in pom.xml: nothing else that I >> > have changed :-( >> > pls help >> > >> > <!-- Cargo settings --> >> > <cargo.container>tomcat5x</cargo.container> >> > <cargo.container.home> >> > ${env.CATALINA_HOME} >> > </cargo.container.home> >> > <cargo.container.url> >> > >> > >> http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.zip >> > </cargo.container.url> >> > <cargo.host>localhost</cargo.host> >> > <cargo.port>8081</cargo.port> >> > <cargo.wait>false</cargo.wait> >> > >> > >> > mraible wrote: >> >> >> >> Can you provide the steps to reproduce this problem? What archetype >> >> did you use to create your project? >> >> >> >> Matt >> >> >> >> On 6/11/07, thinkboy <manchi.leung+n...@gmail.com> wrote: >> >>> >> >>> hi >> >>> I encountered error when trying to do AppFuse's source into my >> project >> >>> pls help >> >>> $mvn appfuse:full-source >> >>> >> >>> [INFO] [appfuse:full-source] >> >>> [INFO] [AppFuse] Installing source from data modules... >> >>> [INFO] [AppFuse] Installing source from service module... >> >>> [INFO] [AppFuse] Installing source from web-common module... >> >>> [INFO] [AppFuse] Installing source from spring module... >> >>> [INFO] [AppFuse] Source successfully exported, modifying pom.xml... >> >>> [INFO] [AppFuse] Removing maven-warpath-plugin... >> >>> [INFO] [AppFuse] Adding dependencies from 'root' module... >> >>> [INFO] [AppFuse] Adding dependencies from 'hibernate' module... >> >>> [INFO] [AppFuse] Adding dependencies from 'service' module... >> >>> [INFO] [AppFuse] Adding dependencies from 'web-common' module... >> >>> [INFO] [AppFuse] Adding dependencies from 'spring' module... >> >>> [INFO] [AppFuse] Removing maven-warpath-plugin... >> >>> [INFO] [AppFuse] Getting properties from 'appfuse' module... >> >>> [INFO] [AppFuse] Updated dependencies in pom.xml... >> >>> [INFO] >> >>> >> ------------------------------------------------------------------------ >> >>> [ERROR] FATAL ERROR >> >>> [INFO] >> >>> >> ------------------------------------------------------------------------ >> >>> [INFO] String index out of range: -1 >> >>> [INFO] >> >>> >> ------------------------------------------------------------------------ >> >>> [INFO] Trace >> >>> java.lang.StringIndexOutOfBoundsException: String index out of range: >> -1 >> >>> at java.lang.String.substring(String.java:1768) >> >>> at >> >>> >> org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMojo.java:208) >> >>> at >> >>> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) >> >>> at >> >>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) >> >>> at >> >>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) >> >>> at >> >>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) >> >>> at >> >>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) >> >>> at >> >>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) >> >>> at >> >>> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) >> >>> at >> >>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) >> >>> at >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) >> >>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) >> >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method) >> >>> at >> >>> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> >>> at >> >>> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> >>> at java.lang.reflect.Method.invoke(Method.java:585) >> >>> at >> >>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> >>> at >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> >>> at >> >>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> >>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> >>> -- >> >>> View this message in context: >> >>> >> http://www.nabble.com/error-in-%24mvn-appfuse%3Afull-source-tf3900858s2369.html#a11058466 >> >>> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >>> >> >>> --------------------------------------------------------------------- >> >>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> >>> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >>> >> >>> >> >> >> >> >> >> -- >> >> http://raibledesigns.com >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >> >> >> >> >> >> > >> > >> >> -- >> >> View this message in context: >> http://www.nabble.com/error-in-%24mvn-appfuse%3Afull-source-tf3900858s2369.html#a11072910 >> >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > > > -- View this message in context: http://www.nabble.com/error-in-%24mvn-appfuse%3Afull-source-tp11058466s2369p21762280.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net