Re: New Eclipse with old Java

2015-10-20 Thread T Worman
Two things I can offer:

1. My approach has been to simply make ~/Library/wobuild.properties a symlink 
to wolips.properties like:

wobuild.properties@ -> Application Support/WOLips/wolips.properties

This way, only 1 file has to be maintained.

2. That wocompile warning you are seeing on a framework or app build has been 
normal for quite some time now - at least for me. I think it originated when 
Apple stopped bundling ant with OS X. It does not mean that the build was not 
completed and it has no impact on the build product.

Tim
UCLA GSE&IS

> On Oct 20, 2015, at 2:08 PM, Kushnir Gennady  wrote:
> 
> Hello again.
> 
> I've found two files:
> $USER_HOME/Library/Application Support/WOLips/wolips.properties
> $USER_HOME/Library/wobuild.properties
> 
> Both of them target correct WO install locations and are there for long time. 
> But my woa is still built without bootstrap.jar
> 
> Only warning I get when building is this:
> [wocompile] 
> /Users/gena/Documents/WOProj/_workspace/rujel/Rujel/build.xml:206: warning: 
> 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set 
> to false for repeatable builds
> 
> And I don’t understand what it means.
> 
> I checked permissions. They seem to be ok. I do have access to target install 
> dir.
> 
> Regards,
> Gennady.
> 
>> 20 окт. 2015 г., в 18:30, Dennis Bliefernicht 
>> mailto:dennis.blieferni...@xyrality.com>> 
>> написал(а):
>> 
>> Hi,
>> 
>>> On 20 Oct 2015, at 14:56, Kushnir Gennady >> > wrote:
>>> 
 Check if your WO is still setup properly and your 
 Library/wobuild.properties are setup correctly.
>>> 
>>> I’m afraid I don’t get that. WO frameworks are still in 
>>> /System/Library/Frameworks
>>> What is "Library/wobuild.properties" ?
>> 
>> Ah I misremembered the path. Its the wolips.properties in 
>> "$USER_HOME/Library/Application Support/WOLips" which points to the 
>> WebObjects installation. The WO ant task uses that file to lookup your local 
>> WO installation and determine if it is WO 5.2 or later (and contains the 
>> bootstrap JAR) or if its pre-5.2; not finding any properties equals pre-5.2 
>> WO and results in a different launch script. We encountered this issue for 
>> example when using Jenkins to build our applications.
>> 
>>> After changing Ant (on Mars) settings to run with Java 1.8 the build tells 
>>> me that it completed successfully but actually I can't see the resulting 
>>> .woa installed in /Library/WebObjects/Applications.
>> 
>> 
>> Any specific output? Possibly trying to run the same ant task on the command 
>> line using an ant installation? Maybe the OS upgrade messed up the access 
>> permissions / ownership? (Also the new system file protection might prevent 
>> this?)
>> 
>> Greetings
>> Dennis
>> 
>> --
>> 
>> 
>> 
>> 
>> 
>> -
>> Dennis Bliefernicht • Backend Development
>> T +49 40 357 3001 62
>> dennis.blieferni...@xyrality.com 
>> 
>> XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg
>> www.xyrality.com 
>> Registergericht: Hamburg HRB 115332
>> Geschäftsführer: Sven Ossenbrüggen
>> -
>> 
> 
> ___
> 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/lists%40thetimmy.com
> 
> This email sent to li...@thetimmy.com

 ___
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

Re: New Eclipse with old Java

2015-10-20 Thread Kushnir Gennady
Hello again.

I've found two files:
$USER_HOME/Library/Application Support/WOLips/wolips.properties
$USER_HOME/Library/wobuild.properties

Both of them target correct WO install locations and are there for long time. 
But my woa is still built without bootstrap.jar

Only warning I get when building is this:
[wocompile] /Users/gena/Documents/WOProj/_workspace/rujel/Rujel/build.xml:206: 
warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

And I don’t understand what it means.

I checked permissions. They seem to be ok. I do have access to target install 
dir.

Regards,
Gennady.

> 20 окт. 2015 г., в 18:30, Dennis Bliefernicht 
>  написал(а):
> 
> Hi,
> 
>> On 20 Oct 2015, at 14:56, Kushnir Gennady > > wrote:
>> 
>>> Check if your WO is still setup properly and your 
>>> Library/wobuild.properties are setup correctly.
>> 
>> I’m afraid I don’t get that. WO frameworks are still in 
>> /System/Library/Frameworks
>> What is "Library/wobuild.properties" ?
> 
> Ah I misremembered the path. Its the wolips.properties in 
> "$USER_HOME/Library/Application Support/WOLips" which points to the 
> WebObjects installation. The WO ant task uses that file to lookup your local 
> WO installation and determine if it is WO 5.2 or later (and contains the 
> bootstrap JAR) or if its pre-5.2; not finding any properties equals pre-5.2 
> WO and results in a different launch script. We encountered this issue for 
> example when using Jenkins to build our applications.
> 
>> After changing Ant (on Mars) settings to run with Java 1.8 the build tells 
>> me that it completed successfully but actually I can't see the resulting 
>> .woa installed in /Library/WebObjects/Applications.
> 
> 
> Any specific output? Possibly trying to run the same ant task on the command 
> line using an ant installation? Maybe the OS upgrade messed up the access 
> permissions / ownership? (Also the new system file protection might prevent 
> this?)
> 
> Greetings
> Dennis
> 
> --
> 
> 
> 
> 
> 
> -
> Dennis Bliefernicht • Backend Development
> T +49 40 357 3001 62
> dennis.blieferni...@xyrality.com 
> 
> XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg
> www.xyrality.com 
> Registergericht: Hamburg HRB 115332
> Geschäftsführer: Sven Ossenbrüggen
> -
> 

 ___
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

Re: Does the tutorial work?

2015-10-20 Thread Barry Starrfield
That did it!  Thanks Chuck!

> On Oct 20, 2015, at 7:51 PM, Chuck Hill  wrote:
> 
> Look under Preferences – WOLips – Build.  Make sure that Generate Bundles is 
> NOT checked off.
> 
> Chuck
> 
> 
> From:  > on 
> behalf of Barry Starrfield  >
> Date: Tuesday, October 20, 2015 at 9:17 AM
> To: "webobjects-dev@lists.apple.com " 
> mailto:webobjects-dev@lists.apple.com>>
> Subject: Does the tutorial work?
> 
> Hi,
> I just redid the second of the Wonder tutorials, and ran into the same error 
> - question, did I install WOLips incorrectly?
> 
> [2015-10-20 18:48:31 IDT]  java.lang.NullPointerException
> at 
> com.webobjects._ideservices._IDEProjectWOLips.bundlePathURL(_IDEProjectWOLips.java:174)
> at com.webobjects._ideservices._WOProject.bundlePath(_WOProject.java:540)
> at 
> com.webobjects.appserver._private.WOProjectBundle._initBundlePath(WOProjectBundle.java:92)
> at 
> com.webobjects.appserver._private.WODeployedBundle.(WODeployedBundle.java:90)
> at 
> com.webobjects.appserver._private.WOProjectBundle.(WOProjectBundle.java:40)
> at 
> com.webobjects.appserver._private.WODeployedBundle.bundleWithNSBundle(WODeployedBundle.java:746)
> at 
> com.webobjects.appserver.WOResourceManager._bundleWithNSBundle(WOResourceManager.java:186)
> at 
> com.webobjects.appserver.WOResourceManager._locateBundleForFrameworkNamed(WOResourceManager.java:208)
> at 
> com.webobjects.appserver.WOResourceManager._cachedBundleForFrameworkNamed(WOResourceManager.java:233)
> at 
> com.webobjects.appserver.WOResourceManager._initFrameworkProjectBundles(WOResourceManager.java:254)
> at 
> com.webobjects.appserver.WOResourceManager.(WOResourceManager.java:69)
> at 
> er.extensions.appserver.ERXResourceManager.(ERXResourceManager.java:48)
> at 
> er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:1115)
> at 
> com.webobjects.appserver.WOApplication.resourceManager(WOApplication.java:1663)
> at 
> er.extensions.foundation.ERXFileUtilities.inputStreamForResourceNamed(ERXFileUtilities.java:627)
> at 
> er.extensions.foundation.ERXFileUtilities.readPropertyListFromFileInFramework(ERXFileUtilities.java:820)
> at 
> er.extensions.appserver.ERXResourceManager._additionalMimeTypes(ERXResourceManager.java:405)
> at 
> er.extensions.appserver.ERXResourceManager.(ERXResourceManager.java:46)
> at 
> er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:1115)
> at com.webobjects.appserver.WOApplication.(WOApplication.java:841)
> at 
> er.extensions.appserver.ajax.ERXAjaxApplication.(ERXAjaxApplication.java:30)
> at er.extensions.appserver.ERXApplication.(ERXApplication.java:1122)
> at your.app.Application.(Application.java:14)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
> at java.lang.Class.newInstance(Class.java:442)
> at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
> at er.extensions.appserver.ERXApplication.main(ERXApplication.java:877)
> at your.app.Application.main(Application.java:11)

 ___
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

Re: Does the tutorial work?

2015-10-20 Thread Chuck Hill
Look under Preferences - WOLips - Build.  Make sure that Generate Bundles is 
NOT checked off.

Chuck


From: 
mailto:webobjects-dev-bounces+chill=gevityinc@lists.apple.com>>
 on behalf of Barry Starrfield 
mailto:barry.starrfi...@gmail.com>>
Date: Tuesday, October 20, 2015 at 9:17 AM
To: "webobjects-dev@lists.apple.com" 
mailto:webobjects-dev@lists.apple.com>>
Subject: Does the tutorial work?

Hi,
I just redid the second of the Wonder tutorials, and ran into the same error - 
question, did I install WOLips incorrectly?

[2015-10-20 18:48:31 IDT]  java.lang.NullPointerException
at 
com.webobjects._ideservices._IDEProjectWOLips.bundlePathURL(_IDEProjectWOLips.java:174)
at com.webobjects._ideservices._WOProject.bundlePath(_WOProject.java:540)
at 
com.webobjects.appserver._private.WOProjectBundle._initBundlePath(WOProjectBundle.java:92)
at 
com.webobjects.appserver._private.WODeployedBundle.(WODeployedBundle.java:90)
at 
com.webobjects.appserver._private.WOProjectBundle.(WOProjectBundle.java:40)
at 
com.webobjects.appserver._private.WODeployedBundle.bundleWithNSBundle(WODeployedBundle.java:746)
at 
com.webobjects.appserver.WOResourceManager._bundleWithNSBundle(WOResourceManager.java:186)
at 
com.webobjects.appserver.WOResourceManager._locateBundleForFrameworkNamed(WOResourceManager.java:208)
at 
com.webobjects.appserver.WOResourceManager._cachedBundleForFrameworkNamed(WOResourceManager.java:233)
at 
com.webobjects.appserver.WOResourceManager._initFrameworkProjectBundles(WOResourceManager.java:254)
at com.webobjects.appserver.WOResourceManager.(WOResourceManager.java:69)
at er.extensions.appserver.ERXResourceManager.(ERXResourceManager.java:48)
at 
er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:1115)
at 
com.webobjects.appserver.WOApplication.resourceManager(WOApplication.java:1663)
at 
er.extensions.foundation.ERXFileUtilities.inputStreamForResourceNamed(ERXFileUtilities.java:627)
at 
er.extensions.foundation.ERXFileUtilities.readPropertyListFromFileInFramework(ERXFileUtilities.java:820)
at 
er.extensions.appserver.ERXResourceManager._additionalMimeTypes(ERXResourceManager.java:405)
at 
er.extensions.appserver.ERXResourceManager.(ERXResourceManager.java:46)
at 
er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:1115)
at com.webobjects.appserver.WOApplication.(WOApplication.java:841)
at 
er.extensions.appserver.ajax.ERXAjaxApplication.(ERXAjaxApplication.java:30)
at er.extensions.appserver.ERXApplication.(ERXApplication.java:1122)
at your.app.Application.(Application.java:14)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:877)
at your.app.Application.main(Application.java:11)
 ___
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

Does the tutorial work?

2015-10-20 Thread Barry Starrfield
Hi,
I just redid the second of the Wonder tutorials, and ran into the same error - 
question, did I install WOLips incorrectly?

[2015-10-20 18:48:31 IDT]  java.lang.NullPointerException
at 
com.webobjects._ideservices._IDEProjectWOLips.bundlePathURL(_IDEProjectWOLips.java:174)
at 
com.webobjects._ideservices._WOProject.bundlePath(_WOProject.java:540)
at 
com.webobjects.appserver._private.WOProjectBundle._initBundlePath(WOProjectBundle.java:92)
at 
com.webobjects.appserver._private.WODeployedBundle.(WODeployedBundle.java:90)
at 
com.webobjects.appserver._private.WOProjectBundle.(WOProjectBundle.java:40)
at 
com.webobjects.appserver._private.WODeployedBundle.bundleWithNSBundle(WODeployedBundle.java:746)
at 
com.webobjects.appserver.WOResourceManager._bundleWithNSBundle(WOResourceManager.java:186)
at 
com.webobjects.appserver.WOResourceManager._locateBundleForFrameworkNamed(WOResourceManager.java:208)
at 
com.webobjects.appserver.WOResourceManager._cachedBundleForFrameworkNamed(WOResourceManager.java:233)
at 
com.webobjects.appserver.WOResourceManager._initFrameworkProjectBundles(WOResourceManager.java:254)
at 
com.webobjects.appserver.WOResourceManager.(WOResourceManager.java:69)
at 
er.extensions.appserver.ERXResourceManager.(ERXResourceManager.java:48)
at 
er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:1115)
at 
com.webobjects.appserver.WOApplication.resourceManager(WOApplication.java:1663)
at 
er.extensions.foundation.ERXFileUtilities.inputStreamForResourceNamed(ERXFileUtilities.java:627)
at 
er.extensions.foundation.ERXFileUtilities.readPropertyListFromFileInFramework(ERXFileUtilities.java:820)
at 
er.extensions.appserver.ERXResourceManager._additionalMimeTypes(ERXResourceManager.java:405)
at 
er.extensions.appserver.ERXResourceManager.(ERXResourceManager.java:46)
at 
er.extensions.appserver.ERXApplication.createResourceManager(ERXApplication.java:1115)
at com.webobjects.appserver.WOApplication.(WOApplication.java:841)
at 
er.extensions.appserver.ajax.ERXAjaxApplication.(ERXAjaxApplication.java:30)
at 
er.extensions.appserver.ERXApplication.(ERXApplication.java:1122)
at your.app.Application.(Application.java:14)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
at er.extensions.appserver.ERXApplication.main(ERXApplication.java:877)
at your.app.Application.main(Application.java:11) ___
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

Re: New Eclipse with old Java

2015-10-20 Thread Dennis Bliefernicht
Hi,

> On 20 Oct 2015, at 14:56, Kushnir Gennady  wrote:
> 
>> Check if your WO is still setup properly and your Library/wobuild.properties 
>> are setup correctly.
> 
> I’m afraid I don’t get that. WO frameworks are still in 
> /System/Library/Frameworks
> What is "Library/wobuild.properties" ?

Ah I misremembered the path. Its the wolips.properties in 
"$USER_HOME/Library/Application Support/WOLips" which points to the WebObjects 
installation. The WO ant task uses that file to lookup your local WO 
installation and determine if it is WO 5.2 or later (and contains the bootstrap 
JAR) or if its pre-5.2; not finding any properties equals pre-5.2 WO and 
results in a different launch script. We encountered this issue for example 
when using Jenkins to build our applications.

> After changing Ant (on Mars) settings to run with Java 1.8 the build tells me 
> that it completed successfully but actually I can't see the resulting .woa 
> installed in /Library/WebObjects/Applications.


Any specific output? Possibly trying to run the same ant task on the command 
line using an ant installation? Maybe the OS upgrade messed up the access 
permissions / ownership? (Also the new system file protection might prevent 
this?)

Greetings
Dennis

--





-
Dennis Bliefernicht • Backend Development
T +49 40 357 3001 62
dennis.blieferni...@xyrality.com

XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg
www.xyrality.com 
Registergericht: Hamburg HRB 115332
Geschäftsführer: Sven Ossenbrüggen
-

 ___
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

WOLips and ant editor for build.xml

2015-10-20 Thread Ricardo Parada
Hi all,

In one of the 2009 WOWODC videos I saw Pascal editing a build.xml in Eclipse 
where he can see the values of properties as he hovers the mouse over the 
property name. He was also able to see the names of the targets in the 
build.xml file in an outline view on the right hand side and he was able to 
right click on a target and run ant on it. 

How do I get the same?  I was able to tell Eclipse to use the ant Editor when 
opening the build.xml. That gets me half the functionality where I can see the 
values for the properties. I am still missing the outline view with the targets 
and be able to right click on them. 

Does anybody know?

Thank you. 
 ___
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

Re: New Eclipse with old Java

2015-10-20 Thread Kushnir Gennady
Thank you for your reply.

> Check if your WO is still setup properly and your Library/wobuild.properties 
> are setup correctly.

I’m afraid I don’t get that. WO frameworks are still in 
/System/Library/Frameworks
What is "Library/wobuild.properties" ?

After changing Ant (on Mars) settings to run with Java 1.8 the build tells me 
that it completed successfully but actually I can't see the resulting .woa 
installed in /Library/WebObjects/Applications.

I’ve never built anything for Java 1.7 as far as I remember…

Regards,
Gennady

> 20 окт. 2015 г., в 14:00, Dennis Bliefernicht 
>  написал(а):
> 
> Hi,
> 
>> On 20 Oct 2015, at 12:41, Kushnir Gennady > > wrote:
>> 
>> It has been a while since I last updated my developer environment for WO. I 
>> used to work with Eclipse Helios lately.
>> But after updating my mac to El Captain I noticed some differences in launch 
>> scripts generated during application build.
>> After all I decided to upgrade to newer version of Eclipse. And I’m still 
>> having trouble with it.
> 
> Not on the original issue but I noticed that this happens, when woproject 
> (i.e. the ant/maven/gradle builder) cannot find WebObjects. It then falls 
> back to assuming an older version of WO and builds a different launch script. 
> Check if your WO is still setup properly and your Library/wobuild.properties 
> are setup correctly. This can be especially irritating when not embedding 
> frameworks and/or building with maven/gradle as the WO dependencies are all 
> present but the launch script just is different.
> 
>> First I installed version 4.5 (Mars) with WOLips44. I found that it refused 
>> to launch with Java 1.6, so I had to install Java 1.8 also. But I failed to 
>> build my app as it said to me that Java versions below 1.7 are not supported.
> 
> Seems like this is more related to ant not working properly with Java 6 
> anymore; you need to run using at least Java 7 but you should be able to 
> target your builds to 1.6 (i.e. Java 6) by adding the appropriate parts to 
> your ant file. https://bugs.eclipse.org/bugs/show_bug.cgi?id=474386 
>  has some more 
> information and further links on the whole ant-mars-java7 issue.
> 
>> After that I installed 4.4 (Luna). But it also refused to build saying: 
>> "Unsupported major.minor version 51.0".
> 
> Have you cleaned everything? This is usually a Java 6 compiler / runtime 
> trying to work on classes compiled with Java 7. Probably there are some 
> Java7-compiled files around.
> 
> Note that Java 6 and 7 are already (at least publicly) end of life so you 
> should at least evaluate if there are any problems running on 7 or even 8.
> 
> Greetings
> Dennis
> 
> --
> 
> 
> 
> 
> 
> -
> Dennis Bliefernicht • Backend Development
> T +49 40 357 3001 62
> dennis.blieferni...@xyrality.com 
> 
> XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg
> www.xyrality.com 
> Registergericht: Hamburg HRB 115332
> Geschäftsführer: Sven Ossenbrüggen
> -
> 

 ___
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

Re: New Eclipse with old Java

2015-10-20 Thread Dennis Bliefernicht
Hi,

> On 20 Oct 2015, at 12:41, Kushnir Gennady  wrote:
> 
> It has been a while since I last updated my developer environment for WO. I 
> used to work with Eclipse Helios lately.
> But after updating my mac to El Captain I noticed some differences in launch 
> scripts generated during application build.
> After all I decided to upgrade to newer version of Eclipse. And I’m still 
> having trouble with it.

Not on the original issue but I noticed that this happens, when woproject (i.e. 
the ant/maven/gradle builder) cannot find WebObjects. It then falls back to 
assuming an older version of WO and builds a different launch script. Check if 
your WO is still setup properly and your Library/wobuild.properties are setup 
correctly. This can be especially irritating when not embedding frameworks 
and/or building with maven/gradle as the WO dependencies are all present but 
the launch script just is different.

> First I installed version 4.5 (Mars) with WOLips44. I found that it refused 
> to launch with Java 1.6, so I had to install Java 1.8 also. But I failed to 
> build my app as it said to me that Java versions below 1.7 are not supported.

Seems like this is more related to ant not working properly with Java 6 
anymore; you need to run using at least Java 7 but you should be able to target 
your builds to 1.6 (i.e. Java 6) by adding the appropriate parts to your ant 
file. https://bugs.eclipse.org/bugs/show_bug.cgi?id=474386 
 has some more 
information and further links on the whole ant-mars-java7 issue.

> After that I installed 4.4 (Luna). But it also refused to build saying: 
> "Unsupported major.minor version 51.0".

Have you cleaned everything? This is usually a Java 6 compiler / runtime trying 
to work on classes compiled with Java 7. Probably there are some Java7-compiled 
files around.

Note that Java 6 and 7 are already (at least publicly) end of life so you 
should at least evaluate if there are any problems running on 7 or even 8.

Greetings
Dennis

--





-
Dennis Bliefernicht • Backend Development
T +49 40 357 3001 62
dennis.blieferni...@xyrality.com

XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg
www.xyrality.com 
Registergericht: Hamburg HRB 115332
Geschäftsführer: Sven Ossenbrüggen
-

 ___
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

New Eclipse with old Java

2015-10-20 Thread Kushnir Gennady
Hello list!
It has been a while since I last updated my developer environment for WO. I 
used to work with Eclipse Helios lately.
But after updating my mac to El Captain I noticed some differences in launch 
scripts generated during application build.
After all I decided to upgrade to newer version of Eclipse. And I’m still 
having trouble with it.

First I installed version 4.5 (Mars) with WOLips44. I found that it refused to 
launch with Java 1.6, so I had to install Java 1.8 also. But I failed to build 
my app as it said to me that Java versions below 1.7 are not supported.

After that I installed 4.4 (Luna). But it also refused to build saying: 
"Unsupported major.minor version 51.0".

Is it still possible to continue developing old projects in new environment? 
(preferably retaining my output compatibility with java 1.6)
Or I should fallback to obsolete versions of Eclipse/WOLips?

Sincerely,
Gennady


С уважением,
Геннадий Кушнир


 ___
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