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

Gavin King gavin.king at jboss.com
Sun Jan 28 22:52:40 EST 2007


  User: gavin   
  Date: 07/01/28 22:52:40

  Modified:    seam-gen/build-scripts  build.xml
  Log:
  use the classes compiled by eclipse
  
  Revision  Changes    Path
  1.20      +14 -3     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.19
  retrieving revision 1.20
  diff -u -b -r1.19 -r1.20
  --- build.xml	29 Jan 2007 03:42:45 -0000	1.19
  +++ build.xml	29 Jan 2007 03:52:40 -0000	1.20
  @@ -41,7 +41,8 @@
   	</target>
   
   	<target name="compile" depends="init" 
  -			description="Compile the Java source code">
  +			description="Compile the Java source code"
  +		    unless="eclipse.running">
   		<javac classpathref="build.classpath" 
   			        destdir="${jar.dir}" 
   			          debug="${javac.debug}" 
  @@ -51,7 +52,17 @@
   		</javac>
   	</target>
   
  -	<target name="jar" depends="compile" 
  +	<target name="copyclasses" depends="init" 
  +			description="Copy the classes that were compiled by eclipse"
  +		    if="eclipse.running">
  +		<copy todir="${jar.dir}">
  +			<fileset dir="${test.dir}">
  +				<include name="**/*.class"/>
  +			</fileset>
  +		</copy>
  +	</target>
  +
  +	<target name="jar" depends="compile,copyclasses" 
   			description="Build the distribution .jar file">
   		<copy todir="${jar.dir}">
   			<fileset dir="${basedir}/resources">
  @@ -207,7 +218,7 @@
   		</delete>
   	</target>
   
  -	<target name="compiletest" unless="eclipse.running">
  +	<target name="compiletest" unless="eclipse.running" description="Compile the Java source code for the tests">
           <mkdir dir="${test.dir}"/>
           <javac classpathref="build.classpath"
                           destdir="${test.dir}"
  
  
  



More information about the jboss-cvs-commits mailing list