Re: WOLips, incremental builds, and localised resources

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Wed Feb 25 2004 - 08:24:55 EST

  • Next message: Benoit Mangez: "WOBuilder couldn't find project"

    Hi Bill,

    Am 25.02.2004 um 13:36 schrieb Bill Michell:

    > I'm trying to use a framework that has some localised resources in it,
    > and debug an application referencing it using the Eclipse IDE
    > debugger.
    >
    > (WOLips 1.0.7.40 in Eclipse 2.1.2)
    >
    > The relevant task from build.xml is here:
    > <target name="build.woframework">
    > <woframework name="${framework.name}" destDir="${dest.dir}">
    > <classes dir="${classes.dir}">
    > </classes>
    > <wsresources dir=".">
    > <include name="addYourWebServerResourcesHere"/>
    > <exclude name="**/*.framework/**"/>
    > </wsresources>
    > <resources dir=".">
    > <include name="Properties"/>
    > <include name="**/*.eomodeld/"/>
    > <include name="**/*.d2wmodel"/>
    > <include name="**/*.wo/"/>
    > <include name="**/*.api"/>
    > <include name="**/*.strings"/>
    > <include name="templates/*.*"/>
    > <exclude name="**/*.eomodeld~/"/>
    > <exclude name="**/*.framework/**"/>
    > </resources>
    > <lib dir="lib">
    > <include name="*.jar"/>
    > <include name="*.zip"/>
    > </lib>
    > </woframework>
    > </target>
    >
    > The localised name is, of course, "templates".
    >
    > If I run the build ant task, I end up with a "templates" directory
    > within the "Resources" folder of the "frameworkname.framework" folder
    > in the project - and this contains the appropriate version of the
    > resources I need.
    >
    > The same structure holds when I run the install ant task.
    >
    > Unfortunately, the "templates" directory level is missing from the
    > "build" directory used by the incremental compiler (the resources are
    > there, they are just copied into the to level "Resources" folder) -
    > which means the code can't find the appropriate 'localised' version
    > when running in the debugger...
    >
    >
    > Am I doing something silly, or is this a bug?
    >
    >
    >

    Does the PB.project include the "template" files?

    Ulrich



    This archive was generated by hypermail 2.0.0 : Wed Feb 25 2004 - 08:25:00 EST