Re: taskdef class org.objectstyle.woproject.ant.WOApplication cannot be found

From: Kaj Hejer (kaj.heje..sit.uio.no)
Date: Wed May 21 2003 - 11:30:53 EDT

  • Next message: Chuck Hill: "Re: taskdef class org.objectstyle.woproject.ant.WOApplication cannot be found"

    At 10:25 -0500 21-05-2003, Jonathan 'Wolf' Rentzsch wrote:
    >Ulrich Köster, ulric..bjectstyle.org, wrote:
    >>The only change I've done is the path. Please drag your woproject
    >>folder into a terminal window to get the correct path.
    >
    >Ok, I tried your solution, and it worked! The path was different
    >(/Volumes/Island/wolf/woproject-1.0b2 versus /Users/wolf/woproject-1.0b2
    >-- my home folder resides on a different partition and is symlinked in).
    >At first I thought java was spitting up on the symlink, but that doesn't
    >make sense. So I tried my original script again. Now that works too!
    >
    >For about 10 minutes, and tried to break the script again. I couldn't. I
    >decided I need to smoke less crack.
    >
    >Well, I started gearing up to use ant again. I decided the woproject
    >.jars need to live somewhere else, so I put them into
    >~/Library/Java/Extensions and changed the script. Bingo, "WOApplication
    >cannot be found". So I changed the script back to the original and tried
    >again. Same error!
    >
    >Apparently simply having the woproject .jars in either
    >/Library/Java/Extensions or ~/Library/Java/Extensions is enough to break
    >the taskdef, even if you make no reference to them. I don't claim to
    >understand why, but I'm happy that it's working.
    >

    Hi!

    Try to put them in $ANT_HOME/lib

    bash-2.05a$ echo $ANT_HOME
    /usr/local/ant

    bash-2.05a$ ls $ANT_HOME/lib
    README cayenne.jar optional.jar xercesImpl.jar
    ant.jar junit.jar woproject.jar xml-apis.jar
    bash-2.05a$

    -Kaj :)



    This archive was generated by hypermail 2.0.0 : Wed May 21 2003 - 11:30:22 EDT