Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Kapukaranov2012-08-23 09:39:08 -0400
committerBorislav Kapukaranov2012-08-23 09:39:49 -0400
commit6f85544e0ff5a77e7c166d1970647b09ca285c89 (patch)
tree75377035b28fb86d633ab2db3fa037731746bf55 /org.eclipse.virgo.kernel.artifact
parent71ba700b7f8269279b1f2b0f476e5dfaca03b8b2 (diff)
downloadorg.eclipse.virgo.kernel-6f85544e0ff5a77e7c166d1970647b09ca285c89.tar.gz
org.eclipse.virgo.kernel-6f85544e0ff5a77e7c166d1970647b09ca285c89.tar.xz
org.eclipse.virgo.kernel-6f85544e0ff5a77e7c166d1970647b09ca285c89.zip
287886 - Fixed a malformed URL error in the unit tests
Diffstat (limited to 'org.eclipse.virgo.kernel.artifact')
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/StubBundleArtefactBridge.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/StubBundleArtefactBridge.java b/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/StubBundleArtefactBridge.java
index 8ca41931..971e4f06 100644
--- a/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/StubBundleArtefactBridge.java
+++ b/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/StubBundleArtefactBridge.java
@@ -64,7 +64,7 @@ final public class StubBundleArtefactBridge implements ArtifactBridge {
private final static RepositoryAwareArtifactDescriptor TEST_DIRECTORY_ARTEFACT = new StubRepositoryAwareArtifactDescriptor(TEST_DIRECTORY_URI, "y.different", new Version("1.2.3"), TEST_ATTRIBUTE_SET_DIRECTORY);
- private final static URI TEST_FILE_URI = URI.create("file:/" + System.getProperty("user.home") + "/virgo-build-cache/ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.dbcp/1.2.2.osgi/" + "com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar");
+ private final static URI TEST_FILE_URI = new File(System.getProperty("user.home") + "/virgo-build-cache/ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.dbcp/1.2.2.osgi/" + "com.springsource.org.apache.commons.dbcp-1.2.2.osgi.jar").toURI();
private static final Set<Attribute> TEST_ATTRIBUTE_SET = createAttributeSet("com.springsource.org.apache.commons.dbcp", new Version("1.2.2.osgi"), TEST_FILE_URI);

Back to the top