WOLips, incremental builds, and localised resources

From: Bill Michell (bill.michel..bc.co.uk)
Date: Wed Feb 25 2004 - 07:36:56 EST

  • Next message: Ulrich Köster: "Re: WOLips, incremental builds, and localised resources"

    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?



    --
    Bill Michell
    Development Team Leader, Broadcast Platforms, BBC News Interactive.





    BBCi at http://www.bbc.co.uk/

    This e-mail (and any attachments) is confidential and may contain
    personal views which are not the views of the BBC unless specifically
    stated.
    If you have received it in error, please delete it from your system.
    Do not use, copy or disclose the information in any way nor act in
    reliance on it and notify the sender immediately. Please note that the
    BBC monitors e-mails sent or received.
    Further communication will signify your consent to this.



    This archive was generated by hypermail 2.0.0 : Wed Feb 25 2004 - 07:36:58 EST