On Fri, Apr 20, 2012 at 08:14, <[email protected]> wrote: > LibDeployerUtilsTest.class.getResource("/synapse-libraries/SynapseTestLibrary.zip").getPath()
This is not portable and is also conceptually incorrect. That path portion of an URL is not necessarily a valid file path (even if the URL scheme is "file"). The only correct way to convert a file: URL to a file system path is to convert it to a URI and then to use the File(URI) constructor. Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
