[ http://issues.apache.org/jira/browse/GERONIMO-1428?page=all ] John Sisson resolved GERONIMO-1428: -----------------------------------
Resolution: Won't Fix Marked as Won't Fix as this is a JDK bug (see bug description for details). > Assembly for IZPack installer fails on Windows with FileNotFoundException > ------------------------------------------------------------------------- > > Key: GERONIMO-1428 > URL: http://issues.apache.org/jira/browse/GERONIMO-1428 > Project: Geronimo > Type: Bug > Components: buildsystem, installer > Versions: 1.0 > Reporter: John Sisson > Assignee: John Sisson > Priority: Minor > > I get a FileNotFoundException for the following file: > C:\OpenSourceJava\asf\geronimo\trunk\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHOT\config-store\20\geronimo-console-standard-1.0-SNAPSHOT.war\WEB-INF\classes\org\apache\geronimo\console\databasemanager\wizard\DatabasePoolPortlet$ResourceAdapterParams.class > This problem seems to be related to a JDK bug that has only been fixed in JDK > 1.5_06: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6182812 > I worked around the problem by moving my trunk directory to C:\trunk so that > the file path is not so long. > Example of failure when file path is too long: > izpack:izpack-installer-build: > [echo] IZPack installer build is running. > [echo] IZPack Version is 3.8.0 > [java] > [java] .:: IzPack - Version 3.8.0 ::. > [java] > [java] < compiler specifications version : 1.0 > > [java] > [java] - Copyright (C) 2001-2005 Julien Ponge > [java] - Visit http://www.izforge.com/ for the latests releases > [java] - Released under the terms of the Apache Software License version > 2.0. > [java] > [java] -> Processing : > C:\OpenSourceJava\asf\geronimo\trunk\assemblies\j2ee-installer/target/geronimo-1.0-SNAPSHOT/geronimo-izp > ack.xml > [java] -> Output : > C:\OpenSourceJava\asf\geronimo\trunk\assemblies\j2ee-installer/target/geronimo-installer-1.0-SNAPSHOT.ja > r > [java] -> Base path : . > [java] -> Kind : standard > [java] -> Compression : default > [java] -> Compr. level: -1 > [java] > [java] Adding resource: IzPack.uninstaller > [java] Setting the installer information > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/lib/liquidlnf.jar > [java] Setting the GUI preferences > [java] Adding langpack: eng > [java] Adding resource: flag.eng > [java] Adding resource: Installer.image > [java] Adding resource: LicencePanel.licence > [java] Adding resource: InfoPanel.info > [java] Adding resource: userInputSpec.xml > [java] Adding resource: ImgPacksPanel.img.0 > [java] Adding resource: ImgPacksPanel.img.1 > [java] Adding resource: ImgPacksPanel.img.2 > [java] Adding resource: ImgPacksPanel.img.3 > [java] Adding resource: ImgPacksPanel.img.4 > [java] Adding resource: ImgPacksPanel.img.5 > [java] Adding resource: ImgPacksPanel.img.6 > [java] Adding resource: ImgPacksPanel.img.7 > [java] Adding resource: ImgPacksPanel.img.8 > [java] Adding resource: ImgPacksPanel.img.9 > [java] Adding resource: ImgPacksPanel.img.10 > [java] Adding resource: ImgPacksPanel.img.11 > [java] Adding resource: ImgPacksPanel.img.12 > [java] Adding resource: ImgPacksPanel.img.13 > [java] Adding resource: ImgPacksPanel.img.14 > [java] Adding resource: ImgPacksPanel.img.15 > [java] Adding resource: ImgPacksPanel.img.16 > [java] Adding resource: ImgPacksPanel.img.17 > [java] Adding resource: ImgPacksPanel.img.18 > [java] Adding resource: ImgPacksPanel.img.19 > [java] Adding resource: ImgPacksPanel.img.20 > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/HelloPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/LicencePanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/TargetPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/ImgPacksPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/UserInputPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/UserInputPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/UserInputPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/UserInputPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/UserInputPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/UserInputPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/UserInputPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/UserInputPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/UserInputPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/InstallPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/InfoPanel.jar > [java] Adding content of jar: > file:/C:/Documents%20and%20Settings/sissonj/.maven/repository/izpack/jars/standalone-compiler-3.8. > 0.jar!/bin/panels/FinishPanel.jar > [java] -> Fatal error : > [java] > C:\OpenSourceJava\asf\geronimo\trunk\assemblies\j2ee-installer/target/geronimo-1.0-SNAPSHOT/geronimo-izpack.xml:77: > C: > \OpenSourceJava\asf\geronimo\trunk\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHOT\config-store\20\geronimo-console-standard- > 1.0-SNAPSHOT.war\WEB-INF\classes\org\apache\geronimo\console\databasemanager\wizard\DatabasePoolPortlet$ResourceAdapterParams.class > [java] com.izforge.izpack.compiler.CompilerException: > C:\OpenSourceJava\asf\geronimo\trunk\assemblies\j2ee-installer/target/gero > nimo-1.0-SNAPSHOT/geronimo-izpack.xml:77: > C:\OpenSourceJava\asf\geronimo\trunk\assemblies\j2ee-installer\target\geronimo-1.0-SNAPSHO > T\config-store\20\geronimo-console-standard-1.0-SNAPSHOT.war\WEB-INF\classes\org\apache\geronimo\console\databasemanager\wizard\Data > basePoolPortlet$ResourceAdapterParams.class > [java] at > com.izforge.izpack.compiler.CompilerConfig.parseError(CompilerConfig.java:1531) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addPacks(CompilerConfig.java:636) > [java] at > com.izforge.izpack.compiler.CompilerConfig.executeCompiler(CompilerConfig.java:317) > [java] at > com.izforge.izpack.compiler.CompilerConfig.main(CompilerConfig.java:1847) > [java] at > com.izforge.izpack.compiler.Compiler.main(Compiler.java:620) > [java] Caused by: java.io.FileNotFoundException: > C:\OpenSourceJava\asf\geronimo\trunk\assemblies\j2ee-installer\target\geronimo- > 1.0-SNAPSHOT\config-store\20\geronimo-console-standard-1.0-SNAPSHOT.war\WEB-INF\classes\org\apache\geronimo\console\databasemanager\ > wizard\DatabasePoolPortlet$ResourceAdapterParams.class > [java] at > com.izforge.izpack.compiler.PackInfo.addFile(PackInfo.java:193) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:959) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addRecursively(CompilerConfig.java:969) > [java] at > com.izforge.izpack.compiler.CompilerConfig.addPacks(CompilerConfig.java:632) > [java] ... 3 more > [java] > [java] (tip : use -? to get the commmand line parameters) > [java] [ERROR] Java Result: 1 > BUILD FAILED > File...... C:\OpenSourceJava\asf\geronimo\trunk\maven.xml > Element... maven:reactor > Line...... 63 > Column.... -1 > Unable to obtain goal [multiproject:install-callback] -- C:\Documents and > Settings\sissonj\.maven\cache\geronimo-izpack-plugin-1.0-S > NAPSHOT\plugin.jelly:77:-1: <ant:copy> Warning: Could not find file > C:\OpenSourceJava\asf\geronimo\trunk\assemblies\j2ee-installer\t > arget\geronimo-installer-1.0-SNAPSHOT.jar to copy. > Total time : 5 minutes 26 seconds > Finished at : Sunday, 8 January 2006 13:00:17 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira