Skip to content

Commit

Permalink
Add a target to perform the metadata import transform.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Jun 22, 2009
1 parent bac6067 commit 79d784f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,31 @@
<echo>Verification completed.</echo>
</target>

<!--
*****************************************
*** ***
*** M E T A D A T A I M P O R T ***
*** ***
*****************************************
-->
<target name="import.metadata">
<echo>Importing metadata from ${entities.dir}/import.xml</echo>
<java fork="true" maxmemory="384m" failonerror="true" classname="org.apache.xalan.xslt.Process">
<classpath>
<pathelement location="${lib.dir}/joda-time-1.6.jar"/>
<pathelement path="${bin.dir}"/>
</classpath>
<jvmarg value="-Djava.endorsed.dirs=${endorsed.dir}"/>
<arg value="-IN"/>
<arg value="${entities.dir}/import.xml"/>
<arg value="-OUT"/>
<arg value="${entities.dir}/imported.xml"/>
<arg value="-XSL"/>
<arg value="${build.dir}/import.xsl"/>
</java>
<echo>Imported metadata to ${entities.dir}/imported.xml</echo>
</target>

<!--
*****************************************
*** ***
Expand Down

0 comments on commit 79d784f

Please sign in to comment.