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

Gavin King gavin.king at jboss.com
Sun Jan 28 21:22:10 EST 2007


  User: gavin   
  Date: 07/01/28 21:22:10

  Modified:    seam-gen/build-scripts   .exploded.launch build.xml
  Log:
  fix problem running tests in eclipse
  
  Revision  Changes    Path
  1.3       +1 -0      jboss-seam/seam-gen/build-scripts/.exploded.launch
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: .exploded.launch
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/seam-gen/build-scripts/.exploded.launch,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- .exploded.launch	8 Nov 2006 01:48:43 -0000	1.2
  +++ .exploded.launch	29 Jan 2007 02:22:10 -0000	1.3
  @@ -14,6 +14,7 @@
   	<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
   	<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="clean,unexplode,restart,"/>
   	<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AUTO_TARGETS" value="explode,"/>
  +    <stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-Dprofile=test"/>
   	<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="@projectName@"/>
   	<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
   		<listEntry value="/@projectName@/build.xml"/>
  
  
  
  1.18      +15 -4     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.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- build.xml	9 Jan 2007 07:10:27 -0000	1.17
  +++ build.xml	29 Jan 2007 02:22:10 -0000	1.18
  @@ -199,6 +199,8 @@
   		<delete dir="${test.dir}" />
   		<delete dir="${ear.dir}" />
   		<delete dir="${war.dir}" />
  +		<delete dir="${basedir}/test-report"/>
  +		<delete dir="${basedir}/test-output"/>
   		<delete>
   			<fileset dir="${jar.dir}">
   				<exclude name="**/*.class" if="eclipse.running"/>
  @@ -218,8 +220,17 @@
                   <src path="${src.test.dir}" />
           </javac>
   		<copy todir="${test.dir}">
  -			<fileset dir="${basedir}/resources" />
  +			<fileset dir="${basedir}/resources">
  +				<exclude name="persistence*.xml"/>
  +				<exclude name="import*.sql"/>
  +			</fileset>
   		</copy>
  +		<copy tofile="${test.dir}/META-INF/persistence.xml" 
  +			    file="${basedir}/resources/META-INF/persistence-test.xml"
  +		   overwrite="true"/>
  +		<copy tofile="${test.dir}/import.sql" 
  +			    file="${basedir}/resources/import-test.sql"
  +		   overwrite="true"/>
   		<copy todir="${test.dir}" flatten="true">
   			<fileset dir="${src.test.dir}">
   				<include name="**/*Test.xml" />
  @@ -227,7 +238,7 @@
   		</copy>
   		
   		<taskdef resource="testngtasks" classpath="${testng.jar}" />
  -		<testng outputdir="${basedir}/testng-report">
  +		<testng outputdir="${basedir}/test-report">
   			<classpath path="${test.dir}" />
   			<classpath path="${embedded-ejb3.dir}" />
   			<classpath refid="build.classpath" />
  
  
  



More information about the jboss-cvs-commits mailing list