AppFuseQuickStart |
|
Your trail: |
This is version 2.
It is not the current version, and thus it cannot be edited.
[Back to current version]
[Restore this version]
AppFuse's main purpose is to help you quickly accelerate the start of your webapp. Here are the basic steps to creating a new project with it.
- Download the source version or CVS version.
- Install J2EE 1.4, set a J2EE_HOME variable, install Java, set a JAVA_HOME variable, install Ant, set a ANT_HOME variable.
- Install MySQL and Tomcat 4.1.x+.
- Setup an SMTP server or change mail.properties (in the root) to point to an existing one - it defaults to localhost
- Copy lib/junit3.8.1/junit.jar to $ANT_HOME/lib.
- Run "ant new -Dapp.name=YOURAPPNAME -Ddb.name=YOURDBNAME". This will create a directory named YOURAPPNAME in the same directory as appfuse.
- Navigate to the new directory and run "ant setup-db setup-tomcat deploy" to setup your app on Tomcat. If you want to test and make sure everything works, run "ant test-all" - make sure Tomcat is stopped when you do this.
Usually, after you get all this to work - it's likely you'll want to change all your package names to "com.company" rather than "org.appfuse". I use Eclipse to rename packages. You'll also need to change the "javadoc" target in build.xml to looking for "com.*" rather than "org.*".
|