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

From: Sébastien Sahuc (lis..ahuc.net)
Date: Wed Aug 16 2006 - 16:33:17 EDT

  • Next message: Chuck Hill: "Re: [OT] Need assistance getting ant builds working..."

    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:

    

    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
    >



    This archive was generated by hypermail 2.0.0 : Wed Aug 16 2006 - 16:33:20 EDT