Hi Markus,

Thank you for your answer.

I'm still using Wonder6. The Wondersource I had compiled with JDK1.8
(which is the default on the machine) on the initial installation. In
the meantime I have recompiled the Wonder source with

cd ${HOME}
rm -rf Libraries/WOnder/Root/*
rm -rf Libraries/WOnder/Library/Frameworks/*
rm -rf Libraries/WOnder/Library/WebObjects/lib/*
rm -rf WonderSource
git clone https://github.com/wocommunity/wonder.git WonderSource
cd WonderSource
git checkout tags/wonder-6.1.5
ant -Dant.build.javac.source=1.7 -Dant.build.javac.target=1.7
-Duser.home=${HOME}/Libraries/WOnder frameworks frameworks.install

and so I can run the project with JDK1.7 inside Eclipse because all
referenced classes have a version 51 now. The build process with Ant
(which runs on JDK1.8) works now too with the

ant.build.javac.source 1.7
ant.build.javac.target 1.7
compiler.source 1.7
compiler.target 1.7

settings (I still need tools.jar from JDK1.8 within the Ant classpath).
I think, I could also set the JVM within the "External Tool Config" for
the Ant process to JDK1.7 and move to the tools.jar of that JVM, to work
within 1.7 completely (not tested).

But the "WOLips Ant Tools->Install" doesn't work, it starts, but it
doesn't generate archives. The error with the unsupported class version
has been solved with the recompile, but now I don't get any errors and
also there are no project archives. I have to run the build.xml manually
for that.

In the previous post I described, that "WOLips Ant Tools->Install"
starts a JDK1.7 instead JDK1.8 (like running build.xml manually). But I
couldn't find out any reason for that. I looked into the WoLips code, to
find out, how the context menu item starts the Ant process, but without
deeper knowledge of the Eclipse framework I cannot find any meaningful
things.

~André

Am 24.02.20 um 09:49 schrieb Markus Ruggiero via Webobjects-dev:
> Hi André,
> 
> my understanding is that Wonder7 requires Java 8 (1.8). As you try to compile 
> with Java 7 things don't work. You can of course set the compiler compliancy 
> to Java 7 for your classes, but nevertheless your code requires a Java 8 
> runtime because the Wonder frameworks need this.
> 
> Hope this helps
> ---markus---

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to