Re: How to bundle Frameworks and Jars in .WOA application

From: Chuck Hill (chil..lobal-village.net)
Date: Thu Jan 11 2007 - 15:19:33 EST

  • Next message: Anjo Krank: "Re: How to bundle Frameworks and Jars in .WOA application"

    On Jan 11, 2007, at 9:56 AM, Anjo Krank wrote:

    > Hi Bob,
    >
    > Am 08.01.2007 um 22:19 schrieb Bob Schwarzmann:
    >> The frameworks can have their order maintained from the woproject
    >> ant tasks wocompile (for compiling correctly) and woapplication
    >> (for generating the *ClassPath.txt files). It just doesn't work
    >> when using the embed option due to using a DirectoryScanner
    >> instead of modifying the classpath.
    >
    >
    > This is fixed in 3734, correct order when embedding is now (mostly)
    > preserved.
    >
    > I also added the (currently undocumented, hint, hint)

    Now in:
    http://wiki.objectstyle.org/confluence/display/WOL/WOProject-
    FrameworkSet

    > option to specify the bundles in a single item and not these
    > abominable patternsets:
    >
    > <frameworks root="${wo.wolocalroot}" embed="true"
    > bundles="ERJars/ERExtensions/PostgresqlPlugIn/Ajax/ERDirectToWeb/
    > ERJavaMail/ERWebServices/JavaWOExtensions/LUNeutralLook">
    > </frameworks>
    >
    > This way, it's much easier to simply put all the relevant stuff
    > inside the build.properties and forget about all the patternset files.

    And that is a reason to smile. Those nasty things get filled with
    all sorts of junk!

    >
    > I'd like to extend it to directly read the .classpath file from
    > Eclipse, but I don't see any examples of reading and parsing am xml
    > file inside of the build.xml. There once was one where Ulrich got
    > the SVN version for WOLips, but I can't find it anymore.

    I have no time to dig into this now, but I surely do loathe those
    patternset files.

    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 11 2007 - 15:19:48 EST