Opened 11 years ago

Closed 11 years ago

#1951 closed defect (fixed)

osmosis.bat classpath patch

Reported by: tkappen Owned by: bretth
Priority: major Milestone:
Component: osmosis Version:
Keywords: osmosis.bat classpath Cc:


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% %*
\ No newline at end of file

Attachments (1)

osmosis_patch_2009-06-12.txt (959 bytes) - added by tkappen 11 years ago.
osmosis.bat patch

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by tkappen

osmosis.bat patch

comment:1 Changed 11 years ago by bretth

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.