Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
AppFuse
AppFuse_jp
AppFuse_zh
Articles
CreateAnAJAXBasedFil...
Downloads
LeftMenu
Main




JSPWiki v2.2.33

[RSS]


Hide Menu

AppFuseQuickStart


Difference between version 25 and version 24:

At line 15 changed 1 line.
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" for ''File name patterns'' to search in.
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.
At line 17 changed 1 line.
You'll also need to change the "javadoc" target in build.xml to looking for "com.*" rather than "org.*".
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:
At line 19 changed 3 lines.
Other files you'll need to change package names in are:
* metadata/web/global-exceptions.xml
* web/pages/uploadForm.jsp
{{{* metadata/web/global-exceptions.xml
At line 23 removed 2 lines.
* web/WEB-INF/validator-rules-custom.xml
* web/WEB-INF/classes/hibernate.cfg.xml
At line 22 added 10 lines.
* web/WEB-INF/validator-rules-custom.xml
* src/service/com/company/service/applicationContext-service.xml
* src/dao/com/company/persistence/hibernate/applicationContext-hibernate.xml
* metadata/templates/struts_form.xdt}}}
You'll also need to change a few targets in build.xml to refer to the new package names. These targets are listed below:
{{{* compile-service - change org/appfuse to com/company
* junitdoclet-module - change org.* to com.*
* javadoc - change org.* to com.*}}}

Back to AppFuseQuickStart, or to the Page History.