Re: ResourceManager-woes (and a feature request)

From: Harald Niesche (haral..heco.de)
Date: Wed Nov 26 2003 - 04:49:55 EST

  • Next message: Alexander Schneider: "Re: ResourceManager-woes (and a feature request)"

    Alexander Schneider wrote:
    > That doesn´t work for me. Here is the extract from the build.xml:

    You are of course right -- the incremental builder flattens everything
    but Ant builds don't.

    You can work around that by having several <wsresources> tasks like so:

    <wsresources dir="web">
         <include name="**"/>
         <exclude name="img/**"/>
    </wsresources>
    <wsresources dir="web/img">
         <include name="**"/>
    </wsresources>

    I realize that this is not an option if you have more than one or two
    folders to be flattened.

    If you still want/need to patch WOProject -- the flattening happens in
    the nested class WOFileNameMapper in
    org.objectstyle.woproject.ant.WOMapper and it usually only flattens
    certain file types (*.wo, *.api, *.eomodel, *.strings and stuff inside
    *.lproj folders).

    Harald



    This archive was generated by hypermail 2.0.0 : Wed Nov 26 2003 - 04:49:33 EST