Search code examples
javaeclipsesvnsubversiveibm-rad

Using svn versioning between eclipse and ibm rad 8?


I use eclipse and ibm rad 8 and since rad 8 is built on eclipse i should be able to version a project using both IDE:s. So I checked in a project from eclipse to xp-dev.com in svn and checked it out with ibm rad 8 which can't build the project. The views are as follows.

enter image description here

enter image description here enter image description here

When I build from ibm rad this error occurs.

Exception in thread "main" java.lang.NoClassDefFoundError: adventure.Adventure
Caused by: java.lang.ClassNotFoundException: adventure.Adventure
    at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:660)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:626)

What am I doing wrong?

Update

There seems to be an issue with my build path that is defined for Java 7. This is my first Java 7 project and my IDe can't find the version 7 though it's installed at the computer.

enter image description here enter image description here


Solution

  • You should not version your .settings folder. This will be different depending on the location and type of your IDE. This should be added to svn:ignore together with the .classpath and .project files.

    You have to check out your project and configure it for each IDE independently.

    Maven would obviously make your life a lot easier since this can auto configure your project.