I am using Maven 1.1-beta-2. I'll try to clear temp and see if that helps.

One more thing .... it might be my imagination but I seem to get this more often when building off-line (-o). Last night I did two off-line builds which both failed in the CRLF step. After that I did an on-line build and it succeeded. It might be coincidence but I think I've seen that before (which is why I tried the on-line build).

John Sisson wrote:
I'm not sure if this is related.. I have run into problems a while ago where if my windows temporary files folder (e.g. C:\Documents and Settings\sissonj\Local Settings\Temp) filled up with temporary files I got access denied errors. It is though windows had problems creating a unique temporary file. I found if I cleaned up the files in the Temp folder the problems went away. I haven't run into this for months, but maybe worth trying.

What version of Maven are you using? I am using 1.1-beta-2 and aren't experiencing the problem. FYI.. The version of Ant used by maven 1.1-beta-1/2 was upgraded to 1.6.5, so maybe there could be some Ant fixcrlf issues in older ant releases?

Regards,

John

Joe Bohn wrote:

I'm still getting build failures on WinXP when preparing the CRLF endings (using trunk). Is anybody else still seeing these problems?

John Sission, you indicated that you thought this was fixed in GERONIMO-1465. It seems better ... I used to fail something like 80-90% of the time and now it's more like 50%. However, it seems to still be a problem. Any other thoughts?



Here is the command that I'm using to build:
maven -o new -Dmaven.test.skip=true -Dmaven.itest.skip=true



And here is the result:
assemble:package-assembly:
    [echo] Preparing CRLF line endings in text based files for zip
            distribution
[zip] Building zip: C:\geronimo\assemblies\j2ee-tomcat-server\target\geronimo-tomcat-j2ee-1.1-SNAPSHOT.zip [echo] Preparing LF line endings in text based files for tar.gz distribution

BUILD FAILED
File...... C:\geronimo\maven.xml
Element... maven:reactor
Line...... 63
Column.... -1
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and Settings\Administrator\.maven\cache\geronimo-assembly-plugin-1.1.5\plugin.jelly:339:-1: <ant:fixcrlf> java.io.FileNotFoundException: C:\geronimo\assemblies\j2ee-tomcat-server\target\geronimo-1.1-SNAPSHOT\config-store\34\daytrader-web-1.1-SNAPSHOT.war\docs\glossary.html (Access is denied)
Total time   : 25 minutes 20 seconds
Finished at  : Wednesday, January 25, 2006 5:17:20 PM EST


After the build fails it appears that this file doesn't even exist.


Thanks,
Joe





--
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

Reply via email to