From: Edvard S. (JIRA) <ji...@an...> - 2006-10-19 11:32:00
|
[ http://jira.andromda.org/browse/CORE-76?page=3Dcomments#action_13631 = ]=20 Edvard Scheffers commented on CORE-76: -------------------------------------- I call AndroMDA from a simple Java class. Then the same problem occurs. The= exception occurs while the space character is replaced by %20. This is don= e by the ClassLoader. Maven uses a different class loader and does not repl= ace the space by the %20. I fixed the url by decoding it in the ResourceUtils.getArchive(URL) method: resourceUrl =3D URLDecoder.decode(new URL(resourceUrl).getFile(), "UTF-8"= ); archive =3D new ZipFile(resourceUrl); It would be great if this could be included in a release so I don't need to= keep my own version of this class. > Exception when the andromda home path has a blank character > ----------------------------------------------------------- > > Key: CORE-76 > URL: http://jira.andromda.org/browse/CORE-76 > Project: AndroMDA Core > Type: Bug > Environment: XP, ant 1.6.5 > Reporter: Walter Itamar Mour=C3=A3o > Assignee: Chad Brandon > Priority: Minor > > I've got the exception java.util.zip.ZipException when the andromda home = path has a blank character. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |