Resources going to a sub-folder

From: Pascal Robert (prober..acti.ca)
Date: Mon May 19 2008 - 13:40:30 EDT

  • Next message: Chuck Hill: "Re: Resources going to a sub-folder"

    I have a strange problem where I have a couple of PDFs inside
    localized sub-folders in the Resources folder.




    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 :-/



    This archive was generated by hypermail 2.0.0 : Mon May 19 2008 - 13:41:43 EDT