[jboss-cvs] JBossAS SVN: r57948 - projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Oct 31 13:37:36 EST 2006
Author: bill.burke at jboss.com
Date: 2006-10-31 13:37:34 -0500 (Tue, 31 Oct 2006)
New Revision: 57948
Modified:
projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/NestedJarHandler.java
Log:
fix URL so that JarEntry urls come out correctly.
Modified: projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/NestedJarHandler.java
===================================================================
--- projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/NestedJarHandler.java 2006-10-31 18:33:40 UTC (rev 57947)
+++ projects/microcontainer/trunk/container/src/main/org/jboss/virtual/plugins/context/jar/NestedJarHandler.java 2006-10-31 18:37:34 UTC (rev 57948)
@@ -55,7 +55,7 @@
/** The temporary file */
private transient File temp;
-
+
/**
* Create a temporary jar
*
@@ -99,7 +99,7 @@
return new JarFile(temp);
}
-
+
/**
* Create a new NestedJarHandler.
*
@@ -168,7 +168,7 @@
@Override
public URL toURL() throws MalformedURLException, URISyntaxException
{
- return temp.toURL();
+ return new URL("jar:" + temp.toURL() + "!/");
}
/**
More information about the jboss-cvs-commits
mailing list