Emmanuel Venisse wrote:
hmm, weird. You aren't the only one with this problem. I can build
continuum with 256Mo assigned to jvm.
If you want to increase memory, you need to set MAVEN_OPTS env var,
it's used by mvn.
ok, I still get an error when the tests run.
$ export MAVEN_OPTS=-Xmx500m
$ export PATH=$PATH:/usr/local/maven-2.0.2/bin
$ svn co
http://svn.apache.org/repos/asf/maven/continuum/branches/continuum-1.0.x/
$ cd continuum-1.0.x
$ sh build.sh
....
2006-02-03 11:43:35,417 [main] INFO Continuum - <
Continuum 1.0.3-SNAPSHOT started! >
...
2006-02-03 11:43:35,746 [main] INFO ContinuumInitializer -
Continuum initializer running ...
2006-02-03 11:43:36,076 [main] INFO SchedulesActivator -
Activating schedules ...
2006-02-03 11:43:36,082 [main] WARN ContinuumScheduler -
Will not schedule this job as a job {DEFAULT_SCHEDULE:DEFAULT} already
exists.
2006-02-03 11:43:36,286 [main] INFO SchedulesActivator - null
2006-02-03 11:43:36,286 [main] INFO PlexusContainer -
Loading on start [role,roleHint]:
[org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor,build-project]
2006-02-03 11:43:36,419 [main] ERROR VelocityComponent -
ResourceManager.getResource() parse exception:
org.apache.velocity.exception.ParseErrorException: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line
121, column 17. Encountered: <EOF> after : ""
-----------------------------------------------------
this realm = plexus.core
urls[0] =
file:/usr/local/continuum-1.0.x/continuum-core-it/target/level1/level2/plexus-home/../../../../../continuum-web/src/main/resources/localization/
Number of imports: 0
-----------------------------------------------------
[surefire] Running org.apache.maven.continuum.it.MavenTwoIntegrationTest
[surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 9.513 sec
<<<<<<<< FAILURE !!
Results :
[surefire] Tests run: 5, Failures: 0, Errors: 5
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] There are some test failure.
[INFO]
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 6 minutes 5 seconds
[INFO] Finished at: Fri Feb 03 11:43:36 EST 2006
[INFO] Final Memory: 77M/138M
[INFO]
----------------------------------------------------------------------------