run.bat 521 Bytes
Newer Older
1 2 3 4
@echo off
set lib=lib
set ant=mindmapping_to_opale.ant
set antparam=-Dprogram.param=%1
Zangdar1111's avatar
Zangdar1111 committed
5
set inputPath=%2
6 7 8

set scJarList=%lib%\*

Zangdar1111's avatar
Zangdar1111 committed
9 10 11
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%
12 13 14
pause

REM start /MIN java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam%