Re: ResourceManager-woes (and a feature request)

From: Harald Niesche (haral..heco.de)
Date: Tue Nov 25 2003 - 09:40:59 EST

  • Next message: Chuck Hill: "Re: Organizing java files with WOLips / Eclipse"

    Alexander Schneider wrote:
    >
    > Thanks, I tried this but it didnīt help. There are no changes in the
    > installed framework. I changed my build.xml file to:
    >
    > <target name="build.woframework">
    > <mapper type="glob" from="web/img/*.gif" to="*.gif"/>
    >
    > I also tried it without specifying a file type but it didnīt work.
    >
    > In my Ant book there is a flatten mapper but I couldnīt get it to work
    > with my problem.
    >
    > Where is the location in WOProject where I can alter the copying of
    > webserver-resources so that they are copied in a flattened fashion? I
    > couldnīt find it.

    I don't think you should have to modify WOProject to get the behaviour
    you need.

    Maybe you should show us how you specify the wsresources inside the
    woapplication target:

    I have

    <wsresources dir="WSResources">
            <include name="**"/>
            <exclude name="**/*.woa/**"/>
    </wsresources>

    and all the images end up directly in WebServerResources, even if they
    are in a subdirectory of the WSResources folder. If it works differently
    in frameworks, you might try adding the mapper inside the <wsresources>
    tag.

    Harald



    This archive was generated by hypermail 2.0.0 : Tue Nov 25 2003 - 09:40:36 EST