[jboss-cvs] jboss-seam ...

Gavin King gavin.king at jboss.com
Wed Nov 8 23:29:40 EST 2006


  User: gavin   
  Date: 06/11/08 23:29:40

  Modified:    jboss-seam  build.xml
  Log:
  use eclipse compiler, if available
  
  Revision  Changes    Path
  1.101     +22 -8     jboss-seam/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/build.xml,v
  retrieving revision 1.100
  retrieving revision 1.101
  diff -u -b -r1.100 -r1.101
  --- build.xml	7 Nov 2006 02:12:58 -0000	1.100
  +++ build.xml	9 Nov 2006 04:29:40 -0000	1.101
  @@ -319,9 +319,17 @@
               </copy>            
       </target>
   
  -    <target name="compile" depends="init"
  +	<target name="select-compiler">
  +    	<available classname="org.eclipse.jdt.core.JDTCompilerAdapter" 
  +    			property="build.compiler" 
  +    			value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
  +	</target>
  +
  +    <target name="compile" depends="init,select-compiler"
               description="Compile the Java source code">
           <javac
  +        	source="1.5"
  +        	target="1.5"
               destdir="${classes.dir}"
               classpathref="build.classpath"
               debug="${javac.debug}"
  @@ -332,9 +340,11 @@
           </javac>
       </target>
       
  -    <target name="compileui" depends="initui"
  +    <target name="compileui" depends="initui,select-compiler"
               description="Compile the Java source code for the UI package">
           <javac
  +        	source="1.5"
  +        	target="1.5"
               destdir="${uiclasses.dir}"
               classpathref="build.classpath"
               classpath="facelets/lib/jsf-facelets.jar:facelets/lib/el-ri.jar:facelets/lib/el-api.jar"
  @@ -345,9 +355,11 @@
           </javac>
       </target>
       
  -    <target name="compiledebug" depends="initdebug"
  +    <target name="compiledebug" depends="initdebug,select-compiler"
               description="Compile the Java source code for the debug package">
           <javac
  +        	source="1.5"
  +        	target="1.5"
               destdir="${debugclasses.dir}"
               classpathref="build.classpath"
               classpath="facelets/lib/jsf-facelets.jar:facelets/lib/el-ri.jar:facelets/lib/el-api.jar"
  @@ -358,9 +370,11 @@
           </javac>
       </target>
       
  -     <target name="compilegen" depends="initgen"
  +     <target name="compilegen" depends="initgen,select-compiler"
                   description="Compile the Java source code for the seam-gen package">
               <javac
  +            	source="1.5"
  +            	target="1.5"
                   destdir="${genclasses.dir}"
                   classpathref="build.classpath"
                   debug="${javac.debug}"
  
  
  



More information about the jboss-cvs-commits mailing list