Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 76330 invoked from network); 6 Apr 2006 23:55:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Apr 2006 23:55:04 -0000 Received: (qmail 89305 invoked by uid 500); 6 Apr 2006 23:55:00 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 89243 invoked by uid 500); 6 Apr 2006 23:55:00 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 89229 invoked by uid 99); 6 Apr 2006 23:55:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 16:55:00 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=INFO_TLD,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [63.208.196.171] (HELO outbound.mailhop.org) (63.208.196.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Apr 2006 16:54:58 -0700 Received: from cpe-071-070-252-011.nc.res.rr.com ([71.70.252.11] helo=[192.168.1.5]) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.51) id 1FReJA-0002PH-SL for dev@geronimo.apache.org; Thu, 06 Apr 2006 19:54:37 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 71.70.252.11 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: hogndos Message-ID: <4435AA3C.30003@hogstrom.org> Date: Thu, 06 Apr 2006 19:54:36 -0400 From: Matt Hogstrom User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Cannot build 1.1 on Windows - long file paths References: <4432830E.6070102@gmail.com> <44328A50.8020904@earthlink.net> <443574F7.6050100@earthlink.net> <541C09A0-5874-40D1-AB9C-FAD105DC41EB@iq80.com> <4435797C.9060001@gmail.com> <44357D47.4000201@hogstrom.org> <4435A026.204@gmail.com> In-Reply-To: <4435A026.204@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'll modify my options below: John Sisson wrote: > Matt Hogstrom wrote: > >> So the file that is in Dave's example is 268 characters long. Here >> are a couple of questions that perhaps the folks using Windows can >> answer. >> >> 1. What about long-name support in Windows. I thought MS had some way >> to shorten names...probably a Long Shot...but thought I'd try. >> > I don't think it would be safe going down this path. Some users turn > may have turned off short file name generation using the "fsutil > behaviour set disable8dot3 1" command. > > http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fsutil.mspx?mfr=true > > >> 2. Can we leave CARs JARed up? I think this may be the only way to >> get past the problem. >> > I agree that this seems to be the only way to keep the file paths at a > reasonable length (also so other Windows programs can work with the > files without troubles). Is there a reason why are we using expanded > CARs in the repository? After thinking about this a bit more the expanded CARs is really better for development as developers could update JSPs , etc directly. If we leave the CAR in an archive format developers would have to expand them, update them and then archive them (or something other than modifying the directly). I think I'd prefer option 3 but it sounds oddly like the old config-store concept...perhaps there is a middle ground. > > John > >> 3. The Maven jar naming convention is dramatically increasing the >> length of the file name. The groupId and artifacts are repeated as is >> the version number. For instance this takes up a lot of the realestate: >> >> So this: >> \geronimo\webconsole-tomcat\1.1-SNAPSHOT\webconsole-tomcat-1.1-SNAPSHOT.car\geronimo-console-standard-1.1-SNAPSHOT.war\WEB-INF\classes\org\apache\geronimo\console\securitymanager\realm\SecurityRealmPortlet$ExistingRealm.class >> >> >> becomes: >> \geronimo\10\WEB-INF\classes\org\apache\geronimo\console\securitymanager\realm\SecurityRealmPortlet$ExistingRealm.class >> >> >> and we have an entrie like this in an index.properties: >> 10=webconsole-tomcat\1.1-SNAPSHOT\webconsole-tomcat-1.1-SNAPSHOT.car\geronimo-console-standard-1.1-SNAPSHOT.war\ >> >> >> This would save 109 characters in the path name. >> >> No matter what this is going to be a bit ugly. >> >> Thoughts? >> >> >> Hernan Cunico wrote: >> >>> I am having basically the same issue building directly on Windows. >>> When the build gets to the izpack section it fails. I check the >>> assemblies\j2ee-installer\target directory and it cascades >>> recursively, in fact I am not able to delete that directory (yet). >>> >>> Any subsequent build attempts will also fail since maven will fail to >>> delete the target directory. >>> >>> Cheers! >>> Hernan >>> >>> Dain Sundstrom wrote: >>> >>>> What if you unpack with jar -xf? >>>> >>>> -dain >>>> >>>> On Apr 6, 2006, at 1:07 PM, Dave Colasurdo wrote: >>>> >>>>> The "long file path" problem on the windows platform isn't limited >>>>> to building G1.1 on this platform. The current images are >>>>> incompatible with windows even when the images are generated on a >>>>> different platform.. >>>>> >>>>> Specifically, I built G1.1 on linux and then FTP'd the generated >>>>> windows image (geronimo-tomcat-j2ee-1.1-SNAPSHOT.zip) to a windows >>>>> machine.. >>>>> >>>>> The resulting image can't unzip on the windows platform due to the >>>>> path length problem.. :( >>>>> >>>>> e.g. C:\z\geronimo-1.1-SNAPSHOT\repository\geronimo\webconsole- >>>>> tomcat\1.1-SNAPSHOT\webconsole-tomcat-1.1-SNAPSHOT.car\geronimo- >>>>> console-standard-1.1-SNAPSHOT.war\WEB-INF\classes\org\apache >>>>> \geronimo\console\securitymanager\realm\SecurityRealmPortlet >>>>> $ExistingRealm.class >>>>> >>>>> Guess this is obvious in hindsight, though was thinking it was >>>>> strictly a build issue.. >>>>> >>>>> This absolutely needs to get fixed.. >>>>> >>>>> -Dave- >>>>> >>>>> >>>>> Joe Bohn wrote: >>>>> >>>>>> You beat me to it John .... I'm hitting the exact same problem. >>>>>> Joe >>>>>> John Sisson wrote: >>>>>> >>>>>>> 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: 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 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>> >>>> >>> >>> >>> >> > > > >