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

From: Joshua Archer (joshu..dl.edu)
Date: Thu Aug 17 2006 - 19:10:40 EDT

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

    Hey all,

    So I've removed all previous versions of eclipse and wolips, wonder,
    etc. and reinstalled from scratch with the same effect. There is no
    love for me. I've tried with the ANT internal to eclipse, and with
    ANT in /Developer/Java/Ant. I've also added the woproject.jar to the
    classpath, but with no avail. I used eclipse's updater to install
    wolips -- should I try an external build? All the files appear to be
    in the right place, but it just isn't loading.

    Well, I'll continue by attempting to port over my XCode projects into
    Eclipse with the faith that I'll get this figured out eventually. Any
    tips on converting xcode projects (any tools), or is it just a by-
    hand recreation of dependencies, etc.?

    Thanks everyone,

    Joshua

    On Aug 17, 2006, at 11:27 AM, Joshua Archer wrote:

    > Thanks, Sébastien for your help.
    >
    > I'm still having isses with the error -- maybe I haven't added the
    > jar in the correct location:
    >
    > <Picture 1.png>
    >
    > The error I get on build:
    >
    > 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
    >
    > <Picture 2.png>
    >
    > I'll keep noodling around to try and fix this.
    >
    > Thanks,
    >
    > Joshua
    >
    > 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
    >>>
    >>
    >
    > ---------------------------------------------------
    > Joshua Archer
    > Software Engineer
    > CSU - Center for Distributed Learning
    > Phone: 707.664.2085
    > Fax: 707.664.4350
    >

    ---------------------------------------------------
    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 : Thu Aug 17 2006 - 19:10:49 EDT