Re: [OT] Need assistance getting ant builds working...

From: Chuck Hill (chil..lobal-village.net)
Date: Wed Aug 16 2006 - 16:48:23 EDT

  • Next message: Zak Burke: "EO model validation, relations and foreign keys"

    Huh. You are right. When he said "ant build" I was thinking "ant
    build from command line". See - I _am_ frazzled this week! :-)

    Chuck

    On Aug 16, 2006, at 1:33 PM, Sébastien Sahuc wrote:

    > I believe this is caused by class loader visibility issue. Even if
    > your ant classes are there, it seems that your woproject.jar is
    > loaded in a different classloader, hence not seeing the ant
    > classes. I would suggest you add the woproject.jar into the initial
    > ant classpath within Eclipse to see if that solves it:
    >
    > <pastedGraphic.png>
    >
    >
    > Sébastien
    >
    > On Aug 16, 2006, at 11:55 AM, Joshua Archer wrote:
    >
    >> Hello everyone,
    >>
    >> I really hate to do this, and if you have a link to a resource
    >> that can help me out on this, I'd be much obliged. I'm a new
    >> transition from XCode to Eclipse and I'm walking through the
    >> tutorials put together by Mike, and I've run into a snag when I
    >> try to build a project using ant. This is the output I'm getting:
    >>
    >> Buildfile: /Users/joshua/development/eclipse/workspace/WOLipsTest/
    >> build.xml
    >> setProps:
    >> init.build:
    >> build.woapp:
    >>
    >> BUILD FAILED
    >> /Users/joshua/development/eclipse/workspace/WOLipsTest/build.xml:
    >> 46: taskdef A class needed by class
    >> org.objectstyle.woproject.ant.WOApplication cannot be found: org/
    >> apache/tools/ant/Task
    >>
    >> Total time: 1 second
    >>
    >> It looks like there's a path issue somewhere, but since I don't
    >> have experience in Eclipse (nor really with ant -- I'm remedying
    >> that as we speak), I'm not sure what might be missing from the
    >> default settings to get this to work.
    >>
    >> If there's a manual / document archive somewhere that covers this,
    >> point me to it. I apologize for posting this to the list, but I'm
    >> just getting started and my google attempts are coming up short.
    >>
    >> Thanks for not flaming me,
    >>
    >> Josh
    >>
    >> ---------------------------------------------------
    >> Joshua Archer
    >> Software Engineer
    >> CSU - Center for Distributed Learning
    >> Phone: 707.664.2085
    >> Fax: 707.664.4350
    >>
    >

    -- 
    

    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



    This archive was generated by hypermail 2.0.0 : Wed Aug 16 2006 - 16:48:34 EDT