Skip to content

Commit

Permalink
Add a metadata normalisation tool, sdss-mdnorm, version 1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Jun 25, 2010
1 parent 23180af commit e3b129c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<property name="tools.dir" value="tools"/>
<property name="tools.ant" value="${tools.dir}/ant"/>
<property name="tools.mdcheck" value="${tools.dir}/mdcheck"/>
<property name="tools.mdnorm" value="${tools.dir}/mdnorm"/>
<property name="tools.metadatatool" value="${tools.dir}/metadatatool"/>
<property name="tools.xmlsectool" value="${tools.dir}/xmlsectool"/>
<property name="tools.xalan" value="${tools.dir}/xalan"/>
Expand Down Expand Up @@ -473,6 +474,28 @@
o="${test.prod.unsigned}" />
</target>

<!--
*********************************
*** ***
*** M D N O R M T O O L ***
*** ***
*********************************
-->

<macrodef name="MDNORM">
<attribute name="i"/><!-- input file, assumed to be in the XML directory -->
<sequential>
<java fork="true" maxmemory="${java.max.memory}" failonerror="true" classname="uk.ac.sdss.mdnorm.Normalise">
<classpath>
<fileset dir="${tools.mdnorm}/lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
<arg value="${xml.dir}/@{i}"/>
</java>
</sequential>
</macrodef>

<!--
*********************************************
*** ***
Expand Down
Binary file added tools/mdnorm/lib/sdss-mdnorm-1.0.jar
Binary file not shown.

0 comments on commit e3b129c

Please sign in to comment.