You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(111) |
Jul
(258) |
Aug
(21) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <sim...@us...> - 2002-06-24 06:08:02
|
Update of /cvsroot/cdchamber/CDChamber In directory usw-pr-cvs1:/tmp/cvs-serv31151 Modified Files: build.xml cruisecontrol.properties Log Message: Can automatic convert log file from xml to html, and browse from web. Index: build.xml =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** build.xml 24 Jun 2002 05:47:28 -0000 1.7 --- build.xml 24 Jun 2002 06:07:59 -0000 1.8 *************** *** 123,127 **** <target name="convertLogs" description="Convert the log files from xml to html"> ! <java dir="." fork="false" classname="Xml2Html"> <arg value="logs"/> <arg value="script/log.xsl"/> --- 123,127 ---- <target name="convertLogs" description="Convert the log files from xml to html"> ! <java dir="." fork="true" classname="Xml2Html"> <arg value="logs"/> <arg value="script/log.xsl"/> *************** *** 135,139 **** </target> ! <target name="modificationcheck" depends="init, convertLogs" description="Check modifications since last build"> <taskdef name="modificationset" classname="net.sourceforge.cruisecontrol.ModificationSet"/> <echo message="Checking for modifications..."/> --- 135,139 ---- </target> ! <target name="modificationcheck" depends="init,convertLogs" description="Check modifications since last build"> <taskdef name="modificationset" classname="net.sourceforge.cruisecontrol.ModificationSet"/> <echo message="Checking for modifications..."/> *************** *** 144,149 **** </target> ! <target name="masterbuild" depends="modificationcheck,checkout,compile,test.run,jar" ! description="Cruise control master build"/> <target name="cleanbuild" depends="clean,masterbuild" description="Cruise control clean build"/> --- 144,151 ---- </target> ! <target name="masterbuild" depends="modificationcheck,checkout,compile,test.run,jar" description="Cruise control master build"> ! <echo message="hahahahaha"/> ! </target> ! <target name="cleanbuild" depends="clean,masterbuild" description="Cruise control clean build"/> Index: cruisecontrol.properties =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/cruisecontrol.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** cruisecontrol.properties 24 Jun 2002 05:05:56 -0000 1.3 --- cruisecontrol.properties 24 Jun 2002 06:07:59 -0000 1.4 *************** *** 223,227 **** # This value must be set ############################################################################## ! servletURL = http://not.available.yeat/please/see/the/log/file/on/shell ############################################################################## --- 223,227 ---- # This value must be set ############################################################################## ! servletURL = http://cdchamber.sourceforge.net/cgi-bin/viewlog.pl ############################################################################## |
From: <sim...@us...> - 2002-06-24 05:47:31
|
Update of /cvsroot/cdchamber/CDChamber In directory usw-pr-cvs1:/tmp/cvs-serv27214 Modified Files: build.xml Log Message: Minor fix for my typo. Index: build.xml =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/build.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** build.xml 24 Jun 2002 05:45:12 -0000 1.6 --- build.xml 24 Jun 2002 05:47:28 -0000 1.7 *************** *** 135,139 **** </target> ! <target name="modificationcheck" depends="init" description="Check modifications since last build"> <taskdef name="modificationset" classname="net.sourceforge.cruisecontrol.ModificationSet"/> <echo message="Checking for modifications..."/> --- 135,139 ---- </target> ! <target name="modificationcheck" depends="init, convertLogs" description="Check modifications since last build"> <taskdef name="modificationset" classname="net.sourceforge.cruisecontrol.ModificationSet"/> <echo message="Checking for modifications..."/> |
From: <sim...@us...> - 2002-06-24 05:45:15
|
Update of /cvsroot/cdchamber/CDChamber/script In directory usw-pr-cvs1:/tmp/cvs-serv26742/script Added Files: Xml2Html.java Log Message: Auto convert build log from xml to html files. So we can browser them. --- NEW FILE: Xml2Html.java --- /* * User: Simon * Date: 2002-6-24 * Time: 13:30:01 * $Id: Xml2Html.java,v 1.1 2002/06/24 05:45:13 simon_lei Exp $ */ import java.io.PrintStream; import java.io.FileOutputStream; import java.io.FileNotFoundException; import java.io.File; /** * Convert xml to html by xslt. only works with JDK1.4 * Used for contious integrate, needn't to be auto built. */ public class Xml2Html { public static void main( String []args) { try { File logDir = new File( args[0]); String[] files = logDir.list(); for ( int i=0; i<files.length; i++) { String fileName = files[i]; if ( fileName.toLowerCase().endsWith( ".xml")) { String xmlFile = fileName; String xslFile = args[1]; String htmlFile = fileName+".html"; try { xsltConvert(xslFile, xmlFile, htmlFile); } catch (FileNotFoundException e) { } } } } catch ( Exception e) { System.out.println( "Can't generate output, contact with sim...@us..."+e.getMessage()); } } private static void xsltConvert(String xslFile, String xmlFile, String htmlFile) throws FileNotFoundException { TransformerFactory tFactory = TransformerFactory.newInstance(); Transformer transformer = tFactory.newTransformer(new StreamSource(xslFile)); transformer.transform( new StreamSource( xmlFile), new StreamResult( new PrintStream( new FileOutputStream( htmlFile))) ); } } |
From: <sim...@us...> - 2002-06-24 05:45:15
|
Update of /cvsroot/cdchamber/CDChamber In directory usw-pr-cvs1:/tmp/cvs-serv26742 Modified Files: build.xml Log Message: Auto convert build log from xml to html files. So we can browser them. Index: build.xml =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.xml 23 Jun 2002 08:59:20 -0000 1.5 --- build.xml 24 Jun 2002 05:45:12 -0000 1.6 *************** *** 10,13 **** --- 10,14 ---- <property name="test.dir" value="test"/> <property name="aspect.dir" value="aspect"/> + <property name="script.dir" value="script"/> <property name="test.src" value="${test.dir}/src"/> *************** *** 119,122 **** --- 120,136 ---- <target name="checkout" description="Update package from CVS"> <cvs cvsroot="${cvs.repository}" package="${cvs.package}" dest=".."/> + </target> + + <target name="convertLogs" description="Convert the log files from xml to html"> + <java dir="." fork="false" classname="Xml2Html"> + <arg value="logs"/> + <arg value="script/log.xsl"/> + <classpath> + <path refid="classpath" /> + <pathelement path="${build.dest}" /> + <pathelement path="${script.dir}" /> + <pathelement path="${java.class.path}" /> + </classpath> + </java> </target> |
From: <sim...@us...> - 2002-06-24 05:29:08
|
Update of /cvsroot/cdchamber/CDChamber/script In directory usw-pr-cvs1:/tmp/cvs-serv24549/script Log Message: Directory /cvsroot/cdchamber/CDChamber/script added to the repository |
From: <sim...@us...> - 2002-06-24 05:06:00
|
Update of /cvsroot/cdchamber/CDChamber In directory usw-pr-cvs1:/tmp/cvs-serv20288 Modified Files: cruisecontrol.properties Log Message: Compile server don't support servlet, so we can't visit the build log by browser. Index: cruisecontrol.properties =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/cruisecontrol.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** cruisecontrol.properties 23 Jun 2002 10:07:59 -0000 1.2 --- cruisecontrol.properties 24 Jun 2002 05:05:56 -0000 1.3 *************** *** 223,227 **** # This value must be set ############################################################################## ! servletURL = http://192.168.0.2/buildservlet/BuildServlet ############################################################################## --- 223,227 ---- # This value must be set ############################################################################## ! servletURL = http://not.available.yeat/please/see/the/log/file/on/shell ############################################################################## |
From: <sim...@us...> - 2002-06-23 10:08:03
|
Update of /cvsroot/cdchamber/CDChamber In directory usw-pr-cvs1:/tmp/cvs-serv27783 Modified Files: contiousIntegrate.sh cruisecontrol.properties Log Message: Attempt to make the continuous integrate work. Index: contiousIntegrate.sh =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/contiousIntegrate.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** contiousIntegrate.sh 23 Jun 2002 04:12:31 -0000 1.1 --- contiousIntegrate.sh 23 Jun 2002 10:07:59 -0000 1.2 *************** *** 6,9 **** --- 6,12 ---- # We use cruisecontrol. + # Set the project lib directory + PROJECT_LIB=lib + # Unzip the cruise control into ../cc directory. CRUISE_HOME=../cc *************** *** 13,19 **** # Add the necessary jar files into the classpath ! for c in $LIB_DIR/*.jar $CRUISE_HOME/*.jar $CRUISE_LIB/*.jar do ! CRUISE_PATH=$CRUISE_PATH:$c done --- 16,22 ---- # Add the necessary jar files into the classpath ! for c in $PROJECT_LIB/*.jar $LIB_DIR/*.jar $CRUISE_LIB/*.jar do ! CRUISE_PATH=$c:$CRUISE_PATH done Index: cruisecontrol.properties =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/cruisecontrol.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cruisecontrol.properties 23 Jun 2002 04:12:31 -0000 1.1 --- cruisecontrol.properties 23 Jun 2002 10:07:59 -0000 1.2 *************** *** 160,164 **** # is no corresponding entry in the email map. ############################################################################## ! defaultEmailSuffix = ############################################################################## --- 160,164 ---- # is no corresponding entry in the email map. ############################################################################## ! defaultEmailSuffix =@lists.sourceforge.net ############################################################################## *************** *** 171,175 **** # This value must be set ############################################################################## ! returnAddress = simon@localhost ############################################################################## --- 171,175 ---- # This value must be set ############################################################################## ! returnAddress = cdc...@li... ############################################################################## *************** *** 179,183 **** # This may be an alias resolved in the email map. ############################################################################## ! buildmaster = simon@localhost ############################################################################## --- 179,183 ---- # This may be an alias resolved in the email map. ############################################################################## ! buildmaster = cdc...@li... ############################################################################## *************** *** 187,191 **** # This may be an alias resolved in the email map. ############################################################################## ! notifyOnFailure = simon@localhost ############################################################################## --- 187,191 ---- # This may be an alias resolved in the email map. ############################################################################## ! notifyOnFailure = cdc...@li... ############################################################################## |
From: <sim...@us...> - 2002-06-23 10:08:03
|
Update of /cvsroot/cdchamber/CDChamber/src In directory usw-pr-cvs1:/tmp/cvs-serv27783/src Modified Files: cdchamber.xsd Log Message: Attempt to make the continuous integrate work. Index: cdchamber.xsd =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/src/cdchamber.xsd,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** cdchamber.xsd 23 Jun 2002 08:59:20 -0000 1.2 --- cdchamber.xsd 23 Jun 2002 10:07:59 -0000 1.3 *************** *** 1,5 **** <?xml version="1.0" encoding="UTF-8"?> <!-- edited with XML Spy v4.1 U (http://www.xmlspy.com) by Simon (USTC) --> ! <!-- $Id --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:complexType name="FileType"> --- 1,5 ---- <?xml version="1.0" encoding="UTF-8"?> <!-- edited with XML Spy v4.1 U (http://www.xmlspy.com) by Simon (USTC) --> ! <!-- $Id$ --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:complexType name="FileType"> |
From: <sim...@us...> - 2002-06-23 08:59:25
|
Update of /cvsroot/cdchamber/CDChamber In directory usw-pr-cvs1:/tmp/cvs-serv16797 Modified Files: TODO.txt build.xml Log Message: Minor change to cdchamber.xsd. Add master build task to build.xml, for continous integrate. Change TODO to Emacs style. Index: TODO.txt =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/TODO.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TODO.txt 23 Jun 2002 04:12:31 -0000 1.1 --- TODO.txt 23 Jun 2002 08:59:20 -0000 1.2 *************** *** 1,5 **** # The things need to be done. # $Id$ ! 1. Enable the cvs commit email notify. ! 2. Enable the contious itegrate. ! 3. Let the java files can be generated from xsd files automatically. --- 1,6 ---- # The things need to be done. # $Id$ ! x : Enable the cvs commit email notify. ! + : Enable the contious itegrate. ! x : Let the java files can be generated from xsd files automatically. ! + : Auto update the castor.jar's castorbuilder.properties. Index: build.xml =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build.xml 23 Jun 2002 06:03:07 -0000 1.4 --- build.xml 23 Jun 2002 08:59:20 -0000 1.5 *************** *** 41,44 **** --- 41,47 ---- <srcfiles dir= "${src.dir}" includes="**/*.xsd"/> </uptodate> + <uptodate property="castor.newVersion" targetfile="${src.dir}/org/cdchamber/elements/FileType.java" > + <srcfiles dir= "${src.dir}" includes="**/*.xsd"/> + </uptodate> </target> *************** *** 109,112 **** --- 112,139 ---- <echo message="Application built!"/> </target> + + <!-- The lines below are added for the contious integrate --> + <property name="cvs.repository" value=":ext:simon_lei@cvs1:/cvsroot/cdchamber"/> + <property name="cvs.package" value="CDChamber"/> + + <target name="checkout" description="Update package from CVS"> + <cvs cvsroot="${cvs.repository}" package="${cvs.package}" dest=".."/> + </target> + + <target name="modificationcheck" depends="init" description="Check modifications since last build"> + <taskdef name="modificationset" classname="net.sourceforge.cruisecontrol.ModificationSet"/> + <echo message="Checking for modifications..."/> + <modificationset lastbuild="${lastBuildAttemptTime}" quietperiod="30" + dateformat="yyyy-MMM-dd HH:mm:ss"> + <cvselement cvsroot="${cvs.repository}"/> + </modificationset> + </target> + + <target name="masterbuild" depends="modificationcheck,checkout,compile,test.run,jar" + description="Cruise control master build"/> + + <target name="cleanbuild" depends="clean,masterbuild" description="Cruise control clean build"/> + + </project> |
From: <sim...@us...> - 2002-06-23 08:59:24
|
Update of /cvsroot/cdchamber/CDChamber/src In directory usw-pr-cvs1:/tmp/cvs-serv16797/src Modified Files: cdchamber.xsd Log Message: Minor change to cdchamber.xsd. Add master build task to build.xml, for continous integrate. Change TODO to Emacs style. Index: cdchamber.xsd =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/src/cdchamber.xsd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cdchamber.xsd 23 Jun 2002 04:12:31 -0000 1.1 --- cdchamber.xsd 23 Jun 2002 08:59:20 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- <?xml version="1.0" encoding="UTF-8"?> + <!-- edited with XML Spy v4.1 U (http://www.xmlspy.com) by Simon (USTC) --> <!-- $Id --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> *************** *** 12,16 **** <xs:extension base="FileType"> <xs:choice> ! <xs:element name="file" type="FileType" minOccurs="0" maxOccurs="unbounded"/> </xs:choice> </xs:extension> --- 13,17 ---- <xs:extension base="FileType"> <xs:choice> ! <xs:element name="files" type="FileType" minOccurs="0" maxOccurs="unbounded"/> </xs:choice> </xs:extension> |
From: <cry...@us...> - 2002-06-23 06:03:11
|
Update of /cvsroot/cdchamber/CDChamber In directory usw-pr-cvs1:/tmp/cvs-serv26468 Modified Files: build.xml Log Message: put test class files to build/test instead of build/classes because we generate jar file from build/classes while we don't want to jar test class files Index: build.xml =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build.xml 23 Jun 2002 05:13:20 -0000 1.3 --- build.xml 23 Jun 2002 06:03:07 -0000 1.4 *************** *** 15,20 **** <property name="build.dest" value="${build.dir}/classes"/> ! <property name="test.classes" value="${build.dest}"/> ! <property name="aspect.classes" value="${build.dest}"/> <property name="jar.dir" value="${build.dir}/lib"/> --- 15,20 ---- <property name="build.dest" value="${build.dir}/classes"/> ! <property name="test.classes" value="${build.dir}/test"/> ! <property name="aspect.classes" value="${build.dir}/aspect"/> <property name="jar.dir" value="${build.dir}/lib"/> *************** *** 33,41 **** <mkdir dir="${build.dir}"/> <mkdir dir="${build.dest}"/> <mkdir dir="${logdir}"/> <mkdir dir="${jar.dir}"/> <mkdir dir="${junit.results}"/> ! <uptodate property="xmlBuild.notRequired" targetfile="${src.dir}/org.cdchamber.elements.FileType.java" > ! <srcfiles dir= "${src.dir}" includes="**/*.xsd"/> </uptodate> </target> --- 33,43 ---- <mkdir dir="${build.dir}"/> <mkdir dir="${build.dest}"/> + <mkdir dir="${test.classes}"/> + <mkdir dir="${aspect.classes}"/> <mkdir dir="${logdir}"/> <mkdir dir="${jar.dir}"/> <mkdir dir="${junit.results}"/> ! <uptodate property="xmlBuild.notRequired" targetfile="${src.dir}/org/cdchamber/elements/FileType.java" > ! <srcfiles dir= "${src.dir}" includes="**/*.xsd"/> </uptodate> </target> *************** *** 86,89 **** --- 88,92 ---- <classpath> <path refid="classpath" /> + <pathelement path="${test.classes}" /> <pathelement path="${build.dest}" /> <pathelement path="${java.class.path}" /> *************** *** 92,96 **** <formatter type="xml"/> <batchtest todir="${junit.results}"> ! <fileset dir="${build.dest}" includes="**/*Test.class"/> </batchtest> </junit> --- 95,99 ---- <formatter type="xml"/> <batchtest todir="${junit.results}"> ! <fileset dir="${test.classes}" includes="**/*Test.class"/> </batchtest> </junit> |
From: <cry...@us...> - 2002-06-23 05:13:24
|
Update of /cvsroot/cdchamber/CDChamber In directory usw-pr-cvs1:/tmp/cvs-serv20683 Modified Files: build.xml Log Message: fix build.xml <junit> directory problem Index: build.xml =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/build.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** build.xml 23 Jun 2002 04:12:31 -0000 1.2 --- build.xml 23 Jun 2002 05:13:20 -0000 1.3 *************** *** 83,87 **** <target name="test.run" depends="test.compile" description="Run unit tests"> ! <junit fork="yes" haltonfailure="yes"> <classpath> <path refid="classpath" /> --- 83,87 ---- <target name="test.run" depends="test.compile" description="Run unit tests"> ! <junit fork="yes" haltonfailure="yes" dir="."> <classpath> <path refid="classpath" /> |
From: <sim...@us...> - 2002-06-23 04:12:35
|
Update of /cvsroot/cdchamber/CDChamber/lib In directory usw-pr-cvs1:/tmp/cvs-serv13811/lib Modified Files: jarfiles.lst Log Message: Add the contious integrate script and properites files. Make the java files can be generated from the xsd file. But uptodate check still don't work. I will check it afternoon. Index: jarfiles.lst =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/lib/jarfiles.lst,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** jarfiles.lst 22 Jun 2002 06:41:10 -0000 1.1.1.1 --- jarfiles.lst 23 Jun 2002 04:12:31 -0000 1.2 *************** *** 7,9 **** aspectj-ant.jar aspectjtools.jar ! junit.jar \ No newline at end of file --- 7,10 ---- aspectj-ant.jar aspectjtools.jar ! junit.jar ! castor-0.9.3.19.jar \ No newline at end of file |
From: <sim...@us...> - 2002-06-23 04:12:34
|
Update of /cvsroot/cdchamber/CDChamber In directory usw-pr-cvs1:/tmp/cvs-serv13811 Modified Files: build.xml Added Files: TODO.txt contiousIntegrate.sh cruisecontrol.properties Log Message: Add the contious integrate script and properites files. Make the java files can be generated from the xsd file. But uptodate check still don't work. I will check it afternoon. --- NEW FILE: TODO.txt --- # The things need to be done. # $Id: TODO.txt,v 1.1 2002/06/23 04:12:31 simon_lei Exp $ 1. Enable the cvs commit email notify. 2. Enable the contious itegrate. 3. Let the java files can be generated from xsd files automatically. --- NEW FILE: contiousIntegrate.sh --- #!/bin/bash # # $Id: contiousIntegrate.sh,v 1.1 2002/06/23 04:12:31 simon_lei Exp $ # # This script is to run the continous integrate of the project. # We use cruisecontrol. # Unzip the cruise control into ../cc directory. CRUISE_HOME=../cc CRUISE_LIB=$CRUISE_HOME/lib # Put the necessary jar files under the ../lib directory LIB_DIR=../lib # Add the necessary jar files into the classpath for c in $LIB_DIR/*.jar $CRUISE_HOME/*.jar $CRUISE_LIB/*.jar do CRUISE_PATH=$CRUISE_PATH:$c done # Add the java tools.jar into the classpath. CRUISE_PATH=$CRUISE_PATH:.:$JAVA_HOME/lib/tools.jar EXEC="java -cp $CRUISE_PATH net.sourceforge.cruisecontrol.MasterBuild $@" echo $EXEC $EXEC --- NEW FILE: cruisecontrol.properties --- ############################################################################## # CRUISECONTROL PROPERTIES FILE # $Id: cruisecontrol.properties,v 1.1 2002/06/23 04:12:31 simon_lei Exp $ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # This file, which conforms to the java.util.Properties file # definition, configures your continuously integrating master build. # Chances are good that you cannot run the master build without # configuring this file. ############################################################################## ############################################################################## # ANT BUILD FILE # # Ant file to execute. CruiseControl will ask Ant to execute this file. # # Defaults to build.xml ############################################################################## antfile = build.xml ############################################################################## # ANT TARGET # # If the target which CruiseControl should execute is not the default, specify # the target name here. # # Defaults to masterbuild ############################################################################## target = masterbuild ############################################################################## # CLEAN BUILD INTERVAL # # A clean build will be performed every cleanBuildEvery build. For example, # setting this to 10 means that a clean build will be performed every 10th # cycle through the build process. # # This value must be set ############################################################################## cleanBuildEvery = 10 ############################################################################## # ANT CLEAN TARGET # # Target which should include building, but just unconditionally clean first. # This target will be run every n builds, as specified by the cleanBuildEvery # property. This can help ensure that no integration issues creep into the build, # while keeping build times down. # # Defaults to cleanbuild ############################################################################## cleantarget = cleanbuild ############################################################################## # BUILD INTERVAL # # Time between builds, in seconds. # # This value must be set ############################################################################## buildinterval = 30 ############################################################################## # ABSOLUTE INTERVAL # # If this is true, the interval period is interpreted as being from the start # of the build attempt. If this is false, it is interpreted as being from the # end of the build attempt. # # Defaults to false. ############################################################################## absoluteInterval = ############################################################################## # AUXILIARY XML LOG FILES # # Comma delimited list of Ant property names that refer to xml log files which # should be merged into the composite log file produced by each build. This might # include logs like an xml log from Junit tests. This property should probably # always include the modificationset.file property to include the list of # of modifications from the current build. If the property refers to a directory, # all xml files in the directory will be included. ############################################################################## auxlogfiles = modificationset.file, junit.results ############################################################################## # LOG DIRECTORY # # This is the directory CruiseControl should write logs files to. # # Defaults to logs ############################################################################## logDir = logs ############################################################################## # BUILD STATUS INFORMATION FILE # # File that contains the time that the current build started or when the next build # will start. This file will be updated by CruiseControl to indicate when the # next build will start, or if a build is currently running, when that began. # This should be provided to the CruiseControl servlet to display that a build is # currently running/not running. See the WAR file for more details. # # Defaults to currentbuild.txt ############################################################################## currentBuildStatusFile = currentbuild.txt ############################################################################## # DEBUG FLAG # # True or false to set Ant and CruiseControl in debug mode. # # Defaults to false ############################################################################## debug = false ############################################################################## # VERBOSE FLAG # # True or false to set Ant and CruiseControl in verbose mode. # # Defaults to false ############################################################################## verbose = true ############################################################################## # MAPPING SOURCE CONTROL USER NAMES TO EMAIL ADDRESSES # # True or false to set CruiseControl to use the source control systems user names # # Defaults to false. ############################################################################## mapSourceControlUsersToEmail = ############################################################################## # SMTP MAIL SERVER # # The ip address or domain name of your stmp server. This will be passed directly # to the JavaMail SMTP service provider and should conform to that format. # # This value must be set ############################################################################## mailhost = localhost ############################################################################## # EMAIL MAP # # Absolute path to email map properties file. # If this is left blank than no email aliasing will occur. # The email map properties file contains actual email addresses for those users # listed in the modifications received from your source control system. ############################################################################## emailmap = ############################################################################## # DEFAULT EMAIL SUFFIX # # Suffix in the form "@users.sourceforge.net" that is appended to e-mail user # names if and only if the names are not already fully qualified AND there # is no corresponding entry in the email map. ############################################################################## defaultEmailSuffix = ############################################################################## # RETURN EMAIL ADDRESS # # Return address for build notification emails. # Full email address which will be included as the return address. This may also # include an email alias which will be resolved by the email map. # # This value must be set ############################################################################## returnAddress = simon@localhost ############################################################################## # BUILD MASTER EMAIL ADDRESS # # Email address that will be included on the email list for every build. # This may be an alias resolved in the email map. ############################################################################## buildmaster = simon@localhost ############################################################################## # FAILURE NOTIFICATION EMAIL ADDRESS # # Email address that will be included on the email list for every build which fails. # This may be an alias resolved in the email map. ############################################################################## notifyOnFailure = simon@localhost ############################################################################## # REPORT SUCCESSFUL BUILDS # # Specifies whether email reports should be sent for successful builds. Valid values # are: # always: always send email reports when builds succeed. # fixes: only send email reports if the most recent build succeeded after one or more # previous builds failed. # never: never send email reports for successful builds. # # Defaults to always ############################################################################## reportSuccess = fixes ############################################################################## # SPAM WHILE BROKEN # # Specifies whether email reports should be sent repeatedly for broken builds. # Set this to 'false' if you only want to be notified once when a build fails # and not again until the source is modified. # # Defaults to false ############################################################################## spamWhileBroken = false ############################################################################## # SERVLET URL # A URL included in build notification emails. This should be the URL which notified # users will access to view information about the build process. For example, consider # using the BuildServlet provided with CruiseControl. Deploy the servlet WAR file in your # Web Container and place the URL here. # # This value must be set ############################################################################## servletURL = http://192.168.0.2/buildservlet/BuildServlet ############################################################################## # LABEL INCREMENTER # # Class which handles incrementing the build label for successful builds. # Note that a default label incrementation scheme has been implemented which accepts # build labels in the format "x.y", where x is any String and y is an integer # which will be incremented with each successful build. Leaving this value blank, or # commented out will use the default incrementer. Otherwise, you may write a concrete class # which implements the LabelIncrementer interface to handle your custom incrementation # scheme. Include the compiled class in your classpath and indicate the fully qualified # class name here. # # Default Label Incrementer #labelIncrementerClass=net.sourceforge.cruisecontrol.DefaultLabelIncrementer # ############################################################################## Index: build.xml =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/build.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** build.xml 22 Jun 2002 06:41:10 -0000 1.1.1.1 --- build.xml 23 Jun 2002 04:12:31 -0000 1.2 *************** *** 36,39 **** --- 36,42 ---- <mkdir dir="${jar.dir}"/> <mkdir dir="${junit.results}"/> + <uptodate property="xmlBuild.notRequired" targetfile="${src.dir}/org.cdchamber.elements.FileType.java" > + <srcfiles dir= "${src.dir}" includes="**/*.xsd"/> + </uptodate> </target> *************** *** 42,46 **** </target> ! <target name="compilewithoutajc" depends="init" description="Compile application without aspectj"> <javac srcdir="${src.dir}" destdir="${build.dest}" classpathref="classpath" includes="**/*.java" debug="true" deprecation="true" /> --- 45,60 ---- </target> ! ! <target name="src_gen" depends="init" description="Generate src files from xsd files" unless="xmlBuild.notRequired"> ! <java classname="org.exolab.castor.builder.SourceGenerator" fork="true" dir="${src.dir}"> ! <arg line="-i cdchamber.xsd -package org.cdchamber.elements -verbose -types j2 -nodesc -f"/> ! <classpath> ! <path refid="classpath" /> ! <pathelement path="${java.class.path}" /> ! </classpath> ! </java> ! </target> ! ! <target name="compilewithoutajc" depends="src_gen" description="Compile application without aspectj"> <javac srcdir="${src.dir}" destdir="${build.dest}" classpathref="classpath" includes="**/*.java" debug="true" deprecation="true" /> *************** *** 69,73 **** <target name="test.run" depends="test.compile" description="Run unit tests"> - <echo message="Running unit tests..."/> <junit fork="yes" haltonfailure="yes"> <classpath> --- 83,86 ---- |
From: <sim...@us...> - 2002-06-23 04:12:34
|
Update of /cvsroot/cdchamber/CDChamber/src In directory usw-pr-cvs1:/tmp/cvs-serv13811/src Added Files: cdchamber.xsd Log Message: Add the contious integrate script and properites files. Make the java files can be generated from the xsd file. But uptodate check still don't work. I will check it afternoon. --- NEW FILE: cdchamber.xsd --- <?xml version="1.0" encoding="UTF-8"?> <!-- $Id --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:complexType name="FileType"> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="size" type="xs:long" use="required"/> <xs:attribute name="desc" type="xs:string" use="optional"/> <xs:attribute name="date" type="xs:long" use="required"/> </xs:complexType> <xs:complexType name="DirectoryType" mixed="true"> <xs:complexContent mixed="true"> <xs:extension base="FileType"> <xs:choice> <xs:element name="file" type="FileType" minOccurs="0" maxOccurs="unbounded"/> </xs:choice> </xs:extension> </xs:complexContent> </xs:complexType> </xs:schema> |
From: <sim...@us...> - 2002-06-22 06:57:38
|
Update of /cvsroot/cdchamber/CDChamber/test/src/org/cdchamber/util/testtools In directory usw-pr-cvs1:/tmp/cvs-serv24210 Modified Files: FileComparatorTest.java Log Message: Remove the conflict after the cvs recovered. Index: FileComparatorTest.java =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/test/src/org/cdchamber/util/testtools/FileComparatorTest.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 |