Re: WOProject Build improvements

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Fri Nov 14 2003 - 03:52:25 EST

  • Next message: Ulrich Köster: "Re: WOProject Build improvements"

    Hi Anjo,

    the test failures are my fault.

    Ulrich

    Am 13.11.2003 um 13:12 schrieb Anjo Krank:

    > All,
    >
    > I fixed AppFormat and WOCompile to skip whole frameworks once they
    > have been loaded once, adding the ability to define sth like
    > LD_LIBRARY_PATH. I.e. you can define a common set of patterns and
    > include them with different roots:
    >
    > <patternset id="all.frameworks.set" >
    > <include name="JavaDTWGeneration.framework" />
    > ...
    > <include name="JavaWebObjects.framework" />
    > <include name="ERExtensions.framework" />
    > ...
    > <include name="MyStuff.framework" />
    > </patternset>
    > <property name="all.frameworks" value="all.frameworks.set" />
    >
    > <wocompile srcdir="${project.dir}/${dir.sources}"
    > destdir="${build.classes}" debug="on"
    > optimize="off" deprecation="on">
    >
    > <frameworks root="${user.dir}/Roots">
    > <patternset refid="${all.frameworks}" />
    > </frameworks>
    > <frameworks root="/Library/Frameworks">
    > <patternset refid="${all.frameworks}" />
    > </frameworks>
    > <frameworks root="/System/Library/Frameworks">
    > <patternset refid="${all.frameworks}" />
    > </frameworks>
    > </wocompile>
    >
    > Normally, when you do this and have a version not only in Roots/ but
    > also in /Library/Frameworks, then they are both included in the
    > CLASSPATH.TXT file and will choke the app because a bundle with the
    > same name can only be loaded once. The new trick is that you can have
    > *one* patternset/file with all your project's frameworks and WOProject
    > will find the most "recent" one for you. This (IMHO) vastly simplifies
    > generic scripts.
    >
    > I'd like to commit this, but I'm unsure because all the test fail? I
    > doubt that this has to with my changes, rather with my setup...can
    > someone explain how to make the tests run through - or get more info
    > about it?
    >
    > Cheers, Anjo
    >
    > <diff.txt>



    This archive was generated by hypermail 2.0.0 : Fri Nov 14 2003 - 03:52:54 EST