Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

osmosis.bat classpath patch #1951

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

osmosis.bat classpath patch #1951

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: tkappen
[Submitted to the original trac issue database at 9.15pm, Thursday, 11th June 2009]

Hi there!

The classpatch in the osmosis.bat is not correct. See the patch below.

Regards,
Thomas


Index: bin/osmosis.bat
===================================================================
--- bin/osmosis.bat	(revision 15823)
+++ bin/osmosis.bat	(working copy)
@@ -63,6 +63,6 @
 REM exec $EXEC
 set MAINCLASS=org.openstreetmap.osmosis.core.Osmosis
 
-SET EXEC=%JAVACMD% %JAVACMD_OPTIONS% -cp %MYAPP_HOME%\osmosis.jar;%MYAPP_HOME%\lib\commons-logging.jar;%MYAPP_HOME%\lib\mysql-connector-java-5.0.7-bin.jar;%MYAPP_HOME%\lib\postgresql-8.3-603.jdbc4.jar;%MYAPP_HOME%\lib\postgis_1.3.2.jar %MAINCLASS% %OSMOSIS_OPTIONS% %*
+SET EXEC=%JAVACMD% %JAVACMD_OPTIONS% -cp %MYAPP_HOME%\osmosis.jar;%MYAPP_HOME%\lib\default\commons-logging-1.1.1.jar;%MYAPP_HOME%\lib\default\mysql-connector-java-5.1.6.jar;%MYAPP_HOME%\lib\default\postgresql-8.3-603.jdbc4.jar;%MYAPP_HOME%\lib\default\postgis_1.3.2.jar;%MYAPP_HOME%\lib\default\jpf-1.5.jar;%MYAPP_HOME%\lib\default\bzip2-20090327.jar %MAINCLASS% %OSMOSIS_OPTIONS% %*
 
 %EXEC%
\ No newline at end of file

@openstreetmap-trac
Copy link
Author

Author: brett[at]bretth.com
[Added to the original trac issue at 3.22am, Saturday, 13th June 2009]

Patch applied.
I have also updated list of jars to include all jars in the default directory.

Let me know if you see any further problems,
Brett

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant