Re: Resources going to a sub-folder

From: Chuck Hill (chil..lobal-village.net)
Date: Mon May 19 2008 - 13:50:16 EDT

  • Next message: Pascal Robert: "Re: Resources going to a sub-folder"

    What does the woapplication target of the build.xml look like?

    Chuck

    On May 19, 2008, at 10:40 AM, Pascal Robert wrote:

    > I have a strange problem where I have a couple of PDFs inside
    > localized sub-folders in the Resources folder.
    >
    > <Image 2.png>
    >
    >
    > The incremental builder is copying the files to the correct
    > location, but when I build and deploy the app with Ant, the PDF are
    > located in a Resouces folder, located in the Resouces folder :
    >
    > mbp:~ probert$ ls -l /Developer/WebObjects53/Library/WebObjects/
    > Applications/xxx.woa/Contents/Resources/Resources/French.lproj/
    > total 1848
    > -rw-r--r-- 1 probert admin 257382 16 mai 11:32 DEC_2004.pdf
    > -rw-r--r-- 1 probert admin 130814 16 mai 11:32 DEC_2005.pdf
    > -rw-r--r-- 1 probert admin 152368 16 mai 11:32 DEC_2006.pdf
    >
    > The Localizable.strings is inside the correct directory:
    >
    > mbp:~ probert$ ls -l /Developer/WebObjects53/Library/WebObjects/
    > Applications/Inspection.woa/Contents/Resources/French.lproj/
    > total 96
    > -rw-r--r-- 1 probert admin 46862 16 mai 15:43 Localizable.strings
    >
    > I looked at the patterns from "woproject/
    > resources.include.patternset" and I don't see a problem there :
    >
    > **/Properties
    > **/*.eomodeld/
    > **/*.d2wmodel
    > **/*.wo/
    > **/*.api
    > **/*.strings
    > **/*.plist
    > **/*.pdf
    >
    > Using WOLips 3.3.5047 on Leopard. Doing a clean on the project and
    > on the filesystem don't solve the problem :-/

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Mon May 19 2008 - 13:51:15 EDT