Creating WebUI Workspace using Sysdeo Tomcat Plugin

From ADempiere
Jump to: navigation, search

Setting up Adempiere ZK Web UI workspace

July 23, 2008

Contributed by: Ivanceras

Part I. Set up the sysdeo tomcat plugin

  • 1. Download the sysdeo tomcat plugin here [1] and unzipped it to your plugin directory of your Eclipse IDE.
    • Note: You must already have a tomcat installation in your computer.
  • 2. Restart your eclipse IDE, in order to activate the sysdeo tomcat plugin.
  • 3. Open Window>Preference>Tomcat, Set the tomcat home folder

Setting up the ZK webui html 2b97953b.png

Part II. Set up the Adempiere Java Project and the zkwebui tomcat project

  • 4. Set up the Adempiere source as a Java Project. Make sure you’ve checked out the Adempiere trunk stable version, it has zkwebui source folder. If you are using other version, you should copy the zkwebui folder into your Adempiere source folder.

Setting up the ZK webui html m5357d2a9.png

  • 5. Make a Tomcat project with source pointing to the zkwebui folder of the Adempiere source tree,

Setting up the ZK webui html de84289.png

    • name it as zkwebui

Setting up the ZK webui html m54c85aef.png

  • Your IDE should have the two projects as shown.

Setting up the ZK webui html 9120855.png

  • 6. Open the Window > Preferences>Tomcat>Advanced and include the Adempiere_stable as Tomcat classpath

Setting up the ZK webui html m4bbe82ea.png

  • 7. In Tomcat>Source Path, check all the two projects as Java source path.

Setting up the ZK webui html m3004edba.png

  • 8. Edit some of the Files in the zkwebui folder( ie: Desktop.java) of the Adempiere tree, to see if it really works.
    • Note: Editing the zkwebui project also changes the source in the main Adempiere project, since they point to the same source folder.

Setting up the ZK webui html m4fa53f55.png

  • 9. Restart Sysdeo Tomcat plugin and open the project in the browser

Setting up the ZK webui html m1507f78b.png

  • Document version: [2]

Special Thanks