Commit 7d8f8ffb authored by Decorde Jeffrey's avatar Decorde Jeffrey

Code refactoring

parent 1889a62b
This diff is collapsed.
......@@ -18,7 +18,7 @@
<property name="lib" location="${{basedir}}/lib"/>
<property name="log" location="${{basedir}}/log"/>
<property name="schema" location="${{basedir}}/schema"/>
<property name="filename" location="${{tmp}}/{$filename}"/>
<property name="filename" location="{$filename}"/>
<taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask">
<classpath>
<pathelement location="../${lib}/jing.jar"/>
......@@ -35,8 +35,8 @@
<xsl:template match="sp:courseUc">
<xslt
in="${{filename}}/outputWithCourseUcIds.xml"
out="${{filename}}/decompressedOpaleDivided/{@data-export-file}"
in="${{tmp}}/${{filename}}/outputWithCourseUcIds.xml"
out="${{tmp}}/${{filename}}/decompressedOpaleDivided/{@data-export-file}"
style="${{xsl}}/copyCourseUc.xsl"
processor="org.apache.tools.ant.taskdefs.optional.TraXLiaison"
>
......@@ -45,7 +45,7 @@
<trycatch property="foo" reference="bar">
<try>
<jing file="${{filename}}/decompressedOpaleDivided/{@data-export-file}" rngfile="${{schema}}/op_expUc.rng"></jing>
<jing file="${{tmp}}/${{filename}}/decompressedOpaleDivided/{@data-export-file}" rngfile="${{schema}}/op_expUc.rng"></jing>
</try>
<catch>
<echo>Validation failed</echo>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment