Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
hdoc
Commits
73aaa719
Commit
73aaa719
authored
Dec 07, 2015
by
aperdria
Browse files
Correct mindmapping_to_opale to remove hdoc conversion (call to mindmapping_to_hdoc)
parent
edcf0b72
Changes
9
Hide whitespace changes
Inline
Side-by-side
mind
m
apping_to_
o
pale/mind
M
apping
2O
pale.ant
→
mind
M
apping_to_
O
pale/mind
m
apping
_to_o
pale.ant
View file @
73aaa719
...
@@ -16,19 +16,16 @@
...
@@ -16,19 +16,16 @@
<!-- Sect Schema : only sect element -->
<!-- Sect Schema : only sect element -->
<antcall
target=
"Makehdoc"
>
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"sect.xsl"
/>
<param
name=
"hdocName"
value=
"sect"
/>
<param
name=
"hdocName"
value=
"sect"
/>
</antcall>
</antcall>
<!-- Div Schema : sect and div element -->
<!-- Div Schema : sect and div element -->
<antcall
target=
"Makehdoc"
>
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"div.xsl"
/>
<param
name=
"hdocName"
value=
"div"
/>
<param
name=
"hdocName"
value=
"div"
/>
</antcall>
</antcall>
<!-- Div Schema : sect, div and p element -->
<!-- Div Schema : sect, div and p element -->
<antcall
target=
"Makehdoc"
>
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"threeLevel.xsl"
/>
<param
name=
"hdocName"
value=
"three"
/>
<param
name=
"hdocName"
value=
"three"
/>
</antcall>
</antcall>
...
@@ -55,25 +52,21 @@
...
@@ -55,25 +52,21 @@
<!-- Convert a mindMap file into a hdoc, with a xsl schema specified in the parameter -->
<!-- Convert a mindMap file into a hdoc, with a xsl schema specified in the parameter -->
<target
name=
"Makehdoc"
>
<target
name=
"Makehdoc"
>
<echo>
Begin data conversion
</echo>
<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 -->
<xslt
in=
"${basedir}/${inputPath}"
out=
"${basedir}/temp/${hdocName}/META-INF/container.xml"
xslresource=
"${basedir}/../mindMapping_to_Hdoc/xslt/makeContainer.xsl"
/>
<!-- create the file which contains the freemind data converted-->
<xslt
in=
"${basedir}/${inputPath}"
out=
"${basedir}/temp/${hdocName}/content.xml"
xslresource=
"${basedir}/../mindMapping_to_Hdoc/xslt/${myXSLT}"
/>
<!-- zipping files as the hdoc format -->
<zip
destfile=
"${resultFile}/hdoc/${hdocName}.hdoc"
basedir=
"${basedir}/temp/${hdocName}"
/>
<!-- to generate scar files -->
<!-- to generate scar files -->
<antcall
target=
"hdoc_conversion"
/>
<antcall
target=
"opale_conversion"
/>
<antcall
target=
"opale_conversion"
/>
<!-- </condition> -->
<!-- </condition> -->
<delete
dir=
"${resultFile}/hdoc"
></delete>
<!--
<delete dir="${resultFile}/hdoc"></delete>
-->
<echo>
end data conversion
</echo>
<echo>
end data conversion
</echo>
</target>
</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>
<!-- Connect this to the work of the other group about hdoc to opale (configure and call their ant etc.) -->
<!-- Connect this to the work of the other group about hdoc to opale (configure and call their ant etc.) -->
<target
name=
"opale_conversion"
>
<target
name=
"opale_conversion"
>
...
@@ -85,3 +78,8 @@
...
@@ -85,3 +78,8 @@
</target>
</target>
</project>
</project>
mindmapping_to_hdoc/hdoctoopale/divided.scar
deleted
100644 → 0
View file @
edcf0b72
File deleted
mindmapping_to_hdoc/mind
M
apping
2H
doc.ant
→
mindmapping_to_hdoc/mind
m
apping
_to_h
doc.ant
View file @
73aaa719
...
@@ -14,26 +14,25 @@
...
@@ -14,26 +14,25 @@
<echo>
----------------------------Begin of conversion----------------------------------
</echo>
<echo>
----------------------------Begin of conversion----------------------------------
</echo>
<!-- Sect Schema : only sect element -->
<!-- Sect Schema : only sect element -->
<antcall
target=
"Makehdoc"
>
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"sect.xsl"
/>
<param
name=
"myXSLT"
value=
"sect.xsl"
/>
<param
name=
"hdocName"
value=
"sect"
/>
<param
name=
"hdocName"
value=
"sect"
/>
</antcall>
</antcall>
<!-- Div Schema : sect and div element -->
<!-- Div Schema : sect and div element -->
<antcall
target=
"Makehdoc"
>
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"div.xsl"
/>
<param
name=
"myXSLT"
value=
"div.xsl"
/>
<param
name=
"hdocName"
value=
"div"
/>
<param
name=
"hdocName"
value=
"div"
/>
</antcall>
</antcall>
<!-- Div Schema : sect, div and p element -->
<!-- Div Schema : sect, div and p element -->
<antcall
target=
"Makehdoc"
>
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"threeLevel.xsl"
/>
<param
name=
"myXSLT"
value=
"threeLevel.xsl"
/>
<param
name=
"hdocName"
value=
"three"
/>
<param
name=
"hdocName"
value=
"three"
/>
</antcall>
</antcall>
<!--
<delete dir="${basedir}/temp"/>
-->
<delete
dir=
"${basedir}/temp"
/>
<echo>
----------------------------End of conversion----------------------------------
</echo>
<echo>
----------------------------End of conversion----------------------------------
</echo>
</target>
</target>
...
@@ -43,8 +42,6 @@
...
@@ -43,8 +42,6 @@
<mkdir
dir=
"${basedir}/temp"
/>
<mkdir
dir=
"${basedir}/temp"
/>
<delete
dir=
"${resultFile}/hdoc"
></delete>
<delete
dir=
"${resultFile}/hdoc"
></delete>
<mkdir
dir=
"${resultFile}/hdoc"
/>
<mkdir
dir=
"${resultFile}/hdoc"
/>
<delete
dir=
"${resultFile}/scar"
></delete>
<mkdir
dir=
"${resultFile}/scar"
/>
<!--<condition>
<!--<condition>
<equals arg1="${foo}" arg2=""/>
<equals arg1="${foo}" arg2=""/>
</condition> -->
</condition> -->
...
@@ -66,30 +63,9 @@
...
@@ -66,30 +63,9 @@
<!-- zipping files as the hdoc format -->
<!-- zipping files as the hdoc format -->
<zip
destfile=
"${resultFile}/hdoc/${hdocName}.hdoc"
<zip
destfile=
"${resultFile}/hdoc/${hdocName}.hdoc"
basedir=
"${basedir}/temp/${hdocName}"
/>
basedir=
"${basedir}/temp/${hdocName}"
/>
<!-- to generate scar files -->
<antcall
target=
"opale_conversion"
/>
<!-- </condition> -->
<!-- </condition> -->
<echo>
end data conversion
</echo>
<echo>
end data conversion
</echo>
</target>
</target>
<!-- Connect this to the work of the other group about hdoc to opale (configure and call their ant etc.) -->
<target
name=
"opale_conversion"
if=
"${opale.exists}"
depends=
"opale_test"
>
<!-- <condition property="converting.set" else="false"> -->
<ant
antfile=
"${basedir}/hdoctoopale/hdoc_to_opale.ant"
dir=
"${basedir}/hdoctoopale"
>
<property
name=
"InputPath"
value=
"${resultFile}/hdoc/${hdocName}.hdoc"
/>
<property
name=
"OutputPath"
value=
"${resultFile}/scar/${hdocName}.scar"
/>
</ant>
</target>
<!-- check if opale convertion is asked by the user -->
<target
name=
"opale_test"
>
<condition
property=
"opale.exists"
else=
"false"
>
<equals
arg1=
"${opale}"
arg2=
"true"
/>
</condition>
<echo
message=
"Run opale conversion ? ${opale.exists}"
/>
</target>
</project>
</project>
mindmapping_to_hdoc/readme.txt
View file @
73aaa719
...
@@ -3,15 +3,9 @@
...
@@ -3,15 +3,9 @@
#1 : you want to convert your freemindFile in Hdoc
#1 : you want to convert your freemindFile in Hdoc
- put your freemind file in the mindMapping_to_Hdoc
- put your freemind file in the mindMapping_to_Hdoc
- enter the command line :
- enter the command line :
- linux : ant -buildfile mind
M
apping
2H
doc.ant -DinputPath <yourFilename>
- linux : ant -buildfile mind
m
apping
_to_h
doc.ant -DinputPath <yourFilename>
- windows : C:\ant\bin\ant -buildfile mind
M
apping
2H
doc.ant -DinputPath <yourFilename>
- windows : C:\ant\bin\ant -buildfile mind
m
apping
_to_h
doc.ant -DinputPath <yourFilename>
you will find the result in the folder result/hdoc
you will find the result in the folder result/hdoc
#2 : you want a .scar (for scenari)
- put your freemind file in the mindMapping_to_Hdoc
- enter the command line :
- linux : ant -buildfile mindMapping2Hdoc.ant -DinputPath <yourFilename> -Dopale true
- windows : C:\ant\bin\ant -buildfile mindMapping2Hdoc.ant -DinputPath <yourFilename> -Dopale true
you will find the result in the folder result/opale
mindmapping_to_hdoc/temp/sect/mimetype
deleted
100644 → 0
View file @
edcf0b72
application/x-hdoc+zip
mindmapping_to_opale/readme.txt
View file @
73aaa719
# how to use the converter
# how to use the converter
#1 : you want to convert your freemindFile in Opale
#1 : you want to convert your freemindFile in Opale
- put your freemind file in the mind
M
apping_to_
O
pale
- put your freemind file in the mind
m
apping_to_
o
pale
- enter the command line :
- enter the command line :
- linux : ant -buildfile mind
M
apping
2O
pale.ant -DinputPath <yourFilename>
- linux : ant -buildfile mind
m
apping
_to_o
pale.ant -DinputPath <yourFilename>
- windows : C:\ant\bin\ant -buildfile mind
M
apping
2Hdoc
.ant -DinputPath <yourFilename>
- windows : C:\ant\bin\ant -buildfile mind
m
apping
_to_opale
.ant -DinputPath <yourFilename>
you will find the result in the folder result/opale
you will find the result in the folder result/opale
mindmapping_to_opale/samples/div.hdoc
deleted
100644 → 0
View file @
edcf0b72
File deleted
mindmapping_to_opale/samples/sect.hdoc
deleted
100644 → 0
View file @
edcf0b72
File deleted
mindmapping_to_opale/samples/three.hdoc
deleted
100644 → 0
View file @
edcf0b72
File deleted
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment