• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOLips and JDK versions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOLips and JDK versions


  • Subject: Re: WOLips and JDK versions
  • From: André Rothe via Webobjects-dev <email@hidden>
  • Date: Mon, 24 Feb 2020 11:00:06 +0100
  • Autocrypt: addr=email@hidden; prefer-encrypt=mutual; keydata= mQGiBD3mI7cRBACGgHUTtNs/xDFrXgHhW3AZ572B6mZa9YCcsKdRGkYdbfPgg+9e4vsE6k7f z7hpTc3MbJa/Xiim1ZEXhlLVRKaMHVT7VxTzZKXdb4kM60sG9jd/FevzBZ2H7PNY5Paax1lL rb6GTIWH2ZiTq6aPcKm/kDC/vcCbL24m041kuiRXpwCgveq4BOU+pD9EyZcfquIh0zmetSsD /0CI442mebKcg8E9GJ3ZHmW6OpHAOaxAQOb3QXmU0azmw3cxwzMfT9zwX2O5lBvUUEXiriYb mCqGtNHWzqazyUWOMY0XxpkpxHKuqQ1vaUH4007IUbgtbsE7s8LTk+Xdyl6nyw3jdOZuP3BW AytaDjB2ckfjL67bGVQ8bHMstCYoA/9mPE0wQNfumaHbD2qi8LoOjQR+JRI40/9odU7MZiKX XkyrlrvOTRuQXNzqyTLGBU2VMGrsz8A2jgvRkDjK7/edbBDhbo89go93105pExrH9cQmFLe4 YdSK+pO23NGS0zDKxGHaX0L73kaOvSdLCtejMDWIvljWDXToUerin+Faw7Q1QW5kcmUgUm90 aGUgKG9mZmljZSkgPGFuZHJlLnJvdGhlQHprcy51bmktbGVpcHppZy5kZT6IYwQTEQIAIwIb AwYLCQgHAwIEFQIIAwQWAgMBAh4BAheABQJMEjSEAhkBAAoJECAEMVmkvUsCCzAAoLJZMPjD qsmv7dDmwONZf3fvVabCAJ0UyXgpcNXGI8k9LNtjpUYiMqR9U7kCDQQ95iPUEAgAlQ6PhmI4 bj//NNbPPKvUM/D/wY7nr4kSmor2YnZW62mzRPJ0wZchgMU36cMPo4HK71aKF+Jvvmsxj/UT WwVgt4uf4VgVZ5DNUlNMr8kmpeBQFWrUmLrIH/s7ZOjd9fsYZT6InkN5zHiSlNNQdRmSCi0B Xw+qVrK8UNdf9lEPmW0x1ABe4f/QFWIevCZaz5nvEt4+n37//aOsdbP0bedOh+CtXV3YdTd+ Z618RHrJDugA3KorgZjhrug6iBaK0lEDQ0SI2YV3m0569F9hkjVbXH1Wxv9dV+QyT6uWuBmO Isa6drzPp+RRrUKZoYO6AKYxTY2cYBVJ+KxaeWNYzK9+OwADBgf/bw/dboyTWxWEuRcbV60z 4fFwv1Zn30QCI+eMG2B62E3SPFLxNBjMhoH7gat1/QE1fDw1E6FaImPvUQP91EcVFOxMK1it QboHYOyZ9P+SKBE8rv1EYedbrPGu4EP+BxPnUymnzEqJ49DJgmIH6Hv6zoFzZB4Z6SPoZFJ2 8Znmngt/ZGEurf0x1YgPKhvD14QmKqK3KdBiVyv0q26/1cGG+kIe9suLUYVFrQcaujY5u/a+ +wmyvcjPeiCQ1Hl4FNm+7HXM7XbX1I23KBZbDKr3/SzNllFN7TyYOf6RbRjVw+vcdT2WCZ/H XKGdVkMwLf3OybmTDh/WupMn3Q+yd5E0PYhGBBgRAgAGBQI95iPUAAoJECAEMVmkvUsC2PoA oKWTxzXqJPv1Zun+dHHBb80TYMjIAJwLV33f6IleaUTQ8LjsKt15K75AUA==
  • Openpgp: preference=signencrypt

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >WOLips and JDK versions (From: André Rothe via Webobjects-dev <email@hidden>)
 >Re: WOLips and JDK versions (From: Markus Ruggiero via Webobjects-dev <email@hidden>)

  • Prev by Date: Re: WOLips and JDK versions
  • Next by Date: SSO-Integration (auth0.com)
  • Previous by thread: Re: WOLips and JDK versions
  • Next by thread: Re: WOLips and JDK versions
  • Index(es):
    • Date
    • Thread