geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Hogstrom <m...@hogstrom.org>
Subject Re: Cannot build 1.1 on Windows - long file paths
Date Tue, 04 Apr 2006 21:31:39 GMT
Well, Windows does have some limites but 255 char file names is a bit onerous :-0

Jason Dillon wrote:
> Ugh... Why doesnt Microsoft fix this limitation in their whack filesystem?!
> 
> Sucks to have to muck up the build system to work around crazy windows problems. 
> 
> --jason
> 
> 
> -----Original Message-----
> From: John Sisson <jrsisson@gmail.com>
> Date: Wed, 05 Apr 2006 00:30:38 
> To:dev@geronimo.apache.org
> Subject: Cannot build 1.1 on Windows - long file paths
> 
> I had issues relating to long file paths when building 1.1 from my 
> C:\dev\asf\geronimo\branches\1.1 directory, so I tried building from a 
> shorter directory ( C:\geronimo1.1 ) and still have issues (see below).
> 
> I haven't had a chance to look into this yet but I consider this to be a 
> blocker.
> 
> Once we can build on windows we then need to test that Geronimo can be 
> installed in common locations on windows (e.g. under C:\Program 
> Files\Geronimo-1.1 ) without encountering file path length issues.
> 
> The following path (from the output below) is 317 bytes long:
> 
> C:\geronimo1.1\assemblies\j2ee-installer\target\geronimo-1.1-SNAPSHOT\repository\geronimo\daytrader-derby-jetty\1.1-SNAPSHOT\daytrader-derby-jetty-1.1-SNAPSHOT.car\daytrader-web-1.1-SNAPSHOT.war\META-INF\geronimo-generated\org\apache\geronimo\axis\client\GenericServiceEndpointWrapper$$EnhancerByCGLIB$$2ae63e1d.class
> 
> See http://issues.apache.org/jira/browse/GERONIMO-1790 for more info on 
> the long file path issue.
> 
> John
> 
> 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:\geronimo1.1\assemblies\j2ee-installer/target/geronimo-1.1-SNAPSHOT/geronimo-izpack.xml
>     [java] -> Output      : 
> C:\geronimo1.1\assemblies\j2ee-installer/target/geronimo-installer-1.1-SNAPSHOT.jar
>     [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] 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: ProcessPanel.Spec.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/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/HelloPanel.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/LicencePanel.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/TargetPanel.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ImgPacksPanel.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ValidatePackSelections.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/InstallPanel.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/ProcessPanel.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/InfoPanel.jar
>     [java] Adding content of jar: 
> file:/C:/Documents%20and%20Settings/sissonj/.geronimo-1.1.x-maven/repository/geronimo/jars/standal
> one-compiler-custom-3.8.0.jar!/bin/panels/FinishPanel.jar
>     [java] -> Fatal error :
>     [java]    
> C:\geronimo1.1\assemblies\j2ee-installer/target/geronimo-1.1-SNAPSHOT/geronimo-izpack.xml:96:

> C:\geronimo1.1\assemblie
> s\j2ee-installer\target\geronimo-1.1-SNAPSHOT\repository\geronimo\daytrader-derby-jetty\1.1-SNAPSHOT\daytrader-derby-jetty-1.1-SNAPS
> HOT.car\daytrader-web-1.1-SNAPSHOT.war\META-INF\geronimo-generated\org\apache\geronimo\axis\client\GenericServiceEndpointWrapper$$En
> hancerByCGLIB$$2ae63e1d.class
>     [java] com.izforge.izpack.compiler.CompilerException: 
> C:\geronimo1.1\assemblies\j2ee-installer/target/geronimo-1.1-SNAPSHOT/gero
> nimo-izpack.xml:96: 
> C:\geronimo1.1\assemblies\j2ee-installer\target\geronimo-1.1-SNAPSHOT\repository\geronimo\daytrader-derby-jetty\
> 1.1-SNAPSHOT\daytrader-derby-jetty-1.1-SNAPSHOT.car\daytrader-web-1.1-SNAPSHOT.war\META-INF\geronimo-generated\org\apache\geronimo\a
> xis\client\GenericServiceEndpointWrapper$$EnhancerByCGLIB$$2ae63e1d.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:\geronimo1.1\assemblies\j2ee-installer\target\geronimo-1.1-SNAPSHOT\repositor
> y\geronimo\daytrader-derby-jetty\1.1-SNAPSHOT\daytrader-derby-jetty-1.1-SNAPSHOT.car\daytrader-web-1.1-SNAPSHOT.war\META-INF\geronim
> o-generated\org\apache\geronimo\axis\client\GenericServiceEndpointWrapper$$EnhancerByCGLIB$$2ae63e1d.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.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:\geronimo1.1\maven.xml
> Element... maven:reactor
> Line...... 63
> Column.... -1
> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
> and Settings\sissonj\.geronimo-1.1.x-maven\cache\geronimo-izpa
> ck-plugin-1.1-SNAPSHOT\plugin.jelly:78:-1: <ant:copy> Warning: Could not 
> find file C:\geronimo1.1\assemblies\j2ee-installer\target\g
> eronimo-installer-1.1-SNAPSHOT.jar to copy.
> Total time   : 21 minutes 1 seconds
> Finished at  : Tuesday, 4 April 2006 17:31:34
> 
> 

Mime
View raw message