Hi All, I have imported the core appfuse entities into my project as per the instructions at:
http://appfuse.org/display/APF/AppFuse+Core+Classes I have modified signup.jsp and userForm.jsp together with the User.java entity. I have manually tested the changes using jetty:run-war and all is well. I added these files to the maven-warpath-plugin section of pom.xml to ensure they were not overwritten by the appfuse originals: <plugin> <groupId>org.appfuse</groupId> <artifactId>maven-warpath-plugin</artifactId> <version>1.0-m5</version> <extensions>true</extensions> <executions> <execution> <goals> <goal>add-classes</goal> </goals> </execution> </executions> <configuration> <warpathExcludes> applicationContext-resources.xml,ApplicationResources*.properties,ehcache.xml, hibernate.cfg.xml,jdbc.properties,log4j.xml,mail.properties,**/persistence.xml, sql-map-config.xml,userForm.jsp,signup.jsp </warpathExcludes> </configuration> </plugin> The problem arises when running the canoo tests, cargo overlays the following jars into tomcat's work directory : [INFO] Expanding: C:\Documents and Settings\cfoy\.m2\repository\org\appfuse\appfuse-spring\2.0-m5\appfuse-spring-2.0-m5.war into c:\STC\Epayments\tmp_repository_checkout\target\war\work\appfuse-spring-2.0-m5 [INFO] Expanding: C:\Documents and Settings\cfoy\.m2\repository\org\appfuse\appfuse-web-common\2.0-m5\appfuse-web-common-2.0-m5.war into c:\STC\Epayments\tmp_repository_checkout\target\war\work\appfuse-web-common-2.0-m5 As a result the original appfuse signup.jsp and userForm.jsp are picked up and my updated canoo tests fails. Has anyone any idea how I can exclude these 2 files from being extracted to tomcat's work directory? I tried adding the files to the <dependentWarExcludes> section of the maven-war-plugin but to no avail: <plugin> <artifactId>maven-war-plugin</artifactId> <version>2.0.2</version> <configuration> <dependentWarExcludes> **/hibernate.cfg.xml,**/sql-map-config.xml,**/web.xml,WEB-INF/classes/META-INF/**,signup.jsp,**/signup.jsp,**/WEB-INF/pages/signup.jsp, userForm.jsp,**/userForm.jsp,**/WEB-INF/pages/userForm.jsp </dependentWarExcludes> </configuration> </plugin> -- View this message in context: http://www.nabble.com/exlude-files-when-expanding-appfuse-spring-2.0-m5.war-during-cargo-setup-tf3972237s2369.html#a11275148 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
