run.bat 368 Bytes
Newer Older
1 2 3 4 5 6 7
@echo off
set lib=lib
set ant=hdoc_to_mongo.ant
set antparam=-Dprogram.param=%1

set scJarList=%lib%\*

8
npm link mongodb & java.exe -classpath "%scJarList%" -Xmx150m org.apache.tools.ant.Main -buildfile %ant% %antparam% & rmdir /Q /S node_modules & pause
9 10

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