[jboss-dev-forums] [Design of POJO Server] - Re: AbstractDeploymentUnit.getMetaDataFiles()
bill.burke@jboss.com
do-not-reply at jboss.com
Fri Oct 20 18:22:33 EDT 2006
"scott.stark at jboss.org" wrote : Yes, I think that is what we need to try first. The -file refers to the protocol of the vfs context root. Another reason not to nest urls is that file:/.../foo.ear/ejb.jar/META-INF/persistence.xml is not going to be a valid url unless the ear and jar are unpacked. Let the vfs deal with this.
|
I can't believe how easy this was once I figured out how to plug in a URLConnectionHandler. check out containter module:
org.jboss.net.protocol.vfsfile
Now I just have to modify the VirtualFile so that a VFS url is regurgitated from VirtualFile.toURL()
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979748#3979748
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979748
More information about the jboss-dev-forums
mailing list