Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Paul Austin
Yeah, batch files are pretty evil to get them to do what you want. Paul Martin Davis wrote: > Great, works now. Good work! > > We always wanted to take this approacj, but it requires in-depth > knowledge of a few obscure undocumented Windows shell hacks...I > mean, ~dp0 - who could have g

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Martin Davis
Great, works now. Good work! We always wanted to take this approacj, but it requires in-depth knowledge of a few obscure undocumented Windows shell hacks...I mean, ~dp0 - who could have guessed that? Paul Austin wrote: > Since then the batik libs have been moved from lib/batik/ to lib/ >

Re: [JPP-Devel] list confusion

2007-09-14 Thread Sunburned Surveyor
Perhaps I can help clear the muddied water. jump-pilot-devel@lists.sourceforge.net is the mailing list for development of OpenJUMP. This is where most of the activity has been recently. [EMAIL PROTECTED] is an old mailing list that used to be maintained by Refractions Research for the original JU

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Paul Austin
Since then the batik libs have been moved from lib/batik/ to lib/ Paul Martin Davis wrote: > Paul, > > I'm trying this with openjump-20070609-0017. Perhaps this is not a > recent enough version, but I get the following error message: > > java.lang.NoClassDefFoundError: org/apache/batik/svggen/S

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Martin Davis
Paul, I'm trying this with openjump-20070609-0017. Perhaps this is not a recent enough version, but I get the following error message: java.lang.NoClassDefFoundError: org/apache/batik/svggen/SVGGraphics2D at org.openjump.OpenJumpConfiguration.loadOpenJumpPlugIns(OpenJumpConfiguration.java:

Re: [JPP-Devel] list confusion

2007-09-14 Thread Larry Becker
It isn't for me to say which list is right, :-) however there is more JUMP developer traffic on jump-pilot-devel than any other list that I know of. Larry On 9/14/07, Edgar Soldin <[EMAIL PROTECTED]> wrote: > .. i am confused .. which list is the right one? > > regards ede > > -- > public class

Re: [JPP-Devel] [Fwd: [jump-devel] Projection with Geotools2 CRS]

2007-09-14 Thread Sunburned Surveyor
Edgar wrote: "i think they have only a very modular clearly structured architecture .. which makes it very good maintainable and extensible .. btw respect for this to the geotools dev team." This is probably a difference of opinion that we have. :] It still seems to me that GeoTools makes things m

Re: [JPP-Devel] [Fwd: [jump-devel] Projection with Geotools2 CRS]

2007-09-14 Thread Paul Austin
That should have read at the JUMP level ... - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ _

Re: [JPP-Devel] [Fwd: [jump-devel] Projection with Geotools2 CRS]

2007-09-14 Thread Paul Austin
Larry, Alevel we should probably have a utility class that would reproject a Category,a Layer, a FeatureCollection In JUMP we should have some high level utility methods to reproject the following. We can then leave the more detailed discussion on projection libraries to a later date. Task Categ

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Larry Becker
Now it works! Larry On 9/14/07, Paul Austin <[EMAIL PROTECTED]> wrote: > Oops > > lcb.bat > set _CLASSPATHCOMPONENT=%1 > :argCheck > if %2a==a goto gotAllArgs > shift > set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1 > goto argCheck > :gotAllArgs > set CLASSPATH=%_CLASSPATHCOMPONENT%;%CLASSPATH%

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Paul Austin
Oops lcb.bat set _CLASSPATHCOMPONENT=%1 :argCheck if %2a==a goto gotAllArgs shift set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1 goto argCheck :gotAllArgs set CLASSPATH=%_CLASSPATHCOMPONENT%;%CLASSPATH% Larry Becker wrote: > Wait! Where is the lcp.bat file that is referenced? > > Larry > > O

Re: [JPP-Devel] [Fwd: [jump-devel] Projection with Geotools2 CRS]

2007-09-14 Thread Larry Becker
> Maybe a dialogue containing > a list of all layers (preselected the ones selected in jump ui) , > src & target cs/proj choosers and > a status console telling about problems and currents status of operations >mandatory ok & cancel buttons Since I never saw the older UI you created, the details

[JPP-Devel] list confusion

2007-09-14 Thread Edgar Soldin
.. i am confused .. which list is the right one? regards ede -- 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 A

Re: [JPP-Devel] [Fwd: [jump-devel] Projection with Geotools2 CRS]

2007-09-14 Thread Edgar Soldin
what do you think of the user interface i suggested? ede -- > Hmm. I'm intrigued. If no one else wants to take this on, I'll have > a go at it. > > I realize that there is a discussion about the best interface going > on, but this will be a proof (more like a re-proof) of concept. > > regards, >

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Larry Becker
Wait! Where is the lcp.bat file that is referenced? Larry On 9/14/07, Larry Becker <[EMAIL PROTECTED]> wrote: > You are definitely on the right track, but it still doesn't work. Can > you just change the extension to .txt or something and attach it? > > Larry > > On 9/14/07, Paul Austin <[EMAIL

Re: [JPP-Devel] [Fwd: [jump-devel] Projection with Geotools2 CRS]

2007-09-14 Thread Larry Becker
Hmm. I'm intrigued. If no one else wants to take this on, I'll have a go at it. I realize that there is a discussion about the best interface going on, but this will be a proof (more like a re-proof) of concept. regards, Larry On 9/14/07, Edgar Soldin <[EMAIL PROTECTED]> wrote: > Hey Larry, >

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Larry Becker
You are definitely on the right track, but it still doesn't work. Can you just change the extension to .txt or something and attach it? Larry On 9/14/07, Paul Austin <[EMAIL PROTECTED]> wrote: > Larry, > > see the line with "-Djump... that should be on the previous line > > same for -plug-in-dir

Re: [JPP-Devel] [Fwd: [jump-devel] Projection with Geotools2 CRS]

2007-09-14 Thread Edgar Soldin
Hey Larry, > More seriously - are you saying that we can just add a GT2 jar, wrap > it in an interface like some of the guys have been kicking around, and > get instant transformation? > make it 4 jars and use given jts objects .. voila, see: http://docs.codehaus.org/display/GEOTDOC/01+CRS+Hel

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Paul Austin
Larry, see the line with "-Djump... that should be on the previous line same for -plug-in-directory Paul Paul Austin wrote: > The following is an improved windows bat file that allows the > application to be run from any directory and also dynamically loads all > zip,jar libraries in the lib (n

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Paul Austin
Larry, Did you double click the bat file or did you run it from the command line? Paul Larry Becker wrote: > Hi Paul, > > I replaced the standard openjump.bat file with the commands in you > message. I ran it under Windows XP. I tried to attach the bat file, > but of course, you can't send t

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Larry Becker
Hi Paul, I replaced the standard openjump.bat file with the commands in you message. I ran it under Windows XP. I tried to attach the bat file, but of course, you can't send those in email. Larry On 9/14/07, Paul Austin <[EMAIL PROTECTED]> wrote: > Larry can you show how you ran it and on wh

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Paul Austin
Larry can you show how you ran it and on which windows version? thanks, paul Larry Becker wrote: > I guess the included sample wasn't complete? It didn't work for me. > Something about ".." is not recognized. > > Larry > > On 9/14/07, Paul Austin <[EMAIL PROTECTED]> wrote: > >> The following

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Larry Becker
I guess the included sample wasn't complete? It didn't work for me. Something about ".." is not recognized. Larry On 9/14/07, Paul Austin <[EMAIL PROTECTED]> wrote: > The following is an improved windows bat file that allows the > application to be run from any directory and also dynamically loa

Re: [JPP-Devel] Improved windows bat file

2007-09-14 Thread Andreas Schmitz
Paul Austin wrote: Hi, > The following is an improved windows bat file that allows the > application to be run from any directory and also dynamically loads all > zip,jar libraries in the lib (not ext) folder. > I'd also like to make it have user based coinfiguration as per my unix > script. >

Re: [JPP-Devel] [Fwd: [jump-devel] Projection with Geotools2 CRS]

2007-09-14 Thread Edgar Soldin
greetings sunburned and all, > What happens > when GeoTools moves on to a different set of projection code? What > happens when Refraction Research abandons the project because of a > lack of funding? > well were still free to use the existing working code. also we can write a new extension to

Re: [JPP-Devel] R: [Fwd: [jump-devel] Projection with Geotools2 CRS] (needed jars)

2007-09-14 Thread Edgar Soldin
I just doublecheck it at home... yes needed as by version 2.3 of geotools is mere 4 jars namely gt2-api, gt2-referencing, gt2-epsg-wkt & geoapi things were really cleaned up in between.. remember the original cts extension is from 2004 regards ede -- > P.Rizzi Ag.Mobilità Ambiente wrote: >

Re: [JPP-Devel] R: Extension class loader

2007-09-14 Thread Edgar Soldin
this is as i understand it as well ... ede > Java classloading is a _very_ delicate thing. > I wouldn't change anything if not necessary. > Since it now works (I think it works) I see no reason to change it. > It may as well be that it has no parent for some specific reason. > > Also the Java spec

Re: [JPP-Devel] Extension class loader

2007-09-14 Thread Edgar Soldin
well .. if there would be a possibility to define a custom class loader this would enable an extension to load its own jars circumventing conflicts with possible existing other versions of a library used by jump or another extension. a nice feature from my point of view. problem is: as far as i

Re: [JPP-Devel] Paul's plugins

2007-09-14 Thread Paul Austin
Michael, 1. The reason there is two dock and close icons is that the one on the right is for the group of tabs and the one on the left is for the individual tab. Little weird I know. I'm actually looking at some other docking frameworks which might also give us dockable

[JPP-Devel] Improved windows bat file

2007-09-14 Thread Paul Austin
The following is an improved windows bat file that allows the application to be run from any directory and also dynamically loads all zip,jar libraries in the lib (not ext) folder. I'd also like to make it have user based coinfiguration as per my unix script. Any objections to checking this in?

Re: [JPP-Devel] Extension class loader

2007-09-14 Thread Paul Austin
It's OK I found a work around, I agree if we don't have to mess with classloaders then we shouldn't Paul Paul Austin wrote: > Right now the class loader used for loading extension classes does not > have a parent class loader set see > com.vividsolutions.jump.workbench.plugin.PlugInManager. > > I

Re: [JPP-Devel] Extension class loader

2007-09-14 Thread Larry Becker
Sounds reasonable to me. Larry On 9/14/07, Paul Austin <[EMAIL PROTECTED]> wrote: > Right now the class loader used for loading extension classes does not > have a parent class loader set see > com.vividsolutions.jump.workbench.plugin.PlugInManager. > > I think that it should have a parent and it

[JPP-Devel] R: Extension class loader

2007-09-14 Thread P . Rizzi Ag . Mobilità Ambiente
Java classloading is a _very_ delicate thing. I wouldn't change anything if not necessary. Since it now works (I think it works) I see no reason to change it. It may as well be that it has no parent for some specific reason. Also the Java spec for ClassLoader.getParent() says: "...Returns the pare

[JPP-Devel] Extension class loader

2007-09-14 Thread Paul Austin
Right now the class loader used for loading extension classes does not have a parent class loader set see com.vividsolutions.jump.workbench.plugin.PlugInManager. I think that it should have a parent and it be set to the class loader of the PlugInManager class (which is the system class path). Can

[JPP-Devel] Behavior Of Paste Selected Items To Selected Layer

2007-09-14 Thread Sunburned Surveyor
I've got the logic for the "Send To Layer" button in my Super Select Tool working. I basically "stole" some of the code from the CopySelectedItemsPlugIn class and the PasteItemsPlugIn class. I can now confirm that the copy-paste operation of Features between Layers in OpenJUMP does indeed copy att

[JPP-Devel] Vacation

2007-09-14 Thread Andreas Schmitz
Hi, I just wanted to let you know that I'll be on vacation for four weeks. Since I'm the only lat/lon and deegree developer reading this list, if you need some lat/lon or deegree input, it will be a lot faster to ask on the deegree lists, as I'll not be able to read my email during this time. Hav

Re: [JPP-Devel] R: [Fwd: [jump-devel] Projection with Geotools2 CRS]

2007-09-14 Thread Edgar Soldin
P.Rizzi Ag.Mobilità Ambiente wrote: > Seriously speaking, the projection part of GT2 is, IMHO, probably > the only part worth considering, but I have no idea of how much > it is entangled with all the rest (and I don't want to know, either). > as far as I my test went, it showed that at least

[JPP-Devel] R: [Fwd: [jump-devel] Projection with Geotools2 CRS]

2007-09-14 Thread P . Rizzi Ag . Mobilità Ambiente
> Edgar wrote: "just trying to lobby for the GT2 library, as I get the > impression the > list is a bit afraid of it ;)." > > The whole list probably isn't afraid of it, it's probably just me. :] Me too!!! > Maybe I'm a little paranoid. It just seems like everytime I get into > the guts of GeoToo