Raible's Wiki
Raible Designs AppFuseHomepage- Korean - Chinese - Italian - Japanese QuickStart Guide User Guide Tutorials Other ApplicationsStruts ResumeSecurity Example Struts Menu
Set your name in
UserPreferences
Referenced by
JSPWiki v2.2.33
Hide Menu |
This is version 72.
It is not the current version, and thus it cannot be edited. 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.
Optional Installations
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. To do this, go to the package view, click on a package name and right click -> Refactor -> Rename. Type in "*.xml,*.properties,*.xdt" for File name patterns to search in.
By adding "*.xml,*.properties,*.xdt" to the File name patterns field in the Rename Package wizard, the following files should be changed as well. If you're not using Eclipse or something isn't working right - you might want to ensure the "org.appfuse" has been changed to "com.company" in the following files: - metadata/web/global-exceptions.xml - web/WEB-INF/tiles-config.xml - web/WEB-INF/classes/log4j.properties - web/WEB-INF/validator-rules-custom.xml - src/service/com/company/service/applicationContext-service.xml - src/dao/com/company/dao/hibernate/applicationContext-hibernate.xml - metadata/templates/struts_form.xdt You'll need to manually change the location of the Hibernate mapping files in the applicationContext-hibernate.xml file (location listed above). Basically, "org/appfuse" needs to be changed to "com/company". You'll also need to change a few targets in build.xml to refer to the new package names. These targets/changes are listed below: - junitdoclet-module - change org.* to com.* - javadoc - change org.* to com.* If you rename the org.appfuse.webapp.form package to, say test.web.form, you also have to edit the ConverterUtil in the src/service package. Method getOpposingObject is your friend, take a look at
|