Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add a note about the m2 local repository on MS Windows

...

Section
Column
Column
Note

Unless otherwise mentioned, You must use J2SE 1.4.x... NOT 1.5. The build should fail early if you are using the wrong JDK.

Tip
titleMS Windows Tip

Windows users are strongly encouraged to change the M2 local repository (the place where dependencies are downloaded) to a shorter path with no spaces, e.g. C:\.m2.

Using a longer path may cause the build (and Geronimo itself) to behave very strangely when it hits the 260 char limit for filenames on Windows.

In order to change the m2 local repository go to %USERPROFILE%/.m2 and edit/create settings.xml file to contain the following content:

No Format

<?xml version="1.0"?>
<settings>
  <localRepository>C:\.m2</localRepository>
</settings>

Checkout Geronimo

No Format
svn co https://svn.apache.org/repos/asf/geronimo/server/trunk server
Tip
titleMS Windows Tip

Windows users are strongly encouraged to checkout Geronimo into c:\g.

Using a longer path may cause the build (and Geronimo itself) to behave very strangely when it hits the 260 char limit for filenames on Windows.

...