[osmosis-dev] Merging two entity streams fails on Windows

Dima Batenkov dima.batenkov at gmail.com
Sun Jan 23 18:51:19 GMT 2011


On 23 January 2011 20:07, Peter Körner <osm-lists at mazdermind.de> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20110123/9946f202/attachment.html>


More information about the osmosis-dev mailing list