Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369934 - Gemini Naming tests execution fails with: org.eclipse.gemini.naming.impl.bundle-Incubation-1.0-SNAPSHOT.jar (The system cannot find the path specified)
Summary: Gemini Naming tests execution fails with: org.eclipse.gemini.naming.impl.bund...
Status: RESOLVED FIXED
Alias: None
Product: Gemini.Naming
Classification: RT
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.0.0.M02   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 370153
  Show dependency tree
 
Reported: 2012-01-27 10:03 EST by Violeta Georgieva CLA
Modified: 2012-03-21 14:14 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.