NickstaDB / reflections

Automatically exported from code.google.com/p/reflections
Do What The F*ck You Want To Public License
0 stars 1 forks source link

JBoss5 "vfsfile" protocol is not recognized. #162

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. JBoss5x
Set<URL> urls = ClasspathHelper.forPackage(packagePath);
(ConfigurationBuilder)cb.setUrls(urls);
Reflections reflections = new Reflections(cb);

What is the expected output? What do you see instead?

Fails in org.reflections.vfs.Vfs, because ClasspathHelper.forPackage returns 
URL with protocol "vfsfile", but the closest thing Vfs understands is protocol 
"vfs" covered by Vfs.DefaultUrlTypes.jboss_vfs

What version of the product are you using? On what operating system?
0.9.9-RC1 windows 7

Original issue reported on code.google.com by joonas.v...@zeroturnaround.com on 4 Oct 2013 at 1:09

GoogleCodeExporter commented 8 years ago
vfsfile, vfszip added to default url types

Original comment by ronm...@gmail.com on 21 Dec 2013 at 9:37