Re: ResourceManager-woes (and a feature request)

From: Alexander Schneider (alexander.schneide..it.fraunhofer.de)
Date: Tue Nov 25 2003 - 02:51:02 EST

  • Next message: Ulrich Köster: "Re: ResourceManager-woes (and a feature request)"

    > flatten is the keyword:
    >
    > Just create a global (glob) mapper
    > .
    > <!-- woproject tasks -->
    > <target name="build.woapp">
    > <mapper type="glob" from="foo/foo2/" to=""/>

    > .
    >
    > In your case the mapper should look like this:
    > <mapper type="glob" from="web/img/" to=""/>

    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.

    Cheers
    Alex



    This archive was generated by hypermail 2.0.0 : Tue Nov 25 2003 - 02:50:04 EST