Hi TG and all,

you are right cts extension was developed with jump 1.1.1 so if you just 
want check out its functionality you could try the 1.1.1 version from
http://www.vividsolutions.com/JUMP/
This must work.

BUT it (still) contains a bug which stopped it from working for you.. 
Usually you can workaround it by putting the cs.conf's parent folder's 
path into classpath variable.
e.g. file is there: %JUMPHOME%/lib/ext/cs.conf - add: %JUMPHOME%/lib/ext/

As the new openjumps are started with binary exe files and predefined 
classpath in xml files, this might proof difficult. But still you can 
try to start it with some of the older *.bat files under %JUMPHOME%/bin 
(are they still there?).

Sorry for the inconvenience .. should I ever touch the code again Iswear 
to fix it :) .. ede
--

> mhm.. it looks like a previous error also reported earlier, but if I 
> apply the class path changes nothing happens (i.e. it still doesn't not 
> work). What is interesting is, that depending on the location of the 
> file the error message varies
>
> if it is not existing et all it says just "null pointer exception", but 
> if i have it in lib\ext it says: "Can't locate cs.conf."
>
> ok.. it may be again a windows path problem, i.e. the use of "space" for 
> the openjump folder path.
>
> yep... that's the problem
>
> the solution is: move your complete OpenJUMP folder to for instance 
> C:\openjump\ ... away from C:\Program Files\ which contains an space 
> between 'Progam' and 'Files'
>
> now start OpenJUMP using the openjump.bat file
>
> c) we also got the same problem with starting OJ 1.2 from the 
> openjump.bat file. Therefore you need to make as well this change in the 
> bat file:
>
> -Dlog4j.configuration=file:%JUMP_HOME%\bin\log4j.xml
> to
> "-Dlog4j.configuration=file:%JUMP_HOME%\bin\log4j.xml"
>
> stefan
>
> Sunburned Surveyor wrote:
>   
>> It appears, from the stack trace, that Edgar's plug-in is having
>> trouble loading the WKT definition of the coordinate system for some
>> reason.
>>
>> Ted,
>>
>> If you had a simple plug-in that prompted you for the ESPG code for
>> both the source and destination spatial reference system, and then
>> performed the transformation, would this work?
>>
>> SS
>>
>> On Mon, Apr 21, 2008 at 1:12 PM, Ted Wong <[EMAIL PROTECTED]> wrote:
>>     
>>> Sunburned and Stefan,
>>>
>>> Thanks for such quick responses! And for all the OJ work, of course.
>>>
>>> I know basically nothing about Java programming. (Some Python but
>>> nothing sophisticated.) I wouldn't want to be a mooch, but I do think
>>> a usable projection/coordinate tool would be enormously useful in OJ.
>>> I'm trying to find something that would be suitable for an elephant-
>>> conservation project for a colleague of mine. They need something that
>>> they can use to integrate several Shapefiles for some quick in-the-
>>> field mapping and analysis, and ultimately to export Shapefiles for
>>> analysis in ArcGIS when they get back home.
>>>
>>>
>>>       
>>>> what does the null pointer exception say? can you post the stack trace
>>>>         
>>> Sure:
>>>
>>> java.lang.NullPointerException
>>>        at de.soldin.gt2jump.cts.WKTCSLoader.<init>(WKTCSLoader.java:51)
>>>        at de.soldin.gt2jump.cts.CSComboBox.<init>(CSComboBox.java:48)
>>>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>>> Method)
>>>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
>>> Source)
>>>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
>>> Source)
>>>        at java.lang.reflect.Constructor.newInstance(Unknown Source)
>>>        at java.lang.Class.newInstance0(Unknown Source)
>>>        at java.lang.Class.newInstance(Unknown Source)
>>>        at org.swixml.DefaultFactory.newInstance(Unknown Source)
>>>        at org.swixml.Parser.getSwing(Unknown Source)
>>>        at org.swixml.Parser.getSwing(Unknown Source)
>>>        at org.swixml.Parser.parse(Unknown Source)
>>>        at org.swixml.SwingEngine.render(Unknown Source)
>>>        at org.swixml.SwingEngine.render(Unknown Source)
>>>        at org.swixml.SwingEngine.render(Unknown Source)
>>>        at
>>> de.soldin.gt2jump.cts.CSLayerSetExtension.execute(CSLayerSetExtension.java:
>>> 218)
>>>        at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn
>>> $1.actionPerformed(AbstractPlugIn.java:130)
>>>        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>>>        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>>>        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>>>        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>>>        at javax.swing.AbstractButton.doClick(Unknown Source)
>>>        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
>>>        at javax.swing.plaf.basic.BasicMenuItemUI
>>> $Handler.mouseReleased(Unknown Source)
>>>        at java.awt.Component.processMouseEvent(Unknown Source)
>>>        at javax.swing.JComponent.processMouseEvent(Unknown Source)
>>>        at java.awt.Component.processEvent(Unknown Source)
>>>        at java.awt.Container.processEvent(Unknown Source)
>>>        at java.awt.Component.dispatchEventImpl(Unknown Source)
>>>        at java.awt.Container.dispatchEventImpl(Unknown Source)
>>>        at java.awt.Component.dispatchEvent(Unknown Source)
>>>        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>>>        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>>>        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>>>        at java.awt.Container.dispatchEventImpl(Unknown Source)
>>>        at java.awt.Window.dispatchEventImpl(Unknown Source)
>>>        at java.awt.Component.dispatchEvent(Unknown Source)
>>>        at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
>>> Source)
>>>        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>>>        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
>>> Source)
>>>        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>        at java.awt.EventDispatchThread.run(Unknown Source)
>>>
>>>       
>>     
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>   


-- 
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());
  }
}


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to