opale_to_basex.ant 1.26 KB
Newer Older
Baptiste Montange's avatar
Baptiste Montange committed
1
<project name="opale_to_basex" default="clean">
simei.yin's avatar
simei.yin committed
2 3 4
    <property file="build.properties"/>
	
    <echo message="To be implemented..."/>
Baptiste Montange's avatar
Baptiste Montange committed
5 6 7 8 9

    <target name="AllFiles">
    	<delete>
    		<fileset dir="${outputPath}" />
    	</delete>
simei.yin's avatar
simei.yin committed
10
    
Baptiste Montange's avatar
Baptiste Montange committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55

    <copy todir="${inputOpaleToHdoc}">
			<fileset dir="${inputPath}"/>
		</copy>
	<ant antfile="../opale_to_hdoc/opale_to_hdoc.ant" inheritAll="false"/>	

	<copy todir="${inputHdocToBasex}">
			<fileset dir="${outputOpaleToHdoc}"/>
		</copy>

	<ant antfile="../hdoc_to_basex/hdoc_to_basex.ant" inheritAll="false"/>
	<copy todir="${outputPath}" >
			<fileset dir="${outputHdocToBasex}"/>
		</copy>
		</target>




		<target name="clean" depends="AllFiles">         
		
		<!-- -->
		<delete includeemptydirs="true" verbose="true">
			<fileset dir="${inputOpaleToHdoc}"> 
				 <include name="*.scar"/>
			</fileset>
		</delete>
		<delete includeemptydirs="true" verbose="true">
			<fileset dir="${outputOpaleToHdoc}"> 
				 <include name="*.hdoc"/>
			</fileset>
		</delete>
		<delete includeemptydirs="true" verbose="true">
			<fileset dir="${inputHdocToBasex}">
				 <include name="*.hdoc"/>
			</fileset>
		</delete>
		<delete includeemptydirs="true" verbose="true">
			<fileset dir="${outputHdocToBasex}"/> 
		</delete>
		
	</target> 	

</project>