[jboss-dev-forums] [Design of POJO Server] - Re: Regression on VirtualFile.toURL()
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Feb 18 13:36:02 EST 2009
"jason.greene at jboss.com" wrote : "alesj" wrote :
| | But wouldn't that make Carlo's impl fail on exploded jar?
|
| Yes it would most definitely break on exploded jars.
The issue is that you need to know what the original form of the URL the reference was against. You can't start with a compressed jar with a manifest classpath relative to the jar as a file, and then use the same relative path against the jar as a directory. The jar manifest classpath spec does not deal with this distinction.
If we ever stop unpacking archives such that a jar classpath resolves against an ear which is still packed, we will have the opposite problem of the default relative reference resolution pushing the jar to be outside of the ear.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211238#4211238
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211238
More information about the jboss-dev-forums
mailing list