Debugging Posterita With Eclipse

From ADempiere
Revision as of 12:15, 26 June 2007 by Red1 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.

Getting the source right

  • Obtain the latest source from http://adempiere.svn.sourceforge.net/svnroot/adempiere
    • Get Adempiere from trunk
    • Get Posterita from contributions/posterita
    • Make the Posterita project depend on the ADempiere project in your IDE such as Eclipse
    • Remove the ADempiere.jars from the Posterita/WEB-INF/lib/ . This is to ensure you have the latest synched codes checked.
    • If there are bugs highlighted then inform the Posterita forum. You can do your part by reporting it! If you know how to fix it, our response there can help you become one of our contributors.
  • RUN_DBRestore the DB sample from ExpDat.jar

Compiling ADempiere

  • Compile ADempiere to get the jars by RUN_Build.
  • Place jars in Posterita/WEB-INF/lib/
    • ADempiere.jar
    • AdempiereApps.jar

Debugging Posterita

  • Now you are ready to run posterta from Eclipse
  • Set your Eclipse with Tomcat Sysdeo plugin
  • Set in Eclipse>Window>Preferences>Tomcat>JVM Settings>
    • Append to JVM Parameters: -DPropertyFile=G:/Adempiere/Adempiere.properties
  • Clear the work folder contents in your workspace path or posterita/work
  • Launch Tomcat from Eclipse
  • From Web Browser point to your URL:port/posterita
  • Note the console prompts in Eclipse
  • Put breaks to debug