continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Need help to build Continuum for the first time
Date Wed, 26 Oct 2005 08:37:30 GMT


Frank Zhao a écrit :
> I would like to do my best to make my contribution to the Continuum project. Please help
me on building the Continuum. I have Ant, Maven 2 and Java 1.4 installed on my Linux machine.
> 
> When I tried to build Continuum for the first time and here is the error I got:
> 
> 1) after I run the ./build.sh, the build failed because of 7 errors in tests (attached
at the end of this email).

maven 1 is required too.

> 
> Under the directory ..\continuum-plexus-application\, there is no "target" directory.
The only directory is has is "src".
> 
> 2) then under the ..\continuum-plexus-application\, I ran "m2 assembly:assembly", I got
error:
> 
> Downloading: http://cvs.apache.org/repository/org.apache.maven.continuum/poms/continuum-notifier-msn-1.0-beta-2-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository apache.snapshots (http://cvs.apache.org/repository)
> Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/continuum/continuum-notifier-msn/1.0-beta-2-SNAPSHOT/continuum-notifier-msn-1.0-beta-2-SNAPSHOT.pom
> [WARNING] Unable to get resource from repository snapshots (http://snapshots.maven.codehaus.org/maven2)

You get this error because a lot of continuum artifact aren't built on your machine. These

artifacts aren't deploy to ibiblio because they're snapshot versions used only by continuum.

> 
> 
> There are many jar files are missing from the maven remote repository, some I can find
online, but some are very difficult to find. Is there a place I can get a full copy of the
repository?

Missing files are only sun jars. We can't put them on ibiblio due to license problem 
(http://maven.apache.org/maven2/guides/mini/guide-coping-with-sun-jars.html)

> 
> Thanks!
> 
> Frank
> 
> Some of the errors when running build.sh are as the following:
> 
> [INFO] Continuum initializer running ...
> [INFO] Activating schedules ...
> [INFO] Tue Oct 25 11:00:00 EDT 2005
> [INFO] Stopping Continuum.
> [INFO] Continuum stopped.
> Oct 25, 2005 10:47:58 AM org.quartz.core.QuartzScheduler shutdown
> INFO: Scheduler scheduler1_$_NON_CLUSTERED shutting down.
> Oct 25, 2005 10:47:58 AM org.quartz.core.QuartzScheduler pause
> INFO: Scheduler scheduler1_$_NON_CLUSTERED paused.
> Oct 25, 2005 10:47:58 AM org.quartz.core.QuartzScheduler shutdown
> INFO: Scheduler scheduler1_$_NON_CLUSTERED shutdown complete.
> [surefire] Running org.apache.maven.continuum.security.DefaultContinuumSecurityTest
> [surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.298 sec
> [surefire] Running org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilderTest
> [surefire] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 1.315 sec <<<<<<<<
FAILURE !! 
> [INFO] Downloading file:/nfs/fzhao/work/continuum/develop/continuum-trunk/continuum-core/src/test/resources/projects/maven-1.pom.xml
> [surefire] Running org.apache.maven.continuum.project.builder.maven.MavenOneContinuumProjectBuilderTest
> [surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.385 sec
> [WARNING] Could not find the executable 'ant' in the path '[]'.
> [WARNING] Could not find the executable 'maven' in the path '[]'.
> [surefire] Running org.apache.maven.continuum.execution.manager.DefaultBuildExecutorManagerTest
> [surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.477 sec <<<<<<<<
FAILURE !! 
> [WARNING] Could not find the executable 'ant' in the path '[]'.
> [WARNING] Could not find the executable 'maven' in the path '[]'.
> [surefire] Running org.apache.maven.continuum.execution.maven.m1.MavenOneBuildExecutorTest
> [surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.971 sec <<<<<<<<
FAILURE !! 
> 
> Results :
> [surefire] Tests run: 21, Failures: 0, Errors: 7
> 
> [INFO] ----------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Reason: There are some test failure.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 1 minute 52 seconds
> [INFO] Finished at: Tue Oct 25 10:48:06 EDT 2005
> [INFO] Final Memory: 42M/63M


Mime
View raw message