commented code which cleanup pax temporary bundle files (from /tmp/tb/*), because we are now using pax exam 0.6.0
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@926510 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/test/src/test/java/org/apache/felix/dm/test/Base.java b/dependencymanager/test/src/test/java/org/apache/felix/dm/test/Base.java
index 859569a..6711274 100644
--- a/dependencymanager/test/src/test/java/org/apache/felix/dm/test/Base.java
+++ b/dependencymanager/test/src/test/java/org/apache/felix/dm/test/Base.java
@@ -48,9 +48,14 @@
* Always cleanup our bundle location file (because pax seems to forget to cleanup it)
* @param context
*/
+
@After
public void tearDown(BundleContext context)
{
+ // The following code forces the temporary bundle files (from /tmp/tb/*) to be deleted when jvm exits
+ // (this patch seems to be only required with pax examp 2.0.0)
+
+ /*
try
{
File f = new File(new URL(context.getBundle().getLocation()).getPath());
@@ -60,6 +65,7 @@
{
t.printStackTrace();
}
+ */
}
public void log(int level, String message)