Re: [OS-JIRA] Created: (WOL-893) Ant install of localized D2W app does not copy wod, woo and html parts of WOComponents to /Library/WebObjects/Applications/[appname].woa/Resources

From: Mike Schrag (mschra..dimension.com)
Date: Thu Sep 18 2008 - 11:36:22 EDT

  • Next message: TW: "new hotness, .classpath, and vcs, oh my"

    > A D2W application, with default package for it's java sources,
    > Components in Components and [lang].lproj with localizable.strings
    > in Resources does not get it's wod, woo and html copied into the
    > Resources folder during install.
    I'm not sure it's possible to do this with the current support for
    patternsets ... I believe the proper rules for this require two
    patternset definitions:

    1) copy everything in *.lproj and flatten then into the corresponding
    lproj folder in Resources
    2) copy everything that is NOT an lproj folder and flatten then into
    the Resources folder

    technically there might be a 3rd -- copy the Nonlocalized.lproj/**/...
    and flatten them into Resources?

    Either that or you need to give up support for nested folders inside
    the Components folder and switch your patternsets to not flatten
    inside of Components. I think this is how I'll need to go ... Maybe
    I'll provide the default which flatten and an alternative patternset
    that you can copy over manually that turns off subfolder support in
    Components and allows .lproj's (but wouldn't flatten
    Nonlocalized.lproj).

    ms



    This archive was generated by hypermail 2.0.0 : Thu Sep 18 2008 - 11:37:18 EDT