We can deploy the iDempiereGWT to the Web using the latest Tomcat 7. With some twigs solved
along the way, I have created and uploaded the WAR below, (No i do not mean the war
) and some basic guide here to use it.
1. You still setup your ADempiere the normal way. Just that you won't be needing your bloated binary and JBoss application server. Just maintain the same adempiere properties and database.
2. Setup Tomcat server and launch it. Place the WAR
in the webapps folder and it will extracts itself and you can see its contents as shown below.
3. Via the browser pointing to your Tomcat manager, notice the iDempiere application is started. Just click on its path link on the left and it shall open up the GWT UI in your Firefox browser.
To create the war, there is a WarBuilder.xml to create automatically, even deploy it direct to your Tomcat/WebApps/ folder.
Prior to building the war, you should have the GWT source made into a JAR in the LIB folder. That is also automatically done by launching the iD.jardesc as shown below.
The ADempiere jars inside the LIB folder are the latest as in SourceForge Download
. You can replace them with your own ADempiere jars (after Step 2 above).
I have uploaded the iDempiereGWT.war
r and the tools to build them (WarBuilder.XML
) to my trunk
If you are a normal user, then the iDempiereGWT.war running on your own instance is all you need. If you are a developer wishing to help me, then you can change the rest via the source
. Please join in and give your valuable support.NOTE to developers: Whenever you change anything in your GWT source in Eclipse, you just need to run the iD.jardesc and take the iD.jar and replace it in your Tomcat>WebApp>iDempiereGWT>WEB-INF>lib location. Then press the stop and start or reload buttons of the app in the Tomcat manager panel for iDempiereGWT. Then refresh your browser and the change appears. No stopping of the Tomcat service is necessary.NOTE to users: At the moment to speed up things, i compiled the GWT to work on Gecko or FireFox browser. If you need it for other browsers just recompile in Eclipse but with the 'gecko' line removed in the gxt.xml file.