[jboss-cvs] jboss-seam/seam-gen/build-scripts ...

Gavin King gavin.king at jboss.com
Tue Jan 9 02:10:27 EST 2007


  User: gavin   
  Date: 07/01/09 02:10:27

  Modified:    seam-gen/build-scripts   .classpath build.xml
  Log:
  JBSEAM-645 test dir
  
  Revision  Changes    Path
  1.6       +1 -0      jboss-seam/seam-gen/build-scripts/.classpath
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: .classpath
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/build-scripts/.classpath,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- .classpath	2 Dec 2006 02:40:10 -0000	1.5
  +++ .classpath	9 Jan 2007 07:10:27 -0000	1.6
  @@ -1,6 +1,7 @@
   <?xml version="1.0" encoding="UTF-8"?>
   <classpath>
   	<classpathentry kind="src" path="src"/>
  +    <classpathentry kind="src" path="test"/>
   	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
   	<classpathentry kind="lib" path="embedded-ejb/conf"/>
   	<classpathentry kind="lib" path="resources"/>
  
  
  
  1.17      +21 -19    jboss-seam/seam-gen/build-scripts/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/build-scripts/build.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -b -r1.16 -r1.17
  --- build.xml	9 Jan 2007 06:19:39 -0000	1.16
  +++ build.xml	9 Jan 2007 07:10:27 -0000	1.17
  @@ -9,11 +9,12 @@
   	<property name="project.name" value="@projectName@"/>
   	<property name="dist.dir" value="dist" />
   	<property name="src.java.dir" value="src" />
  +	<property name="src.test.dir" value="test" />
   	<property name="lib.dir" value="lib" />
   	<property name="ear.dir" value="exploded-archives/${project.name}.ear" />
   	<property name="jar.dir" value="exploded-archives/${project.name}.jar" />
   	<property name="war.dir" value="exploded-archives/${project.name}.war" />
  -	<property name="test.dir" value="build/test" />
  +	<property name="test.dir" value="test-build" />
   	<property name="embedded-ejb3.dir" value="${basedir}/embedded-ejb/conf" />
   	<property name="deploy.dir" value="${jboss.home}/server/default/deploy" />
   	<property name="ear.deploy.dir" value="${deploy.dir}/${project.name}.ear" />
  @@ -207,24 +208,25 @@
   
   	<target name="test" depends="jar,war,ear" description="Run the tests">
   
  -		<taskdef resource="testngtasks" classpath="${testng.jar}" />
  +        <mkdir dir="${test.dir}"/>
  +        <javac classpathref="build.classpath"
  +                        destdir="${test.dir}"
  +                          debug="${javac.debug}"
  +                    deprecation="${javac.deprecation}"
  +                        nowarn="on">
  +                <src path="${src.java.dir}" />
  +                <src path="${src.test.dir}" />
  +        </javac>
   		<copy todir="${test.dir}">
   			<fileset dir="${basedir}/resources" />
  -			<fileset dir="${jar.dir}" />
  -		</copy>
  -
  -		<copy todir="${test.dir}/WEB-INF">
  -			<fileset dir="${war.dir}/WEB-INF">
  -				<exclude name="**/*.jar" />
  -			</fileset>
   		</copy>
  -
   		<copy todir="${test.dir}" flatten="true">
  -			<fileset dir="${src.java.dir}">
  +			<fileset dir="${src.test.dir}">
   				<include name="**/*Test.xml" />
   			</fileset>
   		</copy>
   
  +		<taskdef resource="testngtasks" classpath="${testng.jar}" />
   		<testng outputdir="${basedir}/testng-report">
   			<classpath path="${test.dir}" />
   			<classpath path="${embedded-ejb3.dir}" />
  
  
  



More information about the jboss-cvs-commits mailing list