Re: Ant command-line build

From: Chuck Hill (chil..lobal-village.net)
Date: Thu Jan 24 2008 - 18:20:50 EST

  • Next message: ashenshugar62-w..ahoo.fr: "Re : Re : Re : Re : Re : Re : Unable to find framework named"

    On Jan 24, 2008, at 2:51 PM, Ken Anderson wrote:

    > I can't find anything in history, but I swear this has been covered
    > before. Is there an easy way to do a command line build with
    > Eclipse 3.3.1.1 and a few day old WOLips? When I try, I get this:
    >
    > taskdef class org.objectstyle.woproject.ant.WOApplication cannot be
    > found

    I am on an antique version, but I doubt this has changed in a while.
    I have a line like this in my build, in one the targets that gets run
    early on:

      <taskdef file="${user.library.dir}/woproject_tasks.properties"
    classpath="${woproject.path}"/>

    You need to define woproject.path to point to the woproject.jar. The
    woproject_tasks.properties file referenced is:

    woframework=org.objectstyle.woproject.ant.WOFramework
    wocompile=org.objectstyle.woproject.ant.WOCompile
    woapplication=org.objectstyle.woproject.ant.WOApplication

    HTH

    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 : Thu Jan 24 2008 - 18:21:47 EST