Building From Source On Windows

If you check out all the sources from nuxeo.org, you need to do two things before building (big H/T to Stefane F. on this one):

  1. In the top-level (nuxeo) directory copy the build.properties.sample to build.properties and edit the file to point to your copy of jboss.  Use the forward slashes as shown in the sample. 
  2. Set the maven options to "-Xmx512M" and get rid of the -o that is in the sample, unless you are sure you want that and if you don't know why you want it, you probably don't.

The -Xmx512M sets the amount of heap allowed for the java process that runs maven itself, not necessarily the compilations that maven launches. Without this, you may find that builds are very slow or fail entirely by running out of resources. I have found that this makes my builds take about 20 minutes instead of about 50!


Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior.

Like this post? Share it:


Trackback Pings

Trackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/ian_smith/2009_01_05_building-from-source-on-windows/tbping
Posted by Ian Smith @ 01/05/2009 05:07 PM. - Categories: nuxeo5 -  0 comments

Nuxeo Bloggers: Log in!
Nuxeo - Indesko - Nuxeo 5 Project
All content is copyrighted by their author.
CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS.