On 23 January 2011 20:07, Peter Körner <[email protected]> wrote:
> Dima Batenkov schrieb: > > However (this is another unrelated problem) I cannot put the three above >> commands into one batch file because the batch exits after completing >> just the first line. >> > > This is because osmosis is launched as a batch script (osmosis.bat) which > uses exit to terminate. Instead it use a jump-mark (:eof) at the end of the > batch-file and jump there using goto :eof when it wishes to terminate. > > Patches welcome. > > Peter > I am not familiar with the inner workings of batch files, but is seems to me that there is no "exit" used in osmosis.bat. The actual call is at the end of the batch, with the lines SET EXEC=%JAVACMD% %JAVACMD_OPTIONS% -cp "%PLEXUS_CP%" -Dapp.home="%MYAPP_HOME%" -Dclassworlds.conf="%MYAPP_HOME%\config\plexus.conf" %MAINCLASS% %OSMOSIS_OPTIONS% %* %EXEC% Dmitry
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
