From: Adam W. <awi...@ro...> - 2002-09-20 02:20:40
|
> I'm running Eclipse 2.1 (20020919) under OS X, and having > problems with > the code currently in CVS. The first problem is in > TC_RubyProject.java, which indirectly references > org.xml.sax.ContentHandler. I'm guessing that this worked under JDK > 1.4 since it includes xerces. Anoop, I am also running 2.1 with no problems. The references to org.xml.sax are satisfied with the dependence on the plugin org.apache.xerces. Be sure to import this (in binary form through the Plugin import option under File > Import...) into your workspace, or recompute your classpath for the project (right click on plugin.xml, you will see Update Classpath) if you do not want to import any plugins. All of the .classpath files in the repository depend on your workspace having pretty much all eclipse core projects imported into the workspace. > > The second Problem is that ShamLaunchConfiguration implements > ILaunchConfiguration which extends IAdaptable which has an abstract > method getAdapter(Class) which is not implemented by > ShamLaunchConfiguration. The javadocs indicate that this should also > be an issue in 2.0, so I don't believe it's particular to my > configuration. Hmmm. The code in revision 1.1 of org.rubypeople.eclipse.shams.debug.core.ShamLaunchConfiguration in the project org.rubypeople.eclipse.shams has this method implemented. It currently throws RuntimeException, as no code that I know of calls it yet. I have just in the last couple hours released more code into the repository. It is the stuff you gave me, plus a bit of reorganizing. I am in the process of moving all of the test classes out of the production projects into corresponding .tests projects, so you should browse the repository and grab those new projects (and the latest of the ones you have). I have figured out how to test with the PDE Test Unit and plan to focus heavily on testing Eclipse plugins. Maybe we could write a book someday? Hope this helps! Adam Williams |