Hello, This is a post for the archives.
I used the erxapplication-archetype (2.2-SNAPSHOT) to create an application project recently. Fast forward to deployment, and I noticed a couple of these in the log at startup: 2017-08-21 07:38:22 Rescue[2001] ERROR er.extensions.foundation.ERXProperties - Path was already included: /opt/WOApplications/Rescue-0.7-SNAPSHOT.woa/Contents/Resources/Properties With a bit of logging and dumpStack() work in ERXProperties locally, I tracked it down: NSBundle.frameworkBundles() is telling the property-loading code that ‘Rescue’ is a framework bundle, so the first thing it does is ask for ‘Rescue’ and loads its “framework properties”. Later, it loads the “application properties” for the exact same bundle, and the result is the ERROR log above: duplicate property file. A bit of trial and error (and a visual diff with other projects I had converted to Maven by hand) made me try deleting src/main/resources/Info.plist, and the error went away. In either case, the Maven build seems to generate Contents/Info.plist, but obviously with src/main/resources/Info.plist it also copies that into Contents/Resources/Info.plist, and those two files are different. A trap for young players. I’ll add it to the list of Maven-related things we should fix. -- Paul Hoadley https://logicsquad.net/ https://www.linkedin.com/company/logic-squad/
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com