Commit 14b9f506 authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Now, empty dirs in samples/ are copied, LICENSE.TXT and MANIFEST.MF are copied too

parent 021df252
<!-- $Id: build.xml,v 1.26 2002-10-07 15:01:10 triolet Exp $ -->
<!-- $Id: build.xml,v 1.27 2002-10-08 13:13:40 triolet Exp $ -->
<project name="transmo" default="compile" basedir="..">
......@@ -37,8 +37,8 @@
<property name="doing" value="running"/>
<property name="version" value="0-9-10${doing}"/>
<property name="date" value="${TODAY}"/>
<property name="login" value="jerome"/>
<property name="email" value="Jerome.Euzenat@inrialpes.fr"/>
<property name="login" value="triolet"/>
<property name="email" value="Fabien.Triolet@inrialpes.fr"/>
<property name="libdir" value="lib" />
<property name="fullname" value="Transmorpher"/>
<property name="debug" value="off"/>
......@@ -194,6 +194,12 @@
</javadoc>
</target>
<!-- tested -->
<!-- For graphic test, just do:
$ setenv CLASSPATH transmo.jar:xalan.jar:xerces.jar:xml-apis.jar:junit.jar:gnu-regexp.jar
$ java junit.swingui.TestRunner &
-->
<target name="test" depends="init">
<echo message="Testing..."/>
<javac srcdir="tests/fr/fluxmedia/transmorpher/Graph/Rules"
......@@ -219,11 +225,6 @@
</junit>
</target>
<!-- tested -->
<!-- For graphic test, just do:
$ setenv CLASSPATH transmo.jar:xalan.jar:xerces.jar:xml-apis.jar:junit.jar:gnu-regexp.jar
$ java junit.swingui.TestRunner &
-->
<target name="ttask" depends="init">
<taskdef name="transmorph" classname="fr.fluxmedia.transmorpher.Application.TransmorphTask"
classpath="./lib/transmo.jar"/>
......@@ -289,7 +290,7 @@
<fileset dir="resources" includes="**/*.properties"/>
</copy>
<copy todir="transmo-${version}/scripts">
<fileset dir="scripts" includes="**/build.xml"/>
<fileset dir="scripts" includes="**/build.xml,**/*.MF"/>
</copy>
<copy todir="transmo-${version}/src">
<fileset dir="src" includes="**/*.java"/>
......@@ -297,17 +298,23 @@
<copy todir="transmo-${version}/classes">
<fileset dir="classes" includes="**/*.class"/>
</copy>
<copy todir="transmo-${version}/test">
<fileset dir="test" includes="**/*.java"/>
</copy>
<copy todir="transmo-${version}/api">
<fileset dir="api" includes="**/*.html"/>
</copy>
<copy todir="transmo-${version}/docs">
<fileset dir="docs" includes="**/*.html,**/*.gif,**/*.txt,**/*.jpg"/>
</copy>
<copy todir="transmo-${version}/distrib">
<fileset dir="distrib" includes="**/*.TXT,**/*.html,**/*.htm"/>
</copy>
<copy todir="transmo-${version}/lib">
<fileset dir="lib" includes="**/transmo.jar"/>
</copy>
<copy todir="transmo-${version}/samples">
<fileset dir="samples" includes="**/*.dtd,**/*.xsd,**/*.xml,**/*.css,**/*.xsl,**/*.jpg,**/*.html"/>
<fileset dir="samples" includes="**/*.dtd,**/*.xsd,**/*.xml,**/*.css,**/*.xsl,**/*.jpg,**/*.html,**/output,**/results,**/classes"/>
</copy>
<copy todir="transmo-${version}/refman">
<fileset dir="refman" includes="**/*.html,**/*.gif,**/*.jpg,**/*.png"/>
......@@ -412,14 +419,14 @@
<antcall target="package"/>
<antcall target="extrajar"/>
<echo message="Exposing..."/>
<copy file="distrib/index.html" tofile="distrib/cindex.html"/>
<replace file="distrib/cindex.html">
<copy file="refman/depend.html" tofile="refman/cdepend.html"/>
<replace file="distrib/cdepend.html">
<replacetoken><![CDATA[<!-- last release mark: do not modify -->]]></replacetoken>
<replacevalue><![CDATA[<!-- last release mark: do not modify -->
<TR><TD>@DATE@</TD><TD><A HREF="../releases/transmo-@VERS@.zip">@VERS@</A></TD>
<TD>1.3</TD><TD>Xerces 1.3</TD><TD>Xalan 2.1</TD><TD>1.1.3</TD><TD>-</TD></TR>]]></replacevalue>
<TD>1.3</TD><TD>Xerces 2.1</TD><TD>Xalan 2.4</TD><TD>1.1.3</TD><TD>4.0.4</TD></TR>]]></replacevalue>
</replace>
<move file="distrib/cindex.html" tofile="distrib/index.html" filtering="true"/>
<move file="refman/depend.html" tofile="refman/depend.html" filtering="true"/>
<antcall target="clean"/>
<!-- //unfortunately the file is not closed so it is impossible to put it in the mail -->
<mail from="${email}" tolist="transmorpher-dev@fluxmedia.fr"
......
Supports Markdown
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