Project

General

Profile

Revision 3817

Added by Jing Tao almost 13 years ago

Add a new target to run the patch which will correct eml201 documents.

View differences:

build.xml
828 828
        </transaction>
829 829
      </sql>
830 830
   </target>
831
	
832
   <target name="correctEML201Docs" depends="jar"
833
		            description="Uses the ant  task to run a JAVA patch class to correct invalide eml201 documents which were generated by wrong schema">
834
	   	<copy todir="${build.dir}" file="lib/metacat.properties" filtering="yes"/>    
835
	   	 <java classname="edu.ucsb.nceas.metacat.EML201DocumentCorrector" >
836
		         <classpath>
837
		          <path refid="compile.classpath"/>
838
		          <fileset dir="${build.dir}">
839
		            <include name="${name}.jar"/>
840
		          </fileset>
841
		        </classpath>
842
		      </java>
843
   </target>
831 844

  
832 845
   <target name="install-spatial" depends="jar,clientjar,harvesterjar"
833 846
           description="Installs spatial option for metacat">

Also available in: Unified diff