Dear edgar, I have saved your attached file as gps.bat and the shortcut I kept in startup folder, on restarting a dos window does appear and then I launched OJ, the error problem still persists. Any clues? Aneel
On Wed, 31 Oct 2007 [EMAIL PROTECTED] wrote : >please try the attached startup batch file, which works for me.. >please doublecheck that gps.conf is in lib/ext and readable > >ede >-- >> I got the JavacommApi after googling & from the fallowing site >> >>http://www.freepoc.org/download/javacomm20-win32.zip >> >>I have done the changes you suggested to the Bat file and still get the >>fallowing error when OJ is launched: >> >>java.io.FileNotFoundException: Can't find settings file 'gps.conf' for plugin >>'GPS Tracker'. Hint: Put it in the classpath! >> at >> de.soldin.gt2jump.gps.GPSTrackerPlugin.readFile(GPSTrackerPlugin.java:630) >> at >> de.soldin.gt2jump.gps.GPSTrackerPlugin.initialize(GPSTrackerPlugin.java:243) >> at de.soldin.gt2jump.gps.GPSExtension.configure(GPSExtension.java:38) >> at >> com.vividsolutions.jump.workbench.plugin.PlugInManager.loadConfigurations(PlugInManager.java:90) >> at >> com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:84) >> at >> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:250) >> at >> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:213) >> >>My bat file at C:\Program Files\OpenJUMP\bin\openjump.bat reads as fallows >>after attending to your suggestions: >> >>set LIB=../lib >>set >>CLASSPATH=../conf;%LIB%/bsh-2.0b4.jar;%LIB%/Buoy.jar;%LIB%/Jama-1.0.1.jar;%LIB%/jdom.jar;%LIB%/jts-1.7.2.jar;%LIB%/jump-workbench-20070816-0019.jar;%LIB%/jump-api-20070816-0019.jar;%LIB%/xercesImpl.jar;%LIB%/xml-apis.jar;%LIB%/xml-apis-ext.jar;%LIB%/log4j-1.2.8.jar;%LIB%/batik-all.jar;%LIB%/jmat_5.0m.jar;%LIB%/ermapper.jar;%LIB%/jai_codec.jar;%LIB%/jai_core.jar;%LIB%/ext; >>REM add plugindir to classpath >>set PLUGINDIR=..\lib\ext >>set CLASSPATH=%PLUGINDIR%;%CLASSPATH% >> >> >>REM Add extension directory to path, so extensions can put DLL's there [Jon >>Aquino 2005-03-18] >>set PATH=%PATH%;%LIB%/ext; >>start javaw -Dlog4j.configuration=file:./log4j.xml -Xms256M -Xmx256M -cp >>%CLASSPATH% com.vividsolutions.jump.workbench.JUMPWorkbench -properties >>workbench-properties.xml -plug-in-directory %LIB%/ext >> >>I shall await for your further advise >>Aneel >> >> >>On Tue, 30 Oct 2007 [EMAIL PROTECTED] wrote : >> >>>set LIB=../lib >>>set CLASSPATH=../conf;...SNIP >>> >>>REM add plugindir to classpath >>>set PLUGINDIR=..\lib\ext >>>set CLASSPATH=%PLUGINDIR%;%CLASSPATH% >>> >>> >>>REM Add extension directory to path, so extensions can put DLL's there [Jon >>>Aquino 2005-03-18] >>>set PATH=%PATH%;%LIB%/ext;%LIB%/ext/ext >>>start javaw -Dlog4j.configuration=file:./log4j.xml -Xms256M -Xmx256M -cp >>>%CLASSPATH% com.vividsolutions.jump.workbench.JUMPWorkbench -properties >>>workbench-properties.xml -plug-in-directory %LIB%/ext >>> >>>above are the necessary entries. locate the line after the long 'set >>>Classpath' statement and insert the 3 lines (REM..., set PLUGINDIR.., set >>>CLASSPATH...) as shown above.. >>>you can safely remove the %LIB%/ext/ext from the 'set PATH' statement later >>>on, as there should be no such folder. >>> >>>btw. where did you find/download the old JavaComApi 2.0 for windows? >>> >>>good luck ..ede >>>-- >>> >>> >>>> Please find the file attached herewith. >>>>Aneel >>>> >>>> >>>>On Tue, 30 Oct 2007 [EMAIL PROTECTED] wrote : >>>> >>>> >>>>>.. please send your jumpworkbench.bat and i'll advise you where to edit it >>>>>:) >>>>> >>>>>ede >>>>>-- >>>>> >>>>> >>>>>> Hi Edgar, >>>>>>Thanks for your prompt concern. I did not receive the Java commAPI >>>>>>attachment you sent but the one I loaded seems to be working as GPS Track >>>>>>tab is seen in the Options window and test also yeilds some >>>>>>output(indoors)within that window. However, the error message persists on >>>>>>launching OJ and Iam herewith attaching the detailed error message >>>>>> >>>>>>I have added the folder name 'ext'containing gps.conf and other jar files >>>>>>within the main 'ext" to the classpath (in jumpworkbench.bat)by writing >>>>>>";%LIB%/ext/ext" Please suggest how to overcome this error. >>>>>>Aneel >>>>>> >>>>>>On Tue, 30 Oct 2007 [EMAIL PROTECTED] wrote : >>>>>> >>>>>> >>>>>> >>>>>>>did you receive this mail? your mail server seems to reject the >>>>>>>attachment.. >>>>>>> >>>>>>>Hi aneel, >>>>>>> >>>>>>>sorry for the inconvenience. To solve this error, you have to add the >>>>>>>folder containing gps.conf to the classpath (in jumpworkbench.bat) or >>>>>>>move the file into a folder in the classpath (Im not sure that there is >>>>>>>one actually ;). While developing the extension I always had the >>>>>>>plugindir added to the classpath. >>>>>>> >>>>>>>Just to help you I attach the Java Com API I used in that time and which >>>>>>>is no more downloadable at sun.com. >>>>>>> >>>>>>>Hint: You can check if the communication is working in a field in the >>>>>>>options panel / gps tab. If the serial settings are right you can see >>>>>>>the data from the mouse. >>>>>>> >>>>>>>does this help you out? .. ede >>>>>>>-- >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Dear Edgar, >>>>>>>>In continuation of RaviKumar's request, I tried your plugin with Java >>>>>>>>Communication API version 2 to get connectivity from serial port to my >>>>>>>>Garmin GPS. While I could see related menu in view and edit of oj Ver >>>>>>>>1.2D, The error message (not exact-as I am writing from home)I get is >>>>>>>>"GPS tracker could not be read from gps.conf-Hint add to the class >>>>>>>>path". Does the plugin work with 1.2D and which is the suitable JRE >>>>>>>>Ver for it to work on WIN XP. I hope with the above info, you can >>>>>>>>suggest something or I can get back with correct error message soon. >>>>>>>>------------------------------------ >>>>>>>>Edgar Soldin edgar.soldin at web.de >>>>>>>>Mon Oct 1 12:31:19 PDT 2007 Hi Ravi, >>>>>>>> >>>>>>>>how are you trying to connect to the gps mouse. Are you using my >>>>>>>>plugin? If you are using windows and are willing to experiment i could >>>>>>>>help you setup my gps extension for jump. It might prove difficult as >>>>>>>>it needs some binary libraries but it is capable of tracking a live gps >>>>>>>>data stream from a serial device. >>>>>>>> >>>>>>>>check install.txt,readme.txt in >>>>>>>>http://soldin.de/about/2004-jump_plugins/gt2jump.gps-0.1a.zip >>>>>>>>for further hints. >>>>>>>> >>>>>>>>Please describe exactly your problems, so that i can specifically >>>>>>>>support you :). >>>>>>>> >>>>>>>>regards ede >>>>>>>>-- >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>Hi, >>>>>>>>> have used the GPS plugin downloaded. I have problems connecting OJ >>>>>>>>> with GPS. >>>>>>>>> 1. How to receive TRACK from GPS. >>>>>>>>> 2. How to connect to a LIVE GPS and note the GPS coordinates. >>>>>>>>> Ex You pedal on a road and record the road on OJ. Pl give some >>>>>>>>> suggestions any documentation available ? >>>>>>>>> Cheers >>>>>>>>> Ravi Kumar >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>-- public class WhoDidIt{ // A comment. I love comments >>>>>>> private static Person sender; >>>>>>> >>>>>>> public static void main (String[] foo){ >>>>>>> >>>>>>> sender = new Person(); >>>>>>> sender.setName(new String[]{"Edgar", "Soldin"}); >>>>>>> >>>>>>> Address address = new Address(); >>>>>>> address.setStreet("Stadtweg 119"); >>>>>>> address.setZip(39116); >>>>>>> address.setCity("Magdeburg"); >>>>>>> address.setCountry("Germany"); >>>>>>> >>>>>>> sender.setAddress(address); >>>>>>> >>>>>>> sender.setMobilePhone(" +49(0)171-2782880 "); >>>>>>> sender.setWebSiteUrl(" http://www.soldin.de "); >>>>>>> sender.setEmail(" [EMAIL PROTECTED] "); >>>>>>> sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); >>>>>>> sender.setGender(true); >>>>>>> >>>>>>> System.out.println(sender.toString()); >>>>>>> } >>>>>>>} >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>-- public class WhoDidIt{ // A comment. I love comments private static >>>>>Person sender; >>>>> >>>>> public static void main (String[] foo){ >>>>> >>>>> sender = new Person(); >>>>> sender.setName(new String[]{"Edgar", "Soldin"}); >>>>> >>>>> Address address = new Address(); >>>>> address.setStreet("Stadtweg 119"); >>>>> address.setZip(39116); >>>>> address.setCity("Magdeburg"); >>>>> address.setCountry("Germany"); >>>>> >>>>> sender.setAddress(address); >>>>> >>>>> sender.setMobilePhone(" +49(0)171-2782880 "); >>>>> sender.setWebSiteUrl(" http://www.soldin.de "); >>>>> sender.setEmail(" [EMAIL PROTECTED] "); >>>>> sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); >>>>> sender.setGender(true); >>>>> >>>>> System.out.println(sender.toString()); >>>>> } >>>>>} >>>>> >>>>> >>>>> >>>> >>>-- public class WhoDidIt{ // A comment. I love comments private static >>>Person sender; >>> >>> public static void main (String[] foo){ >>> >>> sender = new Person(); >>> sender.setName(new String[]{"Edgar", "Soldin"}); >>> >>> Address address = new Address(); >>> address.setStreet("Stadtweg 119"); >>> address.setZip(39116); >>> address.setCity("Magdeburg"); >>> address.setCountry("Germany"); >>> >>> sender.setAddress(address); >>> >>> sender.setMobilePhone(" +49(0)171-2782880 "); >>> sender.setWebSiteUrl(" http://www.soldin.de "); >>> sender.setEmail(" [EMAIL PROTECTED] "); >>> sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); >>> sender.setGender(true); >>> >>> System.out.println(sender.toString()); >>> } >>>} >>> >>> >> >> > > >-- public class WhoDidIt{ // A comment. I love comments private static Person >sender; > > public static void main (String[] foo){ > > sender = new Person(); > sender.setName(new String[]{"Edgar", "Soldin"}); > > Address address = new Address(); > address.setStreet("Stadtweg 119"); > address.setZip(39116); > address.setCity("Magdeburg"); > address.setCountry("Germany"); > > sender.setAddress(address); > > sender.setMobilePhone(" +49(0)171-2782880 "); > sender.setWebSiteUrl(" http://www.soldin.de "); > sender.setEmail(" [EMAIL PROTECTED] "); > sender.setPGPPublicKey(" http://www.soldin.de/edgar_soldin.asc "); > sender.setGender(true); > > System.out.println(sender.toString()); > } >} > >@echo off > >for %%i in (..\lib\*.*) do ( > set jarfile=%%i > > rem If we append to a variable inside the for, only the last entry will > rem be kept. So append to the variable outside the for. > rem See > http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20561701.html. > rem [Jon Aquino] > > call :setclass >) > >set PLUGINDIR=../lib/ext >set CLASSPATH=%PLUGINDIR%;%CLASSPATH% >set PATH=%PATH%;.;%PLUGINDIR% > >for %%i in (%PLUGINDIR%\*.*) do ( > set jarfile=%%i > > rem If we append to a variable inside the for, only the last entry will > rem be kept. So append to the variable outside the for. > rem See > http://www.experts-exchange.com/Operating_Systems/MSDOS/Q_20561701.html. > rem [Jon Aquino] > > call :setclass >) > >echo %CLASSPATH%; > >:start >java -Xmx128M -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser >com.vividsolutions.jump.workbench.JUMPWorkbench -properties >workbench-properties.xml -plug-in-directory %PLUGINDIR% > > >goto :eof > >:setclass >set CLASSPATH=%jarfile%;%CLASSPATH% >set jarfile= >goto :eof > >:eof > > >
_______________________________________________ jump-users mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jump-users
