Re: Upcoming Classpath Changes

From: Chuck Hill (chil..lobal-village.net)
Date: Mon Jan 21 2008 - 23:09:15 EST

  • Next message: Mike Schrag: "Re: WOLips: Project Triangles do not work."

    A big THANK YOU and a few small comments.

    On Jan 18, 2008, at 11:52 PM, Mike Schrag wrote:
    > Because framework precedence is now used, the tree view of
    > frameworks is gone. There is now only the list of frameworks that
    > are available to you, and the second column lets you know where it
    > is loading from at the moment on your machine.

    "where it is loading from at the moment" - that is important and
    potentially confusing. I suggest adding a sentence about this after
    "Select the frameworks to add to this project".

    > One other small change in the UI is that the "Add WebObjects
    > Framework" dialog (above) doesn't show frameworks that already are
    > added, only new ones you can add.

    It is probably worth adding a sentence about that as well.

    A couple of other minor things on my wishlist.

    1. Add a taskdef.properties file to woproject.jar with contents:
    woframework=org.objectstyle.woproject.ant.WOFramework
    wocompile=org.objectstyle.woproject.ant.WOCompile
    woapplication=org.objectstyle.woproject.ant.WOApplication

    There is already a typedef.properties, I never understood why there
    was not also a taskdef.properties. Does anyone know a reason for that?

    2. I am not so sure this is a good idea. Add this to
    wobuild.properties:
    woproject.path=/fully/qualified/path/to/woproject.jar
    It should be easy enough to determine this when WOLips is installed /
    updated, though keeping it up to date might not be so easy.

    The motivation for both of these is to be able to add these lines to
    a build.xml file to gain full access to WOProject:

    <!-- WOProject tasks and types -->
    <typedef resource="typedef.properties" classpath="${woproject.path}"/>
    <taskdef resource="taskdef.properties" classpath="${woproject.path}"/>

    Instead of doing them one by one:

    <taskdef name="woapplication"
    classname="org.objectstyle.woproject.ant.WOApplication" />

    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 : Mon Jan 21 2008 - 23:09:59 EST