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

Peter Muir peter at bleepbleep.org.uk
Mon Jun 25 15:14:29 EDT 2007


  User: pmuir   
  Date: 07/06/25 15:14:28

  Modified:    seam-gen/build-scripts  build.xml
  Log:
  validate using antcall, only validate if property set
  
  Revision  Changes    Path
  1.36      +2 -7      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.35
  retrieving revision 1.36
  diff -u -b -r1.35 -r1.36
  --- build.xml	25 Jun 2007 13:18:07 -0000	1.35
  +++ build.xml	25 Jun 2007 19:14:28 -0000	1.36
  @@ -1,9 +1,5 @@
   <?xml version="1.0"?>
   
  -<!DOCTYPE project [
  -    <!ENTITY validate SYSTEM "./validate.xml">
  -]>
  -
   <project name="@projectName@" default="deploy" basedir=".">
   
           <!-- Give user a chance to override without editing this file or typing -D -->
  @@ -39,8 +35,6 @@
   		<property name="src.schema.dir" value="${schema.dir}/org/jboss/seam"/>
   		<property name="schema.version" value="@schemaVersion@" />
   	
  -	&validate;
  -	
           <fileset id="lib" dir="${lib.dir}">
                   <include name="*.jar" />
           </fileset>
  @@ -313,7 +307,7 @@
                   </testng>
           </target>
   	
  -	<target name="initValidateConfiguration" depends="war,ear,jar">
  +	<target name="validateConfiguration" depends="war,ear,jar" description="Validate the xml configuration files">
   		<mkdir dir="${schema.dir}"/>
   		<unjar src="${lib.dir}/jboss-seam.jar" dest="${schema.dir}">
   			<patternset>
  @@ -321,6 +315,7 @@
   				<include name="org/jboss/seam/*.dtd"/>
   			</patternset>
   		</unjar>
  +		<ant antfile="validate.xml" target="validateConfiguration" />
   	</target>
           
   </project>
  
  
  



More information about the jboss-cvs-commits mailing list