Re: WOLips Ant Tools install doesn't work

From: Mike Schrag (mschra..dimension.com)
Date: Thu Apr 05 2007 - 07:55:38 EDT

  • Next message: Ulrich Köster: "Re: WOLips Ant Tools install doesn't work"

      I think the thing that determines this is your Eclipse default VM
    (set under one of the Java configuration preferences). For instance,
    you can Run As => Ant Build ... and pick Ant's VM. Install probably
    picks the eclipse default, though I've never actually looked at the
    code.

    And there is no diff here between OS X and Windows. Java's class
    file major/minor version did change between 1.4 and 1.5.

    On Apr 5, 2007, at 4:04 AM, Stefan Klein wrote:

    > Hi,
    >
    > i use 1.5 (udpate 11) as system default.
    > The major.minor version is 49.0 !
    > Under 1.4 it is 48.0.
    >
    > Is there a difference between jvms for MacOS X and Windows ?
    >
    > Stefan
    >
    > Kieran Kelleher schrieb:
    >
    >> That's because WOLips (including woproject ant tasks) are now
    >> built with Java 1.5 by default, so you need your system default
    >> jvm to be java 1.5. There are workarounds, but it will be some work.
    >>
    >> On Apr 4, 2007, at 7:14 AM, Stefan Klein wrote:
    >>
    >>> Hi,
    >>>
    >>> the "WOLips Ant Tools" -> ""install" task doesn't work.
    >>>
    >>> --------------
    >>> Buildfile: D:\Projekte\filer_online\wo\Applications\FOIndexer
    >>> \build.xml
    >>> setProps:
    >>> init.install:
    >>> build.woapp:
    >>>
    >>> BUILD FAILED
    >>> java.lang.UnsupportedClassVersionError: org/objectstyle/
    >>> woproject/ ant/WOApplication (Unsupported major.minor version 49.0)
    >>>
    >>> Total time: 360 milliseconds
    >>> ----------------
    >>>
    >>> Enviroment:
    >>> W2K
    >>> WO 5.2.4
    >>> Eclipse 3.2.2 (runs under jdk1.5.0_11)
    >>> WOLips 3905
    >>>
    >>> Target jvm: 1.4.08
    >>>
    >>>
    >>> Stefan
    >>>
    >>
    >>



    This archive was generated by hypermail 2.0.0 : Thu Apr 05 2007 - 07:57:06 EDT