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

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

  • Next message: Sébastien Sahuc: "Re: [OT] Need assistance getting ant builds working..."

    On Aug 16, 2006, at 1:19 PM, Joshua Archer wrote:

    >
    > On Aug 16, 2006, at 12:14 PM, Chuck Hill wrote:
    >
    >>> 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
    >>
    >> That is odd. It looks like it is not finding the Ant libraries.
    >> Have you installed ant outside of Eclipse?
    >
    > I did install ant outside of eclipse just recently, trying it both
    > ways and no luck either way. It looks like you can set the paths in
    > the project preferences for ant home -- should I be using the
    > internal ant libraries in Eclipse, or an external build?

    I am pretty sure the correct answer is an external build. I think it
    might come with the dev tools install. Mine is in /Developer/Java/
    Ant and I am pretty sure that I did not install it there. Perhaps
    when you installed it externally you confused OS X with what was
    already there. Also compare to this:

    saskatoon:~ chuck$ which ant
    /usr/bin/ant

    The /usr/bin/ant script is fairly readable, perhaps you can determine
    from it what is not setup right.

    >>> 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.
    >>
    >> Yes, looks like a path issue, I just can't puzzle it out.
    >
    > Thanks for the look-see. I'll keep playing with it to see if I can
    > come up with a solution.

    If you, please let us know. We would like to document this for the
    future. I will probably slap my forehead when I find out, I am
    feeling frazzled this week.

    >>> 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,
    >>
    >> That is highly unlikely to happen here. We are a friendly bunch
    >> of people.
    >
    > That's awesome to hear. I'm really liking Eclipse so far, and I
    > think I might like it a bunch more than XCode (the java support is
    > soooo much nicer). Once I get everything working, I know I'm gonna
    > be really happy. I'll do my best not to waste anyone's time, and
    > hopefully I might even be able to contribute back to the project
    > once I get my bearings.

    I am happy to hear that it is working out for you. Eclipse and
    WOLips is HUGE, so pace yourself. We will be more than happy to have
    you contribute on the project once you are solid ground.

    Chuck

    -- 
    

    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:31:29 EDT