Re: How do I configure it to deploy to JVM 1.4

From: James Cicenia (jame..imijon.com)
Date: Thu Nov 29 2007 - 13:13:07 EST

  • Next message: Chuck Hill: "Re: How do I configure it to deploy to JVM 1.4"

                <taskdef name="woapplication"
    classname="org.objectstyle.woproject.ant.WOApplication">

    On Nov 29, 2007, at 11:13 AM, Phillip Dupuy wrote:

    >
    > What's in your build.xml at line 46?
    >
    >
    > From: James Cicenia [mailto:jame..imijon.com]
    > Sent: 29 November 2007 15:11
    > To: woproject-de..bjectstyle.org
    > Subject: Re: How do I configure it to deploy to JVM 1.4
    >
    > I did that about a dozen times and then I get this:
    >
    > BUILD FAILED
    > /Users/jcicenia/Documents/workspace/sGroup/build.xml:46:
    > java.lang.UnsupportedClassVersionError: org/objectstyle/woproject/
    > ant/WOApplication (Unsupported major.minor version 49.0)
    >
    >
    > On Nov 29, 2007, at 8:47 AM, Phillip Dupuy wrote:
    >
    >> 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
    >>>>
    >>>>
    >>>>
    >>>
    >>>
    >
    >
    > http://www.bbc.co.uk
    > This e-mail (and any attachments) is confidential and may contain
    > personal views which are not the views of the BBC unless
    > specifically stated.
    > If you have received it in error, please delete it from your system.
    > Do not use, copy or disclose the information in any way nor act in
    > reliance on it and notify the sender immediately.
    > Please note that the BBC monitors e-mails sent or received.
    > Further communication will signify your consent to this.



    This archive was generated by hypermail 2.0.0 : Thu Nov 29 2007 - 13:33:26 EST