Better detection of jar/dir classpath to fix 3 regressions in IncrementalTests (those that actually run the program using an OTLaunchEnvironment).
diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTLaunchEnvironment.java b/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTLaunchEnvironment.java
index ed1b723..e6e4f37 100644
--- a/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTLaunchEnvironment.java
+++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTLaunchEnvironment.java
@@ -71,7 +71,7 @@
 	static URL getOTREURL() throws MalformedURLException {
 		IClasspathEntry[] entries = new OTREContainer().getClasspathEntries();
 		String url = "file:"+entries[0].getPath();  //$NON-NLS-1$
-		if (url.endsWith("bin"))  //$NON-NLS-1$
+		if (!url.endsWith(".jar"))  //$NON-NLS-1$
 			url += '/';
 		return new URL(url);
 	}