Try Project > Properties > Java Compiler
tick 'Enable project specific settings', then change the 'Compiler
compliance level' to 1.4
James Cicenia wrote:
> I have neither.
> I used wolips to create the new build.xml.
>
> If I change to Java1.4 anywhere in Eclipse I get an error.
>
> I have seemingly toggled every combination of java that I came upon in
> Eclipse but to no avail.
>
> I feel pretty dumb now.
>
>
> On Nov 28, 2007, at 11:41 PM, Lachlan Deck wrote:
>
>> See the compile target in your build file.
>>
>> <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">
>>
>> depending on which you have.
>>
>> But you should also open your Project > Properties and adjust the
>> Java targets appropriately.
>>
>> On 29/11/2007, at 1:59 AM, James Cicenia wrote:
>>
>>> Right...
>>>
>>> And how do I do that? I see a variable in my build.xml for {jvm},
>>> but where does that get set?
>>>
>>> Under Project/Properties I have two items:
>>>
>>> JavaBuilder
>>> WOLips Ant Builder
>>>
>>> Both of those are selected... is that the problem?
>>>
>>> -James
>>>
>>> On Nov 28, 2007, at 7:57 AM, Mike Schrag wrote:
>>>
>>>> you have to run ant with 1.5, just build it with a 1.4 target
>>>>
>>>> On Nov 28, 2007, at 8:55 AM, James Cicenia wrote:
>>>>
>>>>> Hello -
>>>>>
>>>>> I just can't seem to figure out the right combination of settings
>>>>> for deployment.
>>>>>
>>>>> 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)
>>>>>
>>>>>
>>>>> What steps do I need to take to compile my app to deployable on my
>>>>> server running 1.4.2.
>>>>>
>>>>> I will be moving the servers to 1.5 at the end of the year,
>>>>> however, in the meantime I still need to push out a 1.4.2
>>>>> compatible binaries.
>>>>>
>>>>> Thanks
>>>>> James Cicenia
>>>>>
>>>>
>>>
>>
>> with regards,
>> --
>>
>> Lachlan Deck
>>
>>
>>
>
>
This archive was generated by hypermail 2.0.0 : Thu Nov 29 2007 - 09:49:00 EST