dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #07246
Build failed in Hudson: Dhis2 Service Trunk #1062
See <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/1062/changes>
Changes:
[Lars] Applied patch from Tran on locating orgunit in tree by searching on code. Good work
------------------------------------------
Started by an SCM change
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/">
[workspace] $ bzr pull --overwrite https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
+N dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/responseInput.vm
+N dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/images/search.png
+N dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/ouwt/action/GetOrganisationUnitByCodeAction.java
M dhis-2/dhis-services/dhis-service-core/src/main/resources/META-INF/dhis/beans.xml
M dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/dataset/hibernate/DataSet.hbm.xml
M dhis-2/dhis-support/dhis-support-external/src/main/resources/META-INF/dhis/beans.xml
M dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css
M dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/orgunittree.vm
M dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js
M dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml
M dhis-2/dhis-web/dhis-web-commons/src/main/resources/dhis-web-commons.xml
M dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/org/hisp/dhis/dataset/action/dataentryform/AutoSaveDataEntryFormAction.java
All changes applied successfully.
Now on revision 2043.
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/">
[workspace] $ bzr log -v -r revid:hieu.hispvietnam@xxxxxxxxx-20100902170837-1z2nnlrti0bxu9b1..revid:larshelg@larshelg-laptop-20100903043157-ezhes8p0jznt9u0y --long --show-ids
Getting local revision...
$ bzr revision-info -d "<http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/">
larshelg@larshelg-laptop-20100903043157-ezhes8p0jznt9u0y
Parsing POMs
[dhis-2] $ java -Xmx2048m -XX:MaxPermSize=512m -cp /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.369.jar:/ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/tools/2.2.1/boot/classworlds-1.1.jar hudson.maven.agent.Main /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/tools/2.2.1 /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/tomcat/webapps/ci/WEB-INF/lib/remoting-1.369.jar /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.369.jar 59489 /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/plugins/maven-plugin/WEB-INF/lib/maven2.1-interceptor-1.2.jar
<===[HUDSON REMOTING CAPACITY]===> channel started
Executing Maven: -B -f <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/pom.xml> clean install findbugs:findbugs
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] DHIS 2
[INFO] DHIS API
[INFO] DHIS Support Parent Project
[INFO] DHIS Test Support
[INFO] DHIS External Support
[INFO] DHIS Hibernate Support
[INFO] DHIS System Support
[INFO] DHIS JDBC Service
[INFO] DHIS Services Parent Project
[INFO] DHIS Core API Implementations
[INFO] DHIS XML framework services
[INFO] DHIS I18n Static
[INFO] DHIS Options
[INFO] DHIS Administration Service
[INFO] DHIS DataMart Service - Default
[INFO] DHIS Aggregation Service - Default
[INFO] DHIS OrganisationUnit API Implementations
[INFO] DHIS Reporting Service
[INFO] DHIS Import-Export Service
[INFO] DHIS Excel Reporting Service
[INFO] DHIS Patient API Implementations
[INFO] DHIS JDBC / External Test Project
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS 2
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/pom.xml> to /ifi/utgard/p01/dhis/.m2/repository/org/hisp/dhis/dhis/2.0.6-SNAPSHOT/dhis-2.0.6-SNAPSHOT.pom
[INFO] Preparing findbugs:findbugs
[INFO] No goals needed for project - skipping
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader.
[INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [findbugs:findbugs {execution: default-cli}]
[INFO] Using source root:
[INFO] <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/target/classes>
[INFO] Using test source root:
[INFO] <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/target/test-classes>
[INFO] Output class directory doesn't exist. Skipping findbugs.
[HUDSON] Archiving <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/pom.xml> to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis/builds/2010-09-03_07-01-46/archive/org.hisp.dhis/dhis/2.0.6-SNAPSHOT/pom.xml
[HUDSON] Archiving /ifi/utgard/p01/dhis/.m2/repository/org/hisp/dhis/dhis/2.0.6-SNAPSHOT/dhis-2.0.6-SNAPSHOT.pom to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis/builds/2010-09-03_07-01-46/archive/org.hisp.dhis/dhis/2.0.6-SNAPSHOT/dhis-2.0.6-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building DHIS API
[INFO] task-segment: [clean, install, findbugs:findbugs]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/dhis-api/target>
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 340 source files to <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/dhis-api/target/classes>
[HUDSON] Archiving <http://dhis.uio.no/ci/job/Dhis2%20Service%20Trunk/ws/dhis-2/dhis-api/pom.xml> to /ifi/utgard/p01/dhis/projects/dhis-dev.ifi.uio.no/ci/home/jobs/Dhis2 Service Trunk/modules/org.hisp.dhis$dhis-api/builds/2010-09-03_07-01-46/archive/org.hisp.dhis/dhis-api/2.0.6-SNAPSHOT/pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
Unable to locate the Javac Compiler in:
/usr/lib/jvm/java-1.6.0-sun-1.6.0.21.x86_64/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24 seconds
[INFO] Finished at: Fri Sep 03 07:02:21 CEST 2010
[INFO] Final Memory: 35M/85M
[INFO] ------------------------------------------------------------------------
Sending e-mails to: dhis2-devs@xxxxxxxxxxxxxxxxxxx
channel stopped
Follow ups
References