Niall, I agree.  Everything you mention, I have also seen over and over.

In fact, I cannot run "maven nightly" on my windows box, I get 'out of memory' every time, even though I've got 2 gig on the machine and my linux laptop that I've run the nightlies on for months only has 512MB. Although to be fair, I used to get the same thing when it was 100% ant based build running test.tomcat.x

To just do a quick build/install ('install' is when the jar is copied to your local repos in ~/.maven/repository/struts/jars) run 'maven jar:install' from the subproject directory itself.

$cd path/to/struts
$svn up
$cd core
$maven jar:install -Dmaven.test.skip=true

...I just ran it on my Powerbook...

...
...
BUILD SUCCESSFUL
Total time: 29 seconds




--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: callto://jmitchtx





On Sep 15, 2005, at 9:46 PM, Niall Pemberton wrote:

When I run "maven dist" for the "core" project it seems to run the
compile/tests four times and takes 5 minutes on my machine.

It looks to me its something to do with certain of the plugin reports - I tried removing all the reports from the project.xml, but it still seemed to generate the reports anyway! Also when the tests run - twice it throws a load of exceptions and the other two times not - can't work that one out?

Is there a target I can run so that it does the build and updates my
"internal repository" with the jar (so other sub-projects can pick it up)? Is there a way to turn the reports off? Can we stop the tests being run so
many times and (hopefully) bring the build time down dramatically?

I started by trying the build-all target - but that ran for 30 minutes and
failed with an "out of memory" error - so I switch to doing individual
sub-projects - but 5-10 minutes to build 2/3 sub-projects seems way too long
to me.

Am I missing something, or is this everyones experience?

Niall



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to