Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update Abbot for SWT co location for project changes in Debugging Abbot code section

...

Sometimes it is helpful to step though the Abbot code to figure out what it is expecting. In order to do this, you will need to get the source code and import it into Eclipse. Abbot for SWT has been split out to its own project.

  1. svn co https://abbotabbotforswt.svn.sourceforge.net/svnroot/abbotabbotforswt/abbot.swt/trunk/Image Modified c:\abbot
  2. Create folder c:\abbot\abbot.plain (must be named abbot.plain)
  3. svn co https://abbot.svn.sourceforge.net/svnroot/abbot/abbot/trunk c:\abbot\abbot.plain
  4. In c:\abbot\abbot.plain, call "ant"
  5. In c:\abbot\abbot.swt, call "ant -f setup.xml" to create the c:\abbot\abbot.swt\lib\abbot.jar
  6. Copy from C:\abbot\abbot.plain\lib\ to C:\abbot\abbot.swt\lib\ the following jars: bsh-2.0b4.jar, gnu-regexp-1.1.0.jar, jdom-1.0.jar, xercesImpl-2.8.1.jar, xml-apis.jar
  7. Download MRJToolKitStubs.zip from http://developer.apple.com/samplecode/MRJToolkitStubs/index.html into C:\abbot\abbot.swt\lib\
  8. To make sure that the source you debug with matches the source in the abbot.jar, copy the code from abbot.swt.0.1.0.200800305_1254 src.zip (can also be found in the downloadable version of abbot.swt from sourceforge.net) into c:\abbot\abbot.swt\src directory.
  9. Import abbot.swt project into eclipse
  10. Ensure that all the .jars and the .zip from above are on the LIbraries path and the Order and Export Page
  11. In the MANIFEST.MF, add all available packages to the Exported Packages list. For the classpath, remove the "." library. Also add a new AbbotSWTplugin.jar and the jars and zip from above.