run.bat 674 Bytes
Newer Older
1 2 3 4
@echo off
set lib=lib
set ant=mindmapping_to_hdoc.ant
set antparam=-Dprogram.param=%1
5
set inputPath=%2
6
SETLOCAL ENABLEEXTENSIONS
7 8 9

set scJarList=%lib%\*

10 11 12 13 14 15 16 17 18
::java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam%

if defined (%inputPath%) (
pause
java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% -DinputPath %inputPath% 
pause
)

if not defined (%inputPath%) (
19
pause
20
java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam%  
21
pause
22
)
23 24

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