"setlocal enableextensions" ensures that long paths are supported correctly on Windows. We have had it in the geronimo.bat/client.bat scripts for awhile, but the new gsh.bat was missing it.

Also, just noticed today that the gsh scripts don't use the setenv/setjavaenv support that geronimo/client scripts use, so I'll be looking to add that next, so all of the scripts use the same starting environment settings....


-Donald


Jason Dillon wrote:
What is this change for?

Modified: geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/gsh.bat URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/gsh.bat?rev=641813&r1=641812&r2=641813&view=diff <http://svn.apache.org/viewvc/geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/gsh.bat?rev=641813&r1=641812&r2=641813&view=diff>
==============================================================================
--- geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/gsh.bat (original) +++ geronimo/server/branches/2.1/assemblies/geronimo-boilerplate-minimal/src/main/underlay/bin/gsh.bat Thu Mar 27 06:45:31 2008
@@ -22,7 +22,8 @@
rem $Rev$ $Date$
rem
-if "%OS%"=="Windows_NT" setlocal
+if "%OS%"=="Windows_NT" setlocal enableextensions
+set ERRORLEVEL=0

:begin

--jason

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to