prickett    2002/10/09 09:15:45

  Modified:    periodicity maven.xml project.xml
               periodicity/conf/build build.db.developer.properties
                        build.properties
  Added:       periodicity/conf/build build.junit.properties
  Log:
  Added code to pull the jakarta-avalon-testlet java source out of cvs
  
  Added a build.junit.properties file
  
  Overode the maven test:test goal to define our own tests
  
  Added a dependency to avalon-framework version 4.0
  
  Added a dependency to xalan version 2.3.1
  
  Revision  Changes    Path
  1.10      +13 -0     jakarta-commons-sandbox/periodicity/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/maven.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- maven.xml 9 Oct 2002 07:26:58 -0000       1.9
  +++ maven.xml 9 Oct 2002 16:15:45 -0000       1.10
  @@ -23,6 +23,12 @@
       <get 
src="http://www.ibiblio.org/maven/${periodicity.axion.db.name}/jars/${periodicity.axion.db.name}-${periodicity.axion.database.default.version}.jar";
            
dest="${maven.repo.local}/${periodicity.axion.db.name}/jars/${periodicity.axion.db.name}-${periodicity.axion.database.default.version}.jar"
            ignoreerrors="true" usetimestamp="true"/>
  +    <cvspass cvsroot="${periodicity.testlet.cvs.repository}"
  +             password="${periodicity.testlet.cvs.password}"/>
  +    <cvs command="checkout"
  +         cvsroot="${periodicity.testlet.cvs.repository}"
  +         dest="${periodicity.testlet.home}"
  +         package="${periodicity.testlet.cvs.package}"/>
     </postGoal>      
   
     <preGoal name="java:compile">
  @@ -49,6 +55,13 @@
   
     <goal name="create-db">  
       <ant antfile="build-legacy.xml" target="create-db"/>
  +  </goal>  
  +
  +  <goal name="test:test">
  +    <junit fork="no" printsummary="${periodicity.junit.print.summary}">
  +      <test name="org.apache.commons.periodicity.build.BuildGetDbConnectionTest"/>
  +    </junit>  
  +    <echo>Finished the test</echo>
     </goal>  
   
   </project>  
  
  
  
  1.9       +8 -0      jakarta-commons-sandbox/periodicity/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/project.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- project.xml       9 Oct 2002 07:26:58 -0000       1.8
  +++ project.xml       9 Oct 2002 16:15:45 -0000       1.9
  @@ -96,6 +96,14 @@
         <id>commons-collections</id>
         <version>2.0</version>
       </dependency>  
  +    <dependency>
  +      <id>xalan</id>
  +      <version>2.3.1</version>
  +    </dependency>  
  +    <dependency>
  +      <id>avalon-framework</id>
  +      <version>4.0</version>
  +    </dependency>  
     </dependencies>
   
     <build>
  
  
  
  1.3       +0 -3      
jakarta-commons-sandbox/periodicity/conf/build/build.db.developer.properties
  
  Index: build.db.developer.properties
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/periodicity/conf/build/build.db.developer.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.db.developer.properties     8 Oct 2002 01:14:32 -0000       1.2
  +++ build.db.developer.properties     9 Oct 2002 16:15:45 -0000       1.3
  @@ -4,9 +4,6 @@
   # 
   # -------------------------------------------------------------------
   
  -periodicity.database.port=
  -db.driver.name=
  -
   # -------------------------------------------------------------------
   #
   #  M Y S Q L  D A T A B A S E  S E T T I N G S
  
  
  
  1.2       +4 -0      jakarta-commons-sandbox/periodicity/conf/build/build.properties
  
  Index: build.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/conf/build/build.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.properties  5 Oct 2002 01:35:57 -0000       1.1
  +++ build.properties  9 Oct 2002 16:15:45 -0000       1.2
  @@ -1,2 +1,6 @@
   torque.contextProperties=conf/build/build.torque.properties
   torque.jar=${maven.home}/repository/torque/jars/torque-SNAPSHOT.jar
  +periodicity.testlet.cvs.repository=:pserver:[EMAIL PROTECTED]:/home/cvspublic
  +periodicity.testlet.cvs.password=anoncvs
  +periodicity.testlet.cvs.package=jakarta-avalon-testlet/src/java
  +periodicity.testlet.home=${maven.build.dir}/testlet
  
  
  
  1.1                  
jakarta-commons-sandbox/periodicity/conf/build/build.junit.properties
  
  Index: build.junit.properties
  ===================================================================
  periodicity.junit.print.summary=on
  
  periodicity.junit.driver.class.name.key=driver.class.name
  periodicity.junit.database.url.key=database.url
  periodicity.junit.database.user.key=database.user
  periodicity.junit.database.password.key=database.password
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to