Shash, I'm having the exact same problem PSI mentions in his post. I have followed the instructions precisely as you specified -- multiple times to be sure -- with the same effect. The only difference between our two choices of configurations is that I specified the Spring MVC Modular archetypes. But, as a test, I attempted the same instructions with the Struts 2 Modular archetype, and get the same problem.
Any ideas? --Ed BTW, I'm definitely new to AppFuse, but I am really enjoying my initial research here. Shash: I had made same setup as you had specified, but i am getting following exception when i run mvn install eclipse:eclipse ....any idea about this? following is directory structure: development root : c\dev\Workspace --project + pom + core + web Well, i am trying to use Spring MVC or JSF modular model. Thanks, Anil [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Could not find the model file 'C:\dev\Workspace\myproject\pom\core\pom .xml'. at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) 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:597) 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) Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the model file 'C:\dev\Workspace\myproject\ pom\core\pom.xml'. at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1313) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.ja va:429) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:195) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:455) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:499) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:359) ... 11 more Caused by: java.io.FileNotFoundException: C:\dev\Workspace\myproject\pom\core\pom.xml (The system cannot find the path s pecified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileReader.<init>(FileReader.java:55) at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1308) ... 18 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Sat Mar 03 08:47:36 PST 2007 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ Shash Chaterjee wrote: > > Mike, > > Understood, thanks for the explanation. At this point, as you suggest, > mvn has done it's trick and I am letting Eclipse use the WEB-INF as > expanded by mvn, so it should be working. WTP, I believe, has some notion > of dependent projects and it knows (maybe) how to accept contributions > from other projects into the final webapp. I'll look into that next. > > Of course, I could depend on mvn doing the work after I change a JSP or > something in a project, but that defeats the quick response from > hot-deploy capabilities of the server. Or, I could edit the JSP in the > assembly created by mvn, which would work, but from past experience, I > often forget to copy it back to the correct project and end up loosing > work! > > Anyway, will let you know how I fare. > > Shash > > > > Michael Horwitz wrote: >> >> >> >> >> AppFuse 2.0 uses the overlay[1] feature of the Maven WAR plugin, which is >> probably going to be tricky to replicate in an IDE build. Basically it >> merges the contents of dependent war files with the project to build the >> final, deployable war. The warpath jar files are created purely to make >> the >> contents of the WEB-INF/classes directory of all dependent war files >> available on the compile classpath for the other steps in the build. They >> should not form part of the final build, rather the IDE build tools >> should >> emulate the war overlay capabilities of the Maven war plugin - the >> easiest >> way to do this might be to delegate to Maven to do the build rather than >> rely on the IDE tools. >> >> Mike >> [1]http://maven.apache.org/plugins/maven-war-plugin/examples/war- >> overlay.html >> >> >> > > -- View this message in context: http://www.nabble.com/Appfuse-M3-and-Eclipse-help-tf3245072s2369.html#a9488375 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]