Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Kapukaranov2012-08-04 18:39:56 -0400
committerBorislav Kapukaranov2012-08-04 18:39:56 -0400
commit7bc14a168959bb344e2dcc718820573ee9a9f0b5 (patch)
treedf8ce49a6b11882b691a0bdb5b575bfaa893c574 /org.eclipse.virgo.kernel.artifact
parentb6e264c4b4d890d38d38eb458e4e934368ca2c25 (diff)
downloadorg.eclipse.virgo.kernel-7bc14a168959bb344e2dcc718820573ee9a9f0b5.tar.gz
org.eclipse.virgo.kernel-7bc14a168959bb344e2dcc718820573ee9a9f0b5.tar.xz
org.eclipse.virgo.kernel-7bc14a168959bb344e2dcc718820573ee9a9f0b5.zip
380765 - Adopts some of the tests to the shared ivy cache
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/BundleBridgeTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridgeTests.java b/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridgeTests.java
index b2358e52..545cfdc8 100644
--- a/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridgeTests.java
+++ b/org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridgeTests.java
@@ -91,7 +91,7 @@ public class BundleBridgeTests {
@Test
public void testGenerateArtefact() throws ArtifactGenerationException {
File jarsDirectory = new File(
- "../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");
+ System.getProperty("user.home") + "/ivy/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");
File directoriesDirectory = new File("./src/test/resources/directories");
Set<ArtifactDescriptor> artefacts = new HashSet<ArtifactDescriptor>();
@@ -128,7 +128,7 @@ public class BundleBridgeTests {
@Test
public void testBuildDictionary() throws ArtifactGenerationException, IOException {
File testFile = new File(
- "../ivy-cache/repository/org.eclipse.virgo.mirrored/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar");
+ System.getProperty("user.home") + "/ivy/ivy-cache/repository/org.eclipse.virgo.mirrored/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar");
ArtifactDescriptor inputArtefact = BUNDLE_BRIDGE.generateArtifactDescriptor(testFile);

Back to the top