PDE builder and DEBUG
6 Great Links for Eclipse Build Automation with PDE Build
http://eclipsenuggets.blogspot.com/2007/09/6-great-links-for-eclipse-build.htmlGetting Auto-Resizing TableColumns the Easy Way
Build update site: http://dev.eclipse.org/newslists/news.eclipse.platform/msg25629.html
TO DEBUG:
Create Debug Launch Configuration
- §Select “Debug as >Ant Build..” from context menu of PDE Build’s scripts\build.xml file in the package explorer. Select the second “Ant Build”.
- §Select the “Main” tab and set the Base Directory to “${workspace_loc:/org.eclipse.pde.build/scripts}”
- §Select the “Build” tab and deselect “Build before launch”
- §Select the “JRE” tab and select “Run in the same JRE as the workspace”.
- §Select the “Properties” tab
- §Deselect “Use Global properties…”.
- §Add a property named “builder”. Set value to the path to the root of the jdt-builder-sample project on your file system.
- §Add a property “eclipse.running”. Set value to “true” if not already set.
- §Click Debug. Run to each breakpoint or step through as you wish.
Otherwise, all pluins will be exported as jar. Even the native library fragments, then Eclipse can not find the *.dll *.so from the jar, then built product can not startup.
The error message will be :
*The
Which implies that either that launcher fragment does not exist, or that it is not in folder form (the launcher can't get the library out of a jar).
