-
15. Re: NoCopyNestedJarHandler usage
starksm64 Jan 8, 2008 1:08 AM (in response to alesj)The testULRClassloading and testURLClassLoader work with the proper classpath for the no copy case. When adding tests for ?useNoCopyJarHandler=true, its failing with java.lang.IllegalArgumentException: URI has a query component. I did not realize a file uri cannot have a query component. I don't understand why. I guess that will have to be handled by FileSystemContext. I'm still using the vfs version linked to trunk, so I'm not sure if you fixed this Ales.
-
16. Re: NoCopyNestedJarHandler usage
alesj Jan 8, 2008 5:38 AM (in response to alesj)"scott.stark@jboss.org" wrote:
I'm still using the vfs version linked to trunk, so I'm not sure if you fixed this Ales.
Fixed what?
I didn't do any release if that's what you mean, since I was waiting for this CL tests + some sort of caching. -
17. Re: NoCopyNestedJarHandler usage
alesj Jan 8, 2008 6:17 AM (in response to alesj)"scott.stark@jboss.org" wrote:
The testULRClassloading and testURLClassLoader work with the proper classpath for the no copy case. When adding tests for ?useNoCopyJarHandler=true, its failing with java.lang.IllegalArgumentException: URI has a query component.
Where do I find all these tests? -
18. Re: NoCopyNestedJarHandler usage
alesj Jan 8, 2008 1:15 PM (in response to alesj)"alesj" wrote:
"scott.stark@jboss.org" wrote:
The testULRClassloading and testURLClassLoader work with the proper classpath for the no copy case. When adding tests for ?useNoCopyJarHandler=true, its failing with java.lang.IllegalArgumentException: URI has a query component.
Where do I find all these tests?
OK, couldn't find my own test. :-)
For some reason my svn update was silently failing, not being able to update the SeamVFSClassloadingTestCase, since it already existed, but wasn't added to svn. -
19. Re: NoCopyNestedJarHandler usage
starksm64 Jan 8, 2008 4:44 PM (in response to alesj)"alesj" wrote:
"scott.stark@jboss.org" wrote:
I'm still using the vfs version linked to trunk, so I'm not sure if you fixed this Ales.
Fixed what?
I didn't do any release if that's what you mean, since I was waiting for this CL tests + some sort of caching.
Fixed the code that is calling new File(URI) when URI contains a query. For whatever reason this File ctor will not accept such a URI even though its valid. We need to strip off any query, fragment and authentication for the URI to be accepted. -
20. Re: NoCopyNestedJarHandler usage
alesj Jan 9, 2008 6:03 PM (in response to alesj)"scott.stark@jboss.org" wrote:
The testULRClassloading and testURLClassLoader work with the proper classpath for the no copy case.
But what's the difference then in AS5 AnnotationMetaDataDeployer when using NoCopy, so that the info (now trace) doesn't print out? -
21. Re: NoCopyNestedJarHandler usage
starksm64 Jan 10, 2008 12:04 AM (in response to alesj)Its not the no-copy case that works as those urls cause the IllegalStateException. Its the default copy mode that is working.
-
22. Re: NoCopyNestedJarHandler usage
starksm64 Jan 10, 2008 3:55 AM (in response to alesj)I checked in a fix for the IllegalStateException and using the resulting vfs snapshot does show all of the SeamVFSClassloadingTestCase tests are working. Need to debug the classpath seen by the ULR associated with the deployment. I'm looking at it.