The following lists my steps (summary only) on the Quick Start Guide
(http://appfuse.org/display/APF/AppFuse+QuickStart).

The steps in bold are missing from the guide. I am not sure if they are the
best solutions, however, It took me a while to figure them (the steps in
bold) out.

* Use Archetype "Struts2 Modular": \\
  mvn archetype:create -DarchetypeGroupId=org.appfuse
-DarchetypeArtifactId=appfuse-modular-struts
-DremoteRepositories=http://static.appfuse.org/repository
-DarchetypeVersion=1.0-m4-SNAPSHOT -DgroupId=com.mycompany
-DartifactId=myproject

* To change mysql root's password in appfuse, modify the <jdbc.username> and
<jdbc.password> properties in your project's pom.xml (at the bottom).

* Run mvn integration-test in your project's directory to download JARs,
Tomcat and run the integration tests in your project.

* Install the missing artifact com.mycompany:myproject-core:jar:1.0-SNAPSHOT
** In ......\AppFuse2\myproject\core: \\
   mvn install:install-file -DgroupId=com.mycompany
-DartifactId=myproject-core -Dversion=1.0-SNAPSHOT -Dpackaging=jar
-Dfile=target/myproject-core-1.0-SNAPSHOT.jar

* cd web/ and execute "mvn jetty:run-war":
** Maven will start Jetty and you should be able to view your application in
your browser at http://localhost:8080.
** to stop jetty: Ctrl+c

* Eclipse:
** [http://appfuse.org/display/APF/Eclipse]


* To override files from AppFuse:
** cd web
** mvn war:inplace
** This will extract the dependent WARs into web/src/main/webapp/*
** No need to execute "mvn war:inplace" under myproject/ nor myproject/core/
** rm -r web/src/main/webapp/WEB-INF/lib
** rm web/src/main/webapp/WEB-INF/classes/struts.xml
** mvn jetty:run
** At this moment, I am not sure if we still need the dependencies of
appfuse-struts as described in myproject/web/pom.xml
-- 
View this message in context: 
http://www.nabble.com/Comments-on-Quick-Start-Guide-of-AppFuse2-tf3347079s2369.html#a9307019
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to