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
a2096b57
Commit
a2096b57
authored
Jan 04, 2017
by
Tyrannas
Browse files
fix conversion opale_to_neo4j + installation modules
parent
6bc78266
Changes
5
Hide whitespace changes
Inline
Side-by-side
hdoc_to_neo4j/runWithNode.bat
View file @
a2096b57
...
...
@@ -2,8 +2,8 @@
set
ant
=
hdoc_to_neo4j
.ant
set
antparam
=
-DNode
true
;
IF
NOT
EXIST
./node_modules
call
npm
install
ant
-buildfile
%ant%
%antparam%
pause
IF
NOT
EXIST
./node_modules
npm
install
&
ant
-buildfile
%ant%
%antparam%
&
pause
ant
-buildfile
%ant%
%antparam%
&
pause
REM start /MIN java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam%
hdoc_to_neo4j/runWithNode.sh
View file @
a2096b57
...
...
@@ -33,7 +33,9 @@ scJarList="$lib/*"
#test si les packages ont été installés
if
[
!
-d
"
$node_modules
"
]
;
then
cd
../hdoc_to_neo4j/
npm
install
cd
../opale_to_neo4j
fi
$vJavaCmd
-classpath
"
$scJarList
:"
-Xmx150m
org.apache.tools.ant.Main
-buildfile
$ant
$antparam
opale_to_hdoc/opale_to_hdoc.ant
View file @
a2096b57
...
...
@@ -22,6 +22,8 @@
<!-- Beginning -->
<target name="convert">
<delete dir="${OutputPath}"/>
<mkdir dir="${OutputPath}"/>
<for param="filename">
<path>
<fileset dir="./input" includes="*.scar"/>
...
...
opale_to_neo4j/opale_to_neo4j.ant
View file @
a2096b57
...
...
@@ -21,7 +21,7 @@
<target name="clean_everything">
<delete dir="../opale_to_hdoc/input"/>
<delete dir="../opale_to_hdoc/output/
result.hdoc
"/>
<delete dir="../opale_to_hdoc/output/"/>
<delete dir="../hdoc_to_neo4j/input"/>
<delete dir="../hdoc_to_neo4j/output/"/>
</target>
...
...
@@ -38,7 +38,7 @@
<echo message="The value of property DocType is ${DocType}" />
<!-- get input hdoc file path -->
<copy todir="../opale_to_hdoc/input/
sample.scar
">
<copy todir="../opale_to_hdoc/input/">
<fileset dir="${InputPath}"/>
</copy>
<ant antfile="../opale_to_hdoc/opale_to_hdoc.ant" inheritAll="false"/>
...
...
opale_to_neo4j/runWithNode.bat
View file @
a2096b57
...
...
@@ -2,8 +2,8 @@
set
ant
=
opale_to_neo4j
.ant
set
antparam
=
-DNode
true
;
IF
NOT
EXIST
.
/node_modules
call
npm
install
ant
-buildfile
%ant%
%antparam%
IF
NOT
EXIST
.
./hdoc_to_neo4j/node_modules
cd
../hdoc_to_neo4j/
&
npm
install
&
cd
../opale_to_neo4j
&
ant
-buildfile
%ant%
%antparam%
&
pause
ant
-buildfile
%ant%
%antparam%
&
pause
pause
REM start /MIN java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam%
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