Index: buildtest/trunk/build.xml =================================================================== --- buildtest/trunk/build.xml (revision 442089) +++ buildtest/trunk/build.xml (working copy) @@ -22,6 +22,10 @@ http://incubator.apache.org/harmony + + + + @@ -31,7 +35,8 @@ - + + @@ -36,10 +41,51 @@ - - - - + + + + + + + + + + + + + + #it is auto-generated file + + proxy.host.cmd="-Dhttp.proxyHost=${http-proxy-host}" + + proxy.port.cmd="-Dhttp.proxyPort=${need.proxy.port}" + + proxy.host.vm.cmd="-Denv.http.proxyHost=${http-proxy-host}" + + proxy.port.vm.cmd="-Denv.http.proxyPort=${need.proxy.port}" + + cc_webcontent=${target.dir}/webapps/cruisecontrol + + + + + + + #it is auto-generated file + + proxy.host.cmd="-Dno.proxy.host=true" + + proxy.port.cmd="-Dno.proxy.port=true" + + proxy.host.vm.cmd="-Dno.proxy.host=true" + + proxy.port.vm.cmd="-Dno.proxy.port=true" + + cc_webcontent=${target.dir}/webapps/cruisecontrol + + + + - + - - Copying full test configuration for CruiseControl from /config/config-full.xml - + + Copying full test configuration for CruiseControl from /config/config-win.xml + + + + Copying full test configuration for CruiseControl from /config/config-unix.xml + - - + + @@ -68,7 +118,7 @@ - + @@ -97,7 +147,8 @@ - + + @@ -102,10 +153,21 @@ - + + + + + + + timeout=${cycle_timeout} +server_addr=${mail_server} +report_to=${report_failures_to} +report_from=${report_failures_from} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Index: buildtest/trunk/config/config-win.xml =================================================================== --- buildtest/trunk/config/config-win.xml (revision 0) +++ buildtest/trunk/config/config-win.xml (revision 0) @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Index: buildtest/trunk/README.txt =================================================================== --- buildtest/trunk/README.txt (revision 442089) +++ buildtest/trunk/README.txt (working copy) @@ -32,7 +32,9 @@ svn co https://svn.apache.org/repos/asf/incubator/harmony/enhanced/buildtest/trunk -2) With Java, Ant and SVN installed, change into the buildtest/trunk +2) Update cc.property file to actual values. + +3) With Java, Ant and SVN installed, change into the buildtest/trunk directory and type ant setup @@ -40,19 +42,15 @@ This should fetch CruiseControl, set it up with the Apache Harmony configuration, and checkout the software to be built and tested from Apache Harmony. + Also, as part of setup command the external libs for classlib and drlvm modules + will be downloaded and these modules will be built first time. + -3) If you wish to have the tests run successfully, you need to do the +4) If you wish to have the tests run successfully, you need to do the following manual steps for now : - - build the classlib to create the deploy/jdk tree in classlib, first - fetching the dependencies - - cd cc/projects/classlib/trunk - ant fetch-depends - ant - - get the appropriate IBM J9 VM for your platform (this will go - away when DRLVM is good enough + away when DRLVM is good enough) http://www-128.ibm.com/developerworks/java/jdk/harmony/index.html @@ -76,11 +74,25 @@ To Do ----- - 1) Configure CC to send mail to Apache mail lists on transitions + 1) Setup defaultcc.properties and personal buildcc.properties - 2) Setup defaultcc.properties and personal buildcc.properties + 2) Integrate JAPI tool - 3) Integrate JAPI tool - - 4) Integrate X tool - \ No newline at end of file + 3) Integrate X tool + + + FAQ + --- + 1) Q.: The classlib project build/ test runs failed with the message like: +"No supported regular expression matcher found". + A.: Update cruisecontrol.bat (or cruisecontrol.sh) file to add the + ant-apache-regexp.jar archives from ant/lib directory to the 'CRUISE_PATH' + + 2) Q.: The test runs OK, but no passed/ failed information available. + A.: This script was tested and works over the sun jdk only. If you +run it over the BEA jdk it will fail. + + 3) Q.: All classlib tests failed to run java-vm with message like: +"Access is denied.". + A.: Please, checks the 'execution' attribute for the unpacked IBM VM +execution's files.