Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369934

Summary: Gemini Naming tests execution fails with: org.eclipse.gemini.naming.impl.bundle-Incubation-1.0-SNAPSHOT.jar (The system cannot find the path specified)
Product: [RT] Gemini.Naming Reporter: Violeta Georgieva <milesg78>
Component: CoreAssignee: Project Inbox <gemini.naming-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: michael.keith
Version: unspecified   
Target Milestone: 1.0.0.M02   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 370153    

Description Violeta Georgieva CLA 2012-01-27 10:03:47 EST
Hi,

When I tried to build Gemini Naming, the tests build failed with the following:

Tests in error:
  testServiceAvailable(org.eclipse.gemini.naming.test.ContextAdminTestCase): C:\<path>\org.eclipse.gemini.naming.impl.bundle-Incubation-1.0-SNAPSHOT.jar (The system cannot find the path specified)
  testGetObjectInstance(org.eclipse.gemini.naming.test.ContextAdminTestCase)
  testGetObjectInstanceWithAttributes(org.eclipse.gemini.naming.test.ContextAdminTestCase)


I would like to propose the following patch:


Index: NamingTestCase.java
===================================================================
--- NamingTestCase.java	(revision 14)
+++ NamingTestCase.java	(working copy)
@@ -33,7 +33,7 @@
 
 public abstract class NamingTestCase extends AbstractConfigurableBundleCreatorTests {
 
-	private static String VERSION = "1.0-SNAPSHOT";
+	private static String VERSION = "1.0.0-SNAPSHOT";
 	
 	private Map m_mapOfServicesToRegistrations = 
 		new HashMap();
@@ -77,7 +77,7 @@
 	 * Declaratively specify the dependency on the Gemini Naming implementation bundle.  
 	 */
 	protected String[] getTestBundlesNames() {
-        return new String[]{ "org.eclipse.gemini.naming, org.eclipse.gemini.naming.impl.bundle-Incubation," + VERSION };
+        return new String[]{ "org.eclipse.gemini.naming, org.eclipse.gemini.naming," + VERSION };
     }
 
 
Regards
Violeta Georgieva
Comment 1 Michael Keith CLA 2012-02-02 15:33:45 EST
Build has been fixed.