Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-25 Thread Stefan Steiniger
Hi, as a note: when I create a plugin I am doing this via the mouse menu on the source/project: choosing "export" and then select Java > JAR file. So I am not using Ant for creating plugins. stefan Am 25.02.12 09:28, schrieb Landon Blake: > Tanks for the tips Ede. I'm aware of the project speci

Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-25 Thread Landon Blake
Tanks for the tips Ede. I'm aware of the project specific settings for Java compilation in Eclipse. I was not aware of the setting for my Ant build file. I will check that out. Landon On Sat, Feb 25, 2012 at 2:47 AM, wrote: > On 24.02.2012 23:54, Landon Blake wrote: >> I'm building both with An

Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-25 Thread edgar . soldin
On 24.02.2012 23:54, Landon Blake wrote: > I'm building both with Ant in Eclipse. The Super > Select Tool plug-in loads just fine in OpenJUMP, while the GPX Reader > plug-in throws a "Major Minor" version exception. (This happens when > you run a class compiled with a JDK higher than the JRE runnin

Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-25 Thread edgar . soldin
On 25.02.2012 00:49, Landon Blake wrote: > I set the "JDK Compliance" to 1.6 and 1.5, but that didn't make a > difference either. (Is that what you meant by "target version" of the > compiler?) be aware that eclipse has a project specific jdk compliance setting rightclick Project in Package Expl

Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-24 Thread Landon Blake
Michael: I imported my GPX Reader Plug-in Eclipse project to Netbeans and ran a build. The resulting JAR works just fine in OpenJUMP. Somehow Eclipse was still compiling for Java 1.7, despite all my efforts. I'll see if I can't use Netbeans to put together a version of the plug-in for 1.5 and 1.6

Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-24 Thread Landon Blake
Thanks for the help Michael. If I don't talk to you, have a good weekend. Landon 2012/2/24 Michaël Michaud : > Hi >> I tried uninstalling JDK 1.7. That made no difference. >> >> I set the "JDK Compliance" to 1.6 and 1.5, but that didn't make a >> difference either. (Is that what you meant by "tar

Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-24 Thread Michaël Michaud
Hi > I tried uninstalling JDK 1.7. That made no difference. > > I set the "JDK Compliance" to 1.6 and 1.5, but that didn't make a > difference either. (Is that what you meant by "target version" of the > compiler?) Yes, probably, > I also removed all the plug-in dependencies. It didn't get past the

Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-24 Thread Landon Blake
I tried uninstalling JDK 1.7. That made no difference. I set the "JDK Compliance" to 1.6 and 1.5, but that didn't make a difference either. (Is that what you meant by "target version" of the compiler?) I also removed all the plug-in dependencies. It didn't get past the configure method of the plu

Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-24 Thread Michaël Michaud
Hi > I believe it depends on how the JAR file for the plug-in is produced. > If you compile and build the Jar using Ant from inside Eclipse, then > Ant controls. I checked my tools.jar in the Ant Runtime Configuration, > at it is being pulled from a 1.6 JDK. This should be the same Eclipse > is usi

Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-24 Thread Landon Blake
Michael: Thanks for the response. You wrote: "Is your ant script or your Eclipse settings deciding which compiler version you are using ?" I believe it depends on how the JAR file for the plug-in is produced. If you compile and build the Jar using Ant from inside Eclipse, then Ant controls. I ch

Re: [JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-24 Thread Michaël Michaud
Hi, > I've set my compiler settings for the GPX project to Java 1.6 on both > plug-in projects. I'm building both with Ant in Eclipse. Is your ant script or your Eclipse settings deciding which compiler version you are using ? Does your GPX plugin have dependencies ? Did you try to remove (or no r

[JPP-Devel] Help Compiling GPX Reader Plug-In for Java 1.6

2012-02-24 Thread Landon Blake
I spent a few hours today trying to troubleshoot the problem with the "missing menu" on my GPX reader plug-in. This involved, among other things, copying an Eclipse project for a plug-in that would work properly and moving my GPX source code into that project. I've set my compiler settings for the