Re: An other Eclips/WOLips newbie question: Target VM settings?
Will Scheidegger <[email protected]> Fri, 13 Jun 2008 09:41:06 +0200
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks Chuck, for your continued support! I did change everything to
"1.4" in the project's settings, had the project cleaned and freshly
built. Unfortunately I'm still getting the same error when I try to
deploy it. So here's a followup question:
The project settings influence the Eclipse incremental build (i.e.
whatever ends up in the "build" folder). Do they also have an
influence on the ant build I'm using to build/install the project?
(1h of googling later):
I did find this interesting page: http://wiki.objectstyle.org/confluence/display/WOL/WOApplication
The following parameters could be of interest to me I would guess:
- jvm
- jvmOptions
- javaVersion
So I tried this:
<woapplication customInfoPListContent="${customInfoPListContent}"
destDir="${dest.dir}" name="${project.name}" principalClass="$
{principalClass}" stdFrameworks="false" webXML="${webXML}"
webXML_CustomContent="${webXML_CustomContent}" javaVersion="1.4" jvm="/
System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/">
Still: Same "unsupported major.minor" error message.
What else could I try?
-Will
On 12.06.2008, at 23:22, Chuck Hill wrote:
> Globally:
> Eclipse - Preferences - Java - Compiler then select
> "Generated .class files compatability"
>
> For one project:
> Project - Properties - Java Compiler the "Enable project specific
> properties" then select "Generated .class files compatability"
>
> chuck
>
>
> On Jun 12, 2008, at 11:16 AM, Will Scheidegger wrote:
>
>> I _think_ I solved the build problem I was facing last week... and
>> have a new one:
>>
>> I built the project I've imported from Xcode with the ant script
>> that is created in the WOLips project and tried to deploy it on or
>> servers. Now I'm getting the "Unsupported major.minor version"
>> error. In Xcode I had to set the "Target VM version" to and "Source
>> Version" to 1.4 to get rid of this problem. I would expect
>> something similar has to be done in Eclipse. Would someone be kind
>> enough to show a newbie where this is done?
>>
>> Thanks a bunch!
>>
>> -Will
>> _______________________________________________
>> WebObjects-dev mailing list
>> [email protected]
>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>>
>
> --
>
> Practical WebObjects - for developers who want to increase their
> overall knowledge of WebObjects or who are trying to solve specific
> problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev