Thanks Ramsey, That’s a very insightful tip. My framework had it correct but both apps did not. Namely, inside the <build> tags of the pom.xml file should contain:
<resources> <resource> <targetPath>Resources</targetPath> <filtering>false</filtering> <directory>Components</directory> </resource> <resource> <targetPath>Resources</targetPath> <filtering>false</filtering> <directory>Resources</directory> </resource> <resource> <targetPath>WebServerResources</targetPath> <filtering>false</filtering> <directory>WebServerResources</directory> </resource> </resources> But that didn’t help my situation of one app being the framework properties and the other app not seeing them. Still, it makes sense to have that defined in both the apps and the framework so glad you called it out! Thank you. Good news though, I’ve made some progress. If I make a completely new Eclipse launch config (not a duplicate) I can launch the troublesome app and the framework properties are visible to the app! Curiously, I don’t know what is significantly different between the new and the old “.launch” config files. When I try to selectively make changes by hand to the old file (while visually diffing with the new file) the result doesn’t work. If copy/replace all the contents of the old with new, it works. The old .launch file is in git and shared by others. So right now I’m trying to get things like VM arguments and other settings into it while keeping it still finding the framework properties. Confused but getting there. Thank you Ramsey, Markus, and everyone :-) > On Jul 31, 2024, at 9:29 AM, Ramsey Gurley <ramsey.gur...@practicemojo.com> > wrote: > > Maven by default checks src/main/resources whereas fluffy bunny layout by > default looks at Resources. You can specify that maven should look in > Resources in your pom.xml file if that is where you would like them located, > which you probably do for zero conflicts with WOLips. See lines 52-70 here, > https://github.com/nullterminated/woarchetypes/blob/master/webobjects-app/src/main/resources/archetype-resources/pom.xml > > <https://github.com/nullterminated/woarchetypes/blob/master/webobjects-app/src/main/resources/archetype-resources/pom.xml> > > > From: Aaron Rosenzweig via Webobjects-dev <webobjects-dev@lists.apple.com> > Sent: Tuesday, July 30, 2024 5:34 PM > To: WebObjects-Dev List <webobjects-dev@lists.apple.com> > Subject: Properties file not loading > > Anyone struggle with app not finding properties files when launching from > Eclipse? > > I’m still trying to go form ANT -> Maven and there is a shared framework with > a properties file in it that I want to be pulled into various apps. > > Curiously, app “A” is able to pull in the properties just fine but app “B” > does not. > > I would have thought I could compare the two projects and determine a useful > difference (since it works in one app) but I have struck out. Don’t see what > the difference could be. > > Anyone have any insight or advice on what to look for? How can I get app “B” > to see the properties file from the framework? > > Many thanks, > — Aaron > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com > <mailto:Webobjects-dev@lists.apple.com>) > Help/Unsubscribe/Update your Subscription: > https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.apple.com%2Fmailman%2Foptions%2Fwebobjects-dev%2Framsey.gurley%2540practicemojo.com&data=05%7C02%7Cramsey.gurley%40practicemojo.com%7C25e56162b7b9400ce3dd08dcb0e7c671%7Cde0a512999d34d35a92809047a134775%7C0%7C0%7C638579756726673666%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=g%2BH%2FBhYmvb9eGeqBrRLtNBUFjAN2fg7DhlXZxrq4Fps%3D&reserved=0 > > <https://lists.apple.com/mailman/options/webobjects-dev/ramsey.gurley%40practicemojo.com> > > This email sent to ramsey.gur...@practicemojo.com > <mailto:ramsey.gur...@practicemojo.com> > Confidentiality Notice: This email, including all attachments and replies > thereto, are covered by the Electronic Communications Privacy Act, 18 U.S.C. > Sections 2510-2521 and are legally privileged. This information is > confidential, and intended only for the use of the individuals or entities > named above. If you are not the intended recipient, you are hereby notified > that any disclosure, copying, distribution or the taking of any action in > reliance on the contents of this transmitted information is strictly > prohibited. Please notify us if you have received this transmission in error. > Thank you.
_______________________________________________ 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