Difference between revisions of "Debugging Posterita With Eclipse"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
 
m
Line 5: Line 5:
 
**Make the Posterita project depend on the ADempiere project in your IDE such as Eclipse
 
**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.
 
**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 [http://sourceforge.net/forum/forum.php?forum_id=672060 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.
+
**If there are bugs highlighted then inform the [http://sourceforge.net/forum/forum.php?forum_id=672060 Posterita forum]. You can do your part by reporting it and perhaps join in the fun of fixing it! This can help you become one of our contributors.
*RUN_DBRestore the DB sample from [http://sourceforge.net/project/showfiles.php?group_id=176962&package_id=225164&release_id=498167 ExpDat.jar]
+
  
 
=Compiling ADempiere=
 
=Compiling ADempiere=
Line 15: Line 14:
  
 
=Debugging Posterita=
 
=Debugging Posterita=
*Now you are ready to run posterta from Eclipse
+
*Now you are ready to run posterita from Eclipse
 
*Set your Eclipse with Tomcat Sysdeo plugin
 
*Set your Eclipse with Tomcat Sysdeo plugin
 
*Set in Eclipse>Window>Preferences>Tomcat>JVM Settings>  
 
*Set in Eclipse>Window>Preferences>Tomcat>JVM Settings>  

Revision as of 08:05, 28 June 2007

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 and perhaps join in the fun of fixing it! This can help you become one of our contributors.

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 posterita 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