Ticket #1951 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

osmosis.bat classpath patch

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

Description

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

Attachments

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

Change History

Changed 5 years ago by tkappen

osmosis.bat patch

comment:1 Changed 5 years ago by brett@…

  • Status changed from new to closed
  • Resolution set to fixed

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.