Commit 0bda662e authored by aperdria's avatar aperdria

Restructuration of mindmapping_to_opale to convert several files in the...

Restructuration of mindmapping_to_opale to convert several files in the meantime ; Adding run.sh and run.bat ; Modification of the readme file ;
parent 745a8dcf
<?xml version="1.0" encoding="UTF-8" standalone="no"?><map version="0.8.1"><node CREATED="1450312359766" ID="2nngtspni6hi1484pfec44c8lk" MODIFIED="1450312359766" TEXT="MindMapping"><node CREATED="1450312359766" ID="00lp6bpfm6jibhcjrpdonrhoqb" MODIFIED="1450312359766" POSITION="right" TEXT="#1 MindMapping to Hdoc"><node CREATED="1450312359766" ID="3qm1jgu7dfgs328jthlek5fd4e" MODIFIED="1450312359766" TEXT="Prendre en main le projet existant"/><node CREATED="1450312359766" ID="0u38ectmhqqp4p08p5guvgij71" MODIFIED="1450312359766" TEXT="Corriger les bugs existants"/><node CREATED="1450312359766" ID="3b1t9o2te6enh59j4iv48f4mdi" MODIFIED="1450312359766" TEXT="Restructurer le ant"/></node><node CREATED="1450312359766" ID="6lohsep5crh5g3ngj8ld8loei6" MODIFIED="1450312359766" POSITION="right" TEXT="#2 MindMapping to Opale"><node CREATED="1450312359766" ID="5pl3210hq6if3nv7r2chtjstmo" MODIFIED="1450312359766" TEXT="Faire la connexion avec le transformateur Hdoc to Opale"/><node CREATED="1450312359766" ID="3haa2fgohe9j4n04ilddco84uh" MODIFIED="1450312359766" TEXT="Permettre la personnalisation de l'organisation du module"/><node CREATED="1450312359766" ID="11k2hbkcu415e1mgk5c5ucr48k" MODIFIED="1450312359766" TEXT="Permettre la personnalisation dy type de noeud (Intro, conclusion etc.)"/><node CREATED="1450312359766" ID="4npf8jpvak3lffn9c1rsogi0sq" MODIFIED="1450312359766" TEXT="Permettre la personnalisation grâce aux couleurs/icônes"/></node><node CREATED="1450312359766" ID="3n8v43p8qb005puq3qiv7aiubc" MODIFIED="1450312359766" POSITION="right" TEXT="#3 MindMapping to Optim"><node CREATED="1450312359766" ID="2bn1la3apnjf1fi8qqfqde226t" MODIFIED="1450312359766" TEXT="Faire la connexion avec le transformateur Hdoc to Optim"/></node><node CREATED="1450312359766" ID="3s00si3hquol4pldg7lo9opjd6" MODIFIED="1450312359766" POSITION="right" TEXT="#4 MindMapping to Lexique"><node CREATED="1450312359766" ID="37jlfl25iuaoe6f2cpiv30qksd" MODIFIED="1450312359766" TEXT="Faire la connexion avec le transformateur Hdoc to Lexique"/></node><node CREATED="1450312359767" ID="27gnl6pgottjfiukpa3ulfdjrj" MODIFIED="1450312359767" POSITION="left" TEXT="#5 Prendre d'autres outils de carte mentales en entrée"/><node CREATED="1450312359767" ID="24d41nnnnvvu7fv5m8m4vegu0g" MODIFIED="1450312359767" POSITION="left" TEXT="#intro This converter aims at convert a given MindMapping file into a Hdoc file which then will be imported in Opale (advanced only)."/><node CREATED="1450312359767" ID="6a7pr2b5vvmq6na5964dhf9e13" MODIFIED="1450312359767" POSITION="left" TEXT="#conclu Ma conclusion"/></node></map>
\ No newline at end of file
......@@ -2,7 +2,8 @@
<project basedir="." default="default">
<property name="in" location="${basedir}/input"/>
<property name="out" value="${basedir}/result"/>
<property name="module" value="default"/>
<property name="resultFile" value="${basedir}/result"/>
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement location="${basedir}/lib/ant-contrib.jar"/>
......@@ -13,9 +14,6 @@
<pathelement location="${basedir}/lib/ant-contrib.jar"/>
</classpath>
</taskdef>
<property name="module" value="default"/>
<property name="resultFile" value="${basedir}/result"/>
<target name="default" depends="preparation">
<echo>----------------------------Begin of
......@@ -25,10 +23,20 @@
<echo>----------------------------End of conversion----------------------------------</echo>
</target>
<target name="preparation">
<echo>Setting up the conversion</echo>
<delete dir="${basedir}/temp"/>
<mkdir dir="${basedir}/temp"/>
<delete dir="${basedir}/result"/>
<mkdir dir="${basedir}/result"/>
<echo>--- End ----</echo>
</target>
<target name="hdoc_conversion">
<echo>InputPath : ${inputPath}</echo>
<if>
<isset property="${inputPath}"/>
<isset property="inputPath"/>
<then>
<antcall target="hdoc_conversion.input-path"/>
</then>
......@@ -39,7 +47,9 @@
</target>
<target name="hdoc_conversion.input-path">
<echo>There is an input path in parameter : conversion of this file</echo>
<echo>There is an input path in parameter : conversion of the file ${inputPath}</echo>
<basename property="filename" file="${inputPath}" suffix=".mm"/>
<echo>filename ${filename}</echo>
<antcall target="Makehdoc">
<param name="myXSLT" value="sect.xsl"/>
<param name="hdocName" value="${filename}"/>
......@@ -56,11 +66,11 @@
</path>
<sequential>
<local name="filename"/>
<basename property="filename" file="@{inputFile}"/>
<basename property="filename" file="@{inputFile}" suffix=".mm"/>
<antcall target="Makehdoc">
<param name="myXSLT" value="sect.xsl"/>
<param name="hdocName" value="${filename}"/>
<param name="inputPath" value="input/${filename}"/>
<param name="inputPath" value="input/${filename}.mm"/>
</antcall>
<property name="filename" value="${filename}"/>
</sequential>
......@@ -68,19 +78,6 @@
</target>
<!--<target name="hdoc_conversion" depends="hdoc_conversion.input-path, hdoc_conversion.no-input-path" />
-->
<target name="preparation">
<echo>Setting up the conversion</echo>
<delete dir="${basedir}/temp"/>
<mkdir dir="${basedir}/temp"/>
<delete dir="${basedir}/result"/>
<mkdir dir="${basedir}/result"/>
<echo>--- End ----</echo>
</target>
<!-- Convert a mindMap file into a hdoc, with a xsl schema specified in the parameter -->
<target name="Makehdoc">
<echo>Begin data conversion</echo>
......
<?xml version="1.0" encoding="UTF-8"?><?oxygen RNGSchema="http://scenari.utc.fr/hdoc/schemas/container/hdoc1-container.rng" type="xml"
?><container xmlns="urn:utc.fr:ics:hdoc:container" version="1.0"><rootfiles><rootfile full-path="content.xml" media-type="text/xml"/></rootfiles></container>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://hdoc.crzt.fr/schemas/xhtml/hdoc1-xhtml.rng" type="xml"
?>
<html xmlns="http://www.utc.fr/ics/hdoc/xhtml"
xmlns:utc="http://www.utc.fr/ics/hdoc/xhtml"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<head>
<title>MindMapping</title>
<meta charset="utf-8"/>
<meta name="author" content=""/>
</head>
<body>
<section>
<header>
<h1>MindMapping</h1>
<div data-hdoc-type="introduction">This converter aims at convert a given MindMapping file into a Hdoc file which then will be imported in Opale (advanced only).</div>
</header>
<section>
<header>
<h1>MindMapping to Hdoc</h1>
</header>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Prendre en main le projet existant</h1>
</header>
</section>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Corriger les bugs existants</h1>
</header>
</section>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Restructurer le ant</h1>
</header>
</section>
<footer/>
</section>
<section>
<header>
<h1>MindMapping to Opale</h1>
</header>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Faire la connexion avec le transformateur Hdoc to Opale</h1>
</header>
</section>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Permettre la personnalisation de l'organisation du module</h1>
</header>
</section>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Permettre la personnalisation dy type de noeud (Intro, conclusion etc.)</h1>
</header>
</section>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Permettre la personnalisation grâce aux couleurs/icônes</h1>
</header>
</section>
<footer/>
</section>
<section>
<header>
<h1>MindMapping to Optim</h1>
</header>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Faire la connexion avec le transformateur Hdoc to Optim</h1>
</header>
</section>
<footer/>
</section>
<section>
<header>
<h1>MindMapping to Lexique</h1>
</header>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Faire la connexion avec le transformateur Hdoc to Lexique</h1>
</header>
</section>
<footer/>
</section>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Prendre d'autres outils de carte mentales en entrée</h1>
</header>
</section>
<footer>
<div data-hdoc-type="conclusion">Ma conclusion</div>
</footer>
</section>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?><?oxygen RNGSchema="http://scenari.utc.fr/hdoc/schemas/container/hdoc1-container.rng" type="xml"
?><container xmlns="urn:utc.fr:ics:hdoc:container" version="1.0"><rootfiles><rootfile full-path="content.xml" media-type="text/xml"/></rootfiles></container>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://hdoc.crzt.fr/schemas/xhtml/hdoc1-xhtml.rng" type="xml"
?>
<html xmlns="http://www.utc.fr/ics/hdoc/xhtml"
xmlns:utc="http://www.utc.fr/ics/hdoc/xhtml"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<head>
<title>Compte rendu reunion</title>
<meta charset="utf-8"/>
<meta name="author" content=""/>
</head>
<body>
<section>
<header>
<h1>Compte rendu reunion</h1>
</header>
<section>
<header>
<h1>Avancé du travail</h1>
</header>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Amélioration du rendement</h1>
</header>
</section>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Création d'un nouveau systeme de paiement</h1>
</header>
</section>
<footer/>
</section>
<section>
<header>
<h1>Résultat courrant</h1>
</header>
<section data-hdoc-type="unit-of-content">
<header>
<h1>70% du travail fait</h1>
</header>
</section>
<footer/>
</section>
<section>
<header>
<h1>Rappel du travail à realiser</h1>
</header>
<section>
<header>
<h1>Changement du process de relation client</h1>
</header>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Formation</h1>
</header>
</section>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Sondage clientèle</h1>
</header>
</section>
<footer/>
</section>
<section data-hdoc-type="unit-of-content">
<header>
<h1>Trouver de nouveaux client d'ici la fin de l'année</h1>
</header>
</section>
<footer/>
</section>
<footer/>
</section>
</body>
</html>
......@@ -2,10 +2,13 @@
set lib=lib
set ant=mindmapping_to_hdoc.ant
set antparam=-Dprogram.param=%1
set inputPath=%2
set scJarList=%lib%\*
java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam%
if defined %inputPath% java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% -DinputPath %inputPath%
pause
if not defined %inputPath% java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam%
pause
REM start /MIN java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam%
......@@ -2,6 +2,7 @@
lib="lib"
ant="mindmapping_to_hdoc.ant"
antparam="-Dprogram.param=$1"
inputPath="$2"
#Recherche de java et controle que se soit une version SUN
vJavaCmd="java"
......@@ -31,5 +32,10 @@ fi
#Lancer la commande
scJarList="$lib/*"
$vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam
if [ "$inputPath" == '' ] ; then
echo "Appel sans paramètre"
$vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam
else
echo "Appel avec paramètre"
$vJavaCmd -classpath "$scJarList:" -Xmx150m org.apache.tools.ant.Main -buildfile $ant $antparam -DinputPath $inputPath
fi
\ No newline at end of file
Mindmapping to HDOC
===================
Conversion of Freemind file(s) (.mm) to Opale
# How to use the converter
Use a terminal and go to the root of the folder (mindmapping_to_opale).
#1 : You want to convert SEVERAL Freemind files in Opale
- Put your files in a folder mindmapping_to_opale/input
- Enter the command line corresponding to your OS :
- On Linux : sh run.sh
- On Windows : run.bat
#2 : You want to convert ONE specific freemindFile in Opale
- Put your file in a folder mindmapping_to_opale/input
- Enter the command line corresponding to your OS :
- On Linux : sh run.sh -DinputPath input/<yourFilename>
- On Windows : run.bat -DinputPath input/<yourFilename>
You will find the result in the folder mindmapping_to_opale/result
<?xml version="1.0" encoding="UTF-8" standalone="no"?><map version="0.8.1"><node CREATED="1450312359766" ID="2nngtspni6hi1484pfec44c8lk" MODIFIED="1450312359766" TEXT="MindMapping"></node></map>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="default">
<property name="module" value="default"/>
<!--
only for the debug
<property name="inputPath" value="test.mm"></property>
<property name="outputPath" value="content.xml"/>
<property name="converting" value="yes"/>
-->
<property name="in" location="${basedir}/input"/>
<property name="out" value="${basedir}/result"/>
<property name="resultFile" value="${basedir}/result"/>
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement location="${basedir}/lib/ant-contrib.jar"/>
</classpath>
</taskdef>
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="${basedir}/lib/ant-contrib.jar"/>
</classpath>
</taskdef>
<target name="default" depends="preparation">
<echo>----------------------------Begin of conversion----------------------------------</echo>
<!-- Sect Schema : only sect element -->
<antcall target="Makehdoc">
<param name="hdocName" value="sect"/>
</antcall>
<delete dir="${basedir}/temp"/>
<echo>----------------------------Begin of
conversion----------------------------------</echo>
<antcall target="conversion"/>
<echo>----------------------------End of conversion----------------------------------</echo>
</target>
<target depends="ifOSWindows, ifOSUnix" name="conversion"/>
<condition property="isOSUnix">
<os family="unix" />
</condition>
<condition property="isOSWindows">
<os family="windows" />
</condition>
<!-- if the OS is windows call the target run.script.windows -->
<target name="ifOSWindows" if="isOSWindows">
<echo>is Windows........</echo>
<echo>InputPath : ${inputPath}</echo>
<if>
<isset property="inputPath"/>
<then>
<antcall target="conversion.windows.input-path"/>
</then>
<else>
<antcall target="conversion.windows.no-input-path"/>
</else>
</if>
</target>
<!-- if the OS is not windows call the target run.script.unix-->
<target name="ifOSUnix" if="isOSUnix">
<echo>is Unix........</echo>
<echo>InputPath : ${inputPath}</echo>
<if>
<isset property="inputPath"/>
<then>
<antcall target="conversion.linux.input-path"/>
</then>
<else>
<antcall target="conversion.linux.no-input-path"/>
</else>
</if>
</target>
<target name="conversion.windows.input-path">
<basename property="filename" file="${inputPath}" suffix=".mm"/>
<echo>There is an input path in parameter : conversion of this file</echo>
<!-- Conversion from mm to hdoc -->
<exec dir="${basedir}/../mindmapping_to_hdoc" executable="cmd">
<arg value="${basedir}/../mindmapping_to_hdoc/run.bat"/>
<arg line="-DinputPath ./../mindmapping_to_opale/input/${filename}.mm"/>
</exec>
<copy file="${basedir}/../mindmapping_to_hdoc/result/${filename}.hdoc" todir="${resultFile}/hdoc"/>
<!-- Conversion from hdoc to scar -->
<!-- Files have to be copied in hdoc_to_opale in order to be treated -->
<copy file="${basedir}/../mindmapping_to_hdoc/result/${filename}.hdoc" todir="${basedir}/../hdoc_to_opale/input"/>
<exec dir="${basedir}/../hdoc_to_opale" executable="cmd">
<arg value="${basedir}/../hdoc_to_opale/run.bat"/>
</exec>
<copy todir="${resultFile}/scar/${filename}">
<fileset dir="${basedir}/../hdoc_to_opale/output/${filename}"/>
</copy>
</target>
<target name="conversion.windows.no-input-path">
<echo>There is no input path in parameter : conversion of all the files in ./input</echo>
<for param="inputFile">
<path>
<fileset dir="${in}" includes="**/*.mm"/>
</path>
<sequential>
<local name="filename"/>
<basename property="filename" file="@{inputFile}" suffix=".mm"/>
<!-- Conversion from mm to hdoc -->
<!-- Conversion script is call with the file in parameter (no copy of files in minmapping_to_hdoc) -->
<exec dir="${basedir}/../mindmapping_to_hdoc" executable="cmd">
<arg value="${basedir}/../mindmapping_to_hdoc/run.bat"/>
<arg line="-DinputPath ./../mindmapping_to_opale/input/${filename}.mm"/>
</exec>
<property name="filename" value="${filename}"/>
<copy file="${basedir}/../mindmapping_to_hdoc/result/${filename}.hdoc" todir="${resultFile}/hdoc"/>
<!-- Conversion from hdoc to scar -->
<!-- Files have to be copied in hdoc_to_opale in order to be treated -->
<copy file="${basedir}/../mindmapping_to_hdoc/result/${filename}.hdoc" todir="${basedir}/../hdoc_to_opale/input"/>
<exec dir="${basedir}/../hdoc_to_opale" executable="cmd">
<arg value="${basedir}/../hdoc_to_opale/run.bat"/>
</exec>
<copy todir="${resultFile}/scar/${filename}">
<fileset dir="${basedir}/../hdoc_to_opale/output/${filename}"/>
</copy>
</sequential>
</for>
</target>
<target name="conversion.linux.input-path">
<basename property="filename" file="${inputPath}" suffix=".mm"/>
<echo>There is an input path in parameter : conversion of the file ${inputPath}</echo>
<!-- Conversion from mm to hdoc -->
<exec dir="${basedir}/../mindmapping_to_hdoc" executable="/bin/sh">
<arg value="${basedir}/../mindmapping_to_hdoc/run.sh"/>
<arg line="-DinputPath ./../mindmapping_to_opale/input/${filename}.mm"/>
</exec>
<copy file="${basedir}/../mindmapping_to_hdoc/result/${filename}.hdoc" todir="${resultFile}/hdoc"/>
<!-- Conversion from hdoc to scar -->
<!-- Files have to be copied in hdoc_to_opale in order to be treated -->
<copy file="${basedir}/../mindmapping_to_hdoc/result/${filename}.hdoc" todir="${basedir}/../hdoc_to_opale/input"/>
<exec dir="${basedir}/../hdoc_to_opale" executable="/bin/sh">
<arg value="${basedir}/../hdoc_to_opale/run.sh"/>
</exec>
<copy todir="${resultFile}/scar/${filename}">
<fileset dir="${basedir}/../hdoc_to_opale/output/${filename}"/>
</copy>
</target>
<target name="conversion.linux.no-input-path">
<echo>There is no input path in parameter : conversion of all the files in ./input</echo>
<for param="inputFile">
<path>
<fileset dir="${in}" includes="**/*.mm"/>
</path>
<sequential>
<local name="filename"/>
<basename property="filename" file="@{inputFile}" suffix=".mm"/>
<!-- Conversion from mm to hdoc -->
<!-- Conversion script is call with the file in parameter (no copy of files in minmapping_to_hdoc) -->
<exec dir="${basedir}/../mindmapping_to_hdoc" executable="/bin/sh">
<arg value="${basedir}/../mindmapping_to_hdoc/run.sh"/>
<arg line="-DinputPath ./../mindmapping_to_opale/input/${filename}.mm"/>
</exec>
<property name="filename" value="${filename}"/>
<copy file="${basedir}/../mindmapping_to_hdoc/result/${filename}.hdoc" todir="${resultFile}/hdoc"/>
<!-- Conversion from hdoc to scar -->
<!-- Files have to be copied in hdoc_to_opale in order to be treated -->
<copy file="${basedir}/../mindmapping_to_hdoc/result/${filename}.hdoc" todir="${basedir}/../hdoc_to_opale/input"/>
<exec dir="${basedir}/../hdoc_to_opale" executable="/bin/sh">
<arg value="${basedir}/../hdoc_to_opale/run.sh"/>
</exec>
<copy todir="${resultFile}/scar/${filename}">
<fileset dir="${basedir}/../hdoc_to_opale/output/${filename}"/>
</copy>
</sequential>
</for>
</target>
<!--<target name="hdoc_conversion" depends="hdoc_conversion.input-path, hdoc_conversion.no-input-path" />
-->
<target name="preparation">
<echo>Setting up the conversion</echo>
<delete dir="${basedir}/temp"></delete>
<mkdir dir="${basedir}/temp" />
<delete dir="${basedir}/temp"/>
<mkdir dir="${basedir}/temp"/>
<delete dir="${basedir}/result"/>
<mkdir dir="${basedir}/result"/>
<delete dir="${resultFile}/hdoc"></delete>
<mkdir dir="${resultFile}/hdoc" />
<delete dir="${resultFile}/scar"></delete>
<mkdir dir="${resultFile}/scar" />
<!--<condition>
<equals arg1="${foo}" arg2=""/>
</condition> -->
<!-- //delete temp -->
<echo>--- End ----</echo>
</target>
<!-- Convert a mindMap file into a hdoc, with a xsl schema specified in the parameter -->
<target name="Makehdoc" >
<echo>Begin data conversion</echo>
<!-- to generate scar files -->
<antcall target="hdoc_conversion"/>
<antcall target="opale_conversion"/>
<!-- </condition> -->
<!--<delete dir="${resultFile}/hdoc"></delete>-->
<echo>end data conversion</echo>
</target>
<target name="hdoc_conversion">
<!-- <condition property="converting.set" else="false"> -->
<ant antfile="${basedir}/../mindmapping_to_hdoc/mindmapping_to_hdoc.ant" dir="${basedir}/../mindmapping_to_hdoc">
<property name="InputPath" value="${inputPath}"/>
</ant>
</target>
<target depends="ifOSWindows, ifOSUnix" name="opale_conversion"/>
<condition property="isOSUnix">
<os family="unix" />
</condition>
<condition property="isOSWindows">
<os family="windows" />
</condition>
<!-- if the OS is windows call the target run.script.windows -->
<target name="ifOSWindows" if="isOSWindows">
<echo>is Windows........</echo>
<antcall target="opale_conversion.windows"/>
</target>
<!-- if the OS is not windows call the target run.script.unix-->
<target name="ifOSUnix" if="isOSUnix">
<echo>is Unix........</echo>
<antcall target="opale_conversion.unix"/>
</target>
<target name="opale_conversion.windows">
<echo>This is a Windows machine.</echo>
<copy file="${resultFile}/hdoc/${hdocName}.hdoc" todir="${basedir}/../hdoc_to_opale/input"/>
<exec dir="${basedir}/../hdoc_to_opale" executable="cmd">
<arg value="${basedir}/../hdoc_to_opale/run.bat"/>
</exec>
<!-- <copy file="${basedir}/../hdoc_to_opale/output/output.scar" todir="${resultFile}/scar/${hdocName}.scar"/>-->
</target>
<target name="opale_conversion.unix">
<echo>This is an Unix machine.</echo>
<copy file="${resultFile}/hdoc/${hdocName}.hdoc" todir="${basedir}/../hdoc_to_opale/input"/>
<exec dir="${basedir}/../hdoc_to_opale" executable="/bin/sh">
<arg value="${basedir}/../hdoc_to_opale/run.sh"/>
</exec>
<!-- <copy file="${basedir}/../hdoc_to_opale/output/output.scar" todir="${resultFile}/scar/${hdocName}.scar"/>-->
</target>
</project>
<!-- Convert a mindMap file into a hdoc, with a xsl schema specified in the parameter -->
<target name="Makehdoc">
<echo>Begin data conversion</echo>
<mkdir dir="${basedir}/temp/${hdocName}"/>
<mkdir dir="${basedir}/temp/${hdocName}/META-INF"/>
<copy file="${basedir}/mimetype" tofile="${basedir}/temp/${hdocName}/mimetype"/>
<!-- create the container file with an XSLT transformation -->