Open GoogleCodeExporter opened 8 years ago
I'm attempting to address the same issue in one of my projects. After
incorporating the OneJar*.java into the project and registering the
OneJarUrlType with Vfs using addDefaultUrlTypes I was still not able to
discover classes in the packaged jars. I'm using 1.6.0_xx under Windows 7 64
bit, and OneJar 0.97. The embedded jars are visible as resources but not
navigable from any entrypoint I've tried so far.
Am I missing a step?
Original comment by mike.sco...@gmail.com
on 4 Jan 2013 at 8:57
Update - by using ClasspathHelper.forClass(SpecificSuperClass.class) I was able
to find the classes in question; any other class path helper specific to a
loader met with the same (null) results.
Original comment by mike.sco...@gmail.com
on 8 Jan 2013 at 2:55
I'm not sure why that's the only method that would work; but that's always
the method I use. The implementation, as you can see, should not be
specific to a particular helper or implementation.
I hope it still proved helpful!
On Tuesday, January 8, 2013, wrote:
Original comment by bsl...@gmail.com
on 8 Jan 2013 at 3:47
It did! Thanks!
Original comment by mike.sco...@gmail.com
on 8 Jan 2013 at 4:27
[deleted comment]
when this is gonna be included in library? Tried this without success.
Original comment by black.up...@gmail.com
on 30 May 2014 at 10:25
Original issue reported on code.google.com by
bsl...@gmail.com
on 14 Sep 2012 at 3:41Attachments: