On Wed, Sep 1, 2010 at 2:02 PM, Millies, Sebastian <[email protected]> wrote: >>From: Luciano Resende [mailto:[email protected]] >> >>>On Wed, Sep 1, 2010 at 1:17 AM, Millies, Sebastian >><[email protected]> wrote: > [snip] >>> I did download the trunk, and (after deleting the demo, samples and >>> tutorials >>> to avoid an OutOfMemoryError) have been able to do a build with Maven. But >>> this >>> is still a far cry from what I need. >> >> >>The out of memory error, try setting MAVEN_OPTS as described in [1] >> >>[1] >>http://tuscany.apache.org/sca-java-development-guide.html#SCAJavaDevelopmentGuide-Setup > > I did set MAVEN_OPTS=-Xmx1536m (the maximum possible on my machine), which > unfortunately wasn't enough. I guess my real mistake was to issue mvn > in the top level directory, instead of separately in each subdirectory? > > -- Sebastian >
No, you should be able to run mvn from top level. This is what i have in my environment export MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=384m' -- Luciano Resende http://people.apache.org/~lresende http://twitter.com/lresende1975 http://lresende.blogspot.com/
