Fwd: woproject NT woes and some patches

From: Andrus (andru..bjectstyle.org)
Date: Sat Oct 05 2002 - 12:03:33 EDT

  • Next message: Ulrich Köster: "ant 1.4 or ant 1.5"

    Hi,

    FYI: I just applied a patch submitted by Reimer Mellin (described below).

    Andrus

    >Dev platforms are MacOSX and NT with stress on NT and deployment is Solaris.
    >Turns out that the current implementation does not work well accross NT and
    >unix derivates because of '/' and '\' clashes. <framework
    >root="../../dist/Framework"> for examples will produce bad paths on NT ...
    >
    >Looking closer at the source, the reason is easy to pinpoint, as Strings are
    >internally used to represent paths. I refactored the internal handling to
    >use File objects and getCanonicalPath() to produce platform independent
    >paths (as ant is doing internally as well). Doing the refactoring I also
    >simplified a couple of things. Especially I added a encodePrefixPath() into
    >WOPropertyHandler to produce correct WOROOT/... or LOCALROOT/... PAth
    >strings ...



    This archive was generated by hypermail 2.0.0 : Sat Oct 05 2002 - 12:03:39 EDT