Thanks that picture was the difference.
I never unchecked "use default compliance setting" ... I guess I
should have paid more attention to what it said.
Thank you very much.
James Cicenia
On Nov 29, 2007, at 6:27 PM, Lachlan Deck wrote:
> On 30/11/2007, at 5:40 AM, Chuck Hill wrote:
>
>> Trying to follow this, not having much luck. I _think_ what you
>> are doing is running Ant under 1.4.2 which is NOT what you want to
>> do. I think your problem is here:
>>
>>>>>>>>>> When I set the build to use JVM 1.4.2 I get the following
>>>>>>>>>> error:
>>>>>>>>>>
>>>>>>>>>> /Users/jcicenia/Documents/workspace/hb/build.xml:46:
>>>>>>>>>> java.lang.UnsupportedClassVersionError: org/objectstyle/
>>>>>>>>>> woproject/ant/WOApplication (Unsupported major.minor
>>>>>>>>>> version 49.0)
>>
>> You want the build to use (run Ant with) 1.5 as that is what WOLips
>> was built with. YOUR app will be compiled for:
>>
>>>>>>> <javac srcdir="src" destdir="bin" target="1.4" source="1.4"
>>>>>>> debug="true">
>>>>>>>
>>>>>>> or
>>>>>>>
>>>>>>> <wocompile srcdir = "src" destdir = "bin" target="1.4"
>>>>>>> source="1.4" debug="on">
>>
>> Does that help?
>
> And to make it clearer, maybe... Here's a screenie...
>
> And you also need to run ant with java 1.5, but ensure that the
> build file (as mentioned before) tells javac to target 1.4
> compatibility. read 'man javac'
>
> with regards,
> --
>
> Lachlan Deck
>
>
> <Picture 1.png>
This archive was generated by hypermail 2.0.0 : Fri Nov 30 2007 - 08:48:41 EST