anonymous wrote :
| I just commited the following to the MemoryTestCase, and it passes:
|
| | public void testUrlHandling()throws Exception
| | {
| | URL directory = new URL("vfsmemory://guid");
| | URL classes = new URL(directory, "classes");
| |
| | URL classes2 = new URL(directory + "/classes");
| |
| | assertEquals(classes, classes2);
| | assertTrue(classes.equals(classes2));
| | }
| |
| Did you mean something else? This test looks "weird" :-)
|
Ok sorry. The problem is not subdirectories, it is the top directory.
i.e.
URL directory = new URL(new URL("vfsmemory://"), "guid");
Try changing this class
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-deploye...
to do:
| URL vfsMemory = new URL("vfsmemory://");
| URL dynamicClassRoot = new URL(vfsMemory, new GUID().toString());
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139253#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...