Re: Last build issue ...

From: Mike Schrag (mschra..dimension.com)
Date: Sat Nov 17 2007 - 13:04:20 EST

  • Next message: Pierre Frisch: "Re: WebObjects Libraries"

    The WOCompile ant task is built with 1.5. You must run ant with Java
    1.5 to build WO projects. This is separate from the java version you
    actually use as your build TARGET. For instance, you can build a Java
    1.4 WO application, but you must still run ant itself with Java 1.5.

    ms

    On Nov 17, 2007, at 10:44 AM, James Cicenia wrote:

    > Closer I think...
    >
    > BUILD FAILED
    > /Users/jcicenia/Developer/eclipse/workspace/TOSDevelopment/build.xml:
    > 229: java.lang.UnsupportedClassVersionError: org/objectstyle/
    > woproject/ant/WOCompile (Unsupported major.minor version 49.0)
    >
    >
    > I am using the latest Eclipse 3.3.2 with Leopard.
    >
    > Thanks
    > James
    >
    > On Nov 17, 2007, at 9:35 AM, Miguel Arroz wrote:
    >
    >> Hi!
    >>
    >> That seems to be a typical ant problem, where it decides to scan
    >> all the hard drive. Check this thread: <http://wiki.objectstyle.org/confluence/display/WOL/mail/2097997
    >> >.
    >>
    >> Yours
    >>
    >> Miguel Arroz
    >>
    >> On 2007/11/17, at 13:58, James Cicenia wrote:
    >>
    >>> now I get this....
    >>>
    >>> /Users/jcicenia/Developer/eclipse/workspace/TOSDevelopment/
    >>> build.xml:229: IO error scanning directory '/.fseventsd'
    >>>
    >>> ?????
    >>>
    >>> isn't fseventsd one of Leopards new features?
    >>>
    >>>
    >>> On Nov 16, 2007, at 10:52 PM, Chuck Hill wrote:
    >>>
    >>>> mkdir -p ~/Library/Frameworks
    >>>>
    >>>> Does that help?
    >>>>
    >>>>
    >>>> On Nov 16, 2007, at 8:44 PM, James Cicenia wrote:
    >>>>
    >>>>> I am trying to build my project with the supplied build.xml
    >>>>>
    >>>>> I get this:
    >>>>>
    >>>>> Buildfile: /Users/jcicenia/Developer/eclipse/workspace/
    >>>>> TOSDevelopment/build.xml
    >>>>> setProps:
    >>>>> init.build:
    >>>>> compile:
    >>>>> [javac] Compiling 1 source file to /Users/jcicenia/Developer/
    >>>>> eclipse/workspace/TOSDevelopment/bin
    >>>>>
    >>>>> BUILD FAILED
    >>>>> /Users/jcicenia/Developer/eclipse/workspace/TOSDevelopment/
    >>>>> build.xml:229: /Users/jcicenia/Library/Frameworks not found.
    >>>>>
    >>>>>
    >>>>> <target name = "compile" depends = "setProps,init.build" >
    >>>>> <mkdir dir = "bin"/>
    >>>>> <javac srcdir = "src" destdir = "bin"> <<<<<<< offending
    >>>>> line???
    >>>>> <classpath>
    >>>>> <fileset dir="${wo.dir.user.home.library.frameworks}"
    >>>>> includesfile = "woproject/ant.frameworks.user.home">
    >>>>> <include name = "**/*.jar"/>
    >>>>> </fileset>
    >>>>> <fileset dir="${wo.wolocalroot}" includesfile = "woproject/
    >>>>> ant.frameworks.wo.wolocalroot">
    >>>>> <include name = "**/*.jar"/>
    >>>>> </fileset>
    >>>>> <fileset dir="${wo.wosystemroot}" includesfile =
    >>>>> "woproject/ant.frameworks.wo.wosystemroot">
    >>>>> <include name = "**/*.jar"/>
    >>>>> </fileset>
    >>>>> </classpath>
    >>>>> </javac>
    >>>>> </target>
    >>>>>
    >>>>> hints?
    >>>>>
    >>>>>
    >>>>
    >>>> --
    >>>>
    >>>> 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
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>
    >>
    >> Miguel Arroz
    >> http://www.terminalapp.net
    >> http://www.ipragma.com
    >>
    >>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Sat Nov 17 2007 - 13:05:27 EST