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.
 
(Compiling ADempiere)
 
(One intermediate revision by the same user not shown)
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 13: Line 12:
 
**ADempiere.jar
 
**ADempiere.jar
 
**AdempiereApps.jar
 
**AdempiereApps.jar
 +
**CSTools
 +
**CCTools
  
 
=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>  

Latest revision as of 18:52, 5 July 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
    • CSTools
    • CCTools

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