Integrated r1977: Invoked Xalan using <java> instead of <xslt> to avoid issues with different environments.

git-svn-id: https://svn.libreccm.org/ccm/trunk@274 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2009-10-04 16:59:43 +00:00
parent 3a54653bb7
commit e1985286b0
1 changed files with 67 additions and 55 deletions

View File

@ -47,14 +47,26 @@
targets for compile / build / deploy
uses currently the xsl templates used by the ccm scripts -->
<echo message="Regenerating build-projects.xml" />
<xslt style="${ccm.tools.xsl.dir}/combine.xsl"
in="project.xml"
out=".tmp.project.xml"
classpathref="ccm.tools.classpath" force="yes" />
<xslt style="${ccm.tools.xsl.dir}/build-template.xsl"
in=".tmp.project.xml"
out="build-projects.xml"
classpathref="ccm.tools.classpath" force="yes" />
<java classname="org.apache.xalan.xslt.Process" fork="yes" failonerror="true">
<classpath refid="ccm.tools.classpath"/>
<arg value="-IN"/>
<arg value="project.xml"/>
<arg value="-OUT"/>
<arg value=".tmp.project.xml"/>
<arg value="-XSL"/>
<arg value="${ccm.tools.xsl.dir}/combine.xsl"/>
<arg value="-XML"/>
</java>
<java classname="org.apache.xalan.xslt.Process" fork="yes" failonerror="true">
<classpath refid="ccm.tools.classpath"/>
<arg value="-IN" />
<arg value=".tmp.project.xml"/>
<arg value="-OUT"/>
<arg value="build-projects.xml"/>
<arg value="-XSL"/>
<arg value="${ccm.tools.xsl.dir}/build-template.xsl"/>
<arg value="-XML"/>
</java>
<delete file=".tmp.project.xml"/>
<!-- Building ccm.classpath which used to contain a list with dirs