geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bohn <joe.b...@earthlink.net>
Subject Re: Error trying to build 1.1 from scratch.
Date Tue, 18 Apr 2006 13:31:22 GMT
I was assuming that this error was because we were still waiting on 
fixes for the long path issue (particularly one from David Jencks). 
However, it looks like that was integrated on Sunday.

Looking more closely at this error the path length of the jar we're 
trying to remove is 275 characters.   The removal of the SHAPSHOT 
suffixes should help ... but daytrader also has some long names that 
contribute to the problem (daytrader-derby-jetty-streamer-client).  I 
know it's just a band-aid .. but there any chance we could shorten this 
(and similar) names?

I think we've got to get building working completely on 1.1 before we 
release.

Joe

Joe Bohn wrote:
> Rick,
> 
> You must be building on windows :-)  .    The failure looks like the 
> same error that I get on windows because of the long path name problem. 
>  If you don't need to run the installer you can choose to skip that and 
> build the other assemblies manually (they appear to work fine.   NOTE: 
> for the j2ee-tomcat-server you need to remove any previous target or the 
> build will fail attempting to remove it ... long path name problem again).
> 
> As to the long time-outs when you try to build online ... I'm not sure. 
>  It always takes longer and attempts to download and fail many items ... 
> but it never take me 4 hours.
> 
> Joe
> 
> 
> Rick McGuire wrote:
> 
>> I'm trying to create a fresh build of 1.1, and I'm having some 
>> problems getting everything to build cleanly.  If I build without the 
>> "-o" option, it's taking 4-5 hours to build, most of that time spent 
>> attempting to download jars from the maven repositories (and it 
>> appears, with lots of timeouts).  Is there any way to speed this up?
>>
>> If I build with -o, then the build fails with the error below.  I 
>> don't know if this is because -o disabled the repository download or 
>> some other problem.  At 4-5 hours per build attempt, it will take me a 
>> long time to figure this out :-(  Is anybody else seeing this error, 
>> or is it just an artifact of using the "-o" option?  Any suggestions 
>> on how to speed these builds up so they complete in less than geologic 
>> time?
>>
>> Rick
>>
>>    [java] -> Fatal error :
>>    [java]    
>> C:\Geronimo\builds\1.1\assemblies\j2ee-installer/target/geronimo-1
>> .1-SNAPSHOT/geronimo-izpack.xml:96: 
>> C:\Geronimo\builds\1.1\assemblies\j2ee-insta
>> ller\target\geronimo-1.1-SNAPSHOT\repository\geronimo\daytrader-derby-jetty-stre

>>
>> amer-client\1.1-SNAPSHOT\daytrader-derby-jetty-streamer-client-1.1-SNAPSHOT.car\

>>
>> activemq\activemq-ra\3.2.4-SNAPSHOT\rar\activecluster-1.1-SNAPSHOT.jar
>>    [java] com.izforge.izpack.compiler.CompilerException: 
>> C:\Geronimo\builds\1.1
>> \assemblies\j2ee-installer/target/geronimo-1.1-SNAPSHOT/geronimo-izpack.xml:96: 
>>
>> C:\Geronimo\builds\1.1\assemblies\j2ee-installer\target\geronimo-1.1-SNAPSHOT\re

>>
>> pository\geronimo\daytrader-derby-jetty-streamer-client\1.1-SNAPSHOT\daytrader-d

>>
>> erby-jetty-streamer-client-1.1-SNAPSHOT.car\activemq\activemq-ra\3.2.4-SNAPSHOT\

>>
>> rar\activecluster-1.1-SNAPSHOT.jar
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.parseError(Compile
>> rConfig.java:1531)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addPacks(CompilerC
>> onfig.java:636)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.executeCompiler(Co
>> mpilerConfig.java:317)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.main(CompilerConfi
>> g.java:1847)
>>    [java]      at 
>> com.izforge.izpack.compiler.Compiler.main(Compiler.java:620)
>>    [java] Caused by: java.io.FileNotFoundException: 
>> C:\Geronimo\builds\1.1\asse
>> mblies\j2ee-installer\target\geronimo-1.1-SNAPSHOT\repository\geronimo\daytrader

>>
>> -derby-jetty-streamer-client\1.1-SNAPSHOT\daytrader-derby-jetty-streamer-client-

>>
>> 1.1-SNAPSHOT.car\activemq\activemq-ra\3.2.4-SNAPSHOT\rar\activecluster-1.1-SNAPS

>>
>> HOT.jar
>>    [java]      at 
>> com.izforge.izpack.compiler.PackInfo.addFile(PackInfo.java:19
>> 3)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addRecursively(Com
>> pilerConfig.java:959)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addRecursively(Com
>> pilerConfig.java:969)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addRecursively(Com
>> pilerConfig.java:969)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addRecursively(Com
>> pilerConfig.java:969)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addRecursively(Com
>> pilerConfig.java:969)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addRecursively(Com
>> pilerConfig.java:969)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addRecursively(Com
>> pilerConfig.java:969)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addRecursively(Com
>> pilerConfig.java:969)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addRecursively(Com
>> pilerConfig.java:969)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addRecursively(Com
>> pilerConfig.java:969)
>>    [java]      at 
>> com.izforge.izpack.compiler.CompilerConfig.addPacks(CompilerC
>> onfig.java:632)
>>    [java]      ... 3 more
>>    [java]
>>    [java] (tip : use -? to get the commmand line parameters)
>>    [java] [ERROR] Java Result: 1
>>
>> BUILD FAILED
>> File...... C:\Geronimo\builds\1.1\maven.xml
>> Element... maven:reactor
>> Line...... 63
>> Column.... 108
>> Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
>> and Settin
>> gs\Administrator\.maven\cache\geronimo-izpack-plugin-1.1-SNAPSHOT\plugin.jelly:7

>>
>> 8:149: <ant:copy> Warning: Could not find file 
>> C:\Geronimo\builds\1.1\assemblies
>> \j2ee-installer\target\geronimo-installer-1.1-SNAPSHOT.jar to copy.
>> Total time: 8 minutes 48 seconds
>> Finished at: Tue Apr 18 05:55:01 EDT 2006
>>
>>
> 

-- 
Joe Bohn
joe.bohn at earthlink.net

"He is no fool who gives what he cannot keep, to gain what he cannot 
lose."   -- Jim Elliot

Mime
View raw message