Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hdoc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Stephane Crozat
hdoc
Commits
73aaa719
Commit
73aaa719
authored
Dec 07, 2015
by
aperdria
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct mindmapping_to_opale to remove hdoc conversion (call to mindmapping_to_hdoc)
parent
edcf0b72
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
23 additions
and
56 deletions
+23
-56
mindMapping_to_Opale/mindmapping_to_opale.ant
mindMapping_to_Opale/mindmapping_to_opale.ant
+13
-15
mindmapping_to_hdoc/hdoctoopale/divided.scar
mindmapping_to_hdoc/hdoctoopale/divided.scar
+0
-0
mindmapping_to_hdoc/mindmapping_to_hdoc.ant
mindmapping_to_hdoc/mindmapping_to_hdoc.ant
+5
-29
mindmapping_to_hdoc/readme.txt
mindmapping_to_hdoc/readme.txt
+2
-8
mindmapping_to_hdoc/temp/sect/mimetype
mindmapping_to_hdoc/temp/sect/mimetype
+0
-1
mindmapping_to_opale/readme.txt
mindmapping_to_opale/readme.txt
+3
-3
mindmapping_to_opale/samples/div.hdoc
mindmapping_to_opale/samples/div.hdoc
+0
-0
mindmapping_to_opale/samples/sect.hdoc
mindmapping_to_opale/samples/sect.hdoc
+0
-0
mindmapping_to_opale/samples/three.hdoc
mindmapping_to_opale/samples/three.hdoc
+0
-0
No files found.
mind
mapping_to_opale/mindMapping2O
pale.ant
→
mind
Mapping_to_Opale/mindmapping_to_o
pale.ant
View file @
73aaa719
...
...
@@ -16,19 +16,16 @@
<!-- Sect Schema : only sect element -->
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"sect.xsl"
/>
<param
name=
"hdocName"
value=
"sect"
/>
</antcall>
<!-- Div Schema : sect and div element -->
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"div.xsl"
/>
<param
name=
"hdocName"
value=
"div"
/>
</antcall>
<!-- Div Schema : sect, div and p element -->
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"threeLevel.xsl"
/>
<param
name=
"hdocName"
value=
"three"
/>
</antcall>
...
...
@@ -55,25 +52,21 @@
<!-- 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 -->
<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 -->
<antcall
target=
"hdoc_conversion"
/>
<antcall
target=
"opale_conversion"
/>
<!-- </condition> -->
<
delete
dir=
"${resultFile}/hdoc"
></delete
>
<
!--<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>
<!-- Connect this to the work of the other group about hdoc to opale (configure and call their ant etc.) -->
<target
name=
"opale_conversion"
>
...
...
@@ -85,3 +78,8 @@
</target>
</project>
mindmapping_to_hdoc/hdoctoopale/divided.scar
deleted
100644 → 0
View file @
edcf0b72
File deleted
mindmapping_to_hdoc/mind
Mapping2H
doc.ant
→
mindmapping_to_hdoc/mind
mapping_to_h
doc.ant
View file @
73aaa719
...
...
@@ -14,26 +14,25 @@
<echo>
----------------------------Begin of conversion----------------------------------
</echo>
<!-- Sect Schema : only sect element -->
<!-- Sect Schema : only sect element -->
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"sect.xsl"
/>
<param
name=
"hdocName"
value=
"sect"
/>
</antcall>
<!-- Div Schema : sect and div element -->
<!-- Div Schema : sect and div element -->
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"div.xsl"
/>
<param
name=
"hdocName"
value=
"div"
/>
</antcall>
<!-- Div Schema : sect, div and p element -->
<antcall
target=
"Makehdoc"
>
<!-- Div Schema : sect, div and p element -->
<antcall
target=
"Makehdoc"
>
<param
name=
"myXSLT"
value=
"threeLevel.xsl"
/>
<param
name=
"hdocName"
value=
"three"
/>
</antcall>
<!-- <delete dir="${basedir}/temp"/> --
>
<delete
dir=
"${basedir}/temp"
/
>
<echo>
----------------------------End of conversion----------------------------------
</echo>
</target>
...
...
@@ -43,8 +42,6 @@
<mkdir
dir=
"${basedir}/temp"
/>
<delete
dir=
"${resultFile}/hdoc"
></delete>
<mkdir
dir=
"${resultFile}/hdoc"
/>
<delete
dir=
"${resultFile}/scar"
></delete>
<mkdir
dir=
"${resultFile}/scar"
/>
<!--<condition>
<equals arg1="${foo}" arg2=""/>
</condition> -->
...
...
@@ -66,30 +63,9 @@
<!-- zipping files as the hdoc format -->
<zip
destfile=
"${resultFile}/hdoc/${hdocName}.hdoc"
basedir=
"${basedir}/temp/${hdocName}"
/>
<!-- to generate scar files -->
<antcall
target=
"opale_conversion"
/>
<!-- </condition> -->
<echo>
end data conversion
</echo>
</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>
mindmapping_to_hdoc/readme.txt
View file @
73aaa719
...
...
@@ -3,15 +3,9 @@
#1 : you want to convert your freemindFile in Hdoc
- put your freemind file in the mindMapping_to_Hdoc
- enter the command line :
- linux : ant -buildfile mind
Mapping2H
doc.ant -DinputPath <yourFilename>
- windows : C:\ant\bin\ant -buildfile mind
Mapping2H
doc.ant -DinputPath <yourFilename>
- linux : ant -buildfile mind
mapping_to_h
doc.ant -DinputPath <yourFilename>
- windows : C:\ant\bin\ant -buildfile mind
mapping_to_h
doc.ant -DinputPath <yourFilename>
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
#1 : you want to convert your freemindFile in Opale
- put your freemind file in the mind
Mapping_to_O
pale
- put your freemind file in the mind
mapping_to_o
pale
- enter the command line :
- linux : ant -buildfile mind
Mapping2O
pale.ant -DinputPath <yourFilename>
- windows : C:\ant\bin\ant -buildfile mind
Mapping2Hdoc
.ant -DinputPath <yourFilename>
- linux : ant -buildfile mind
mapping_to_o
pale.ant -DinputPath <yourFilename>
- windows : C:\ant\bin\ant -buildfile mind
mapping_to_opale
.ant -DinputPath <yourFilename>
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
Markdown
is supported
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