Hi Paul,

src/main/resources is a path to a Java resource.  Contents/Resources is a path 
to a WebObjects resource.  Java knows Jacques Schmidt about these.  Only WO 
classes know about this.   Your Maven build needs to get this file into the top 
level directory that the class files are under (would normally go into a 
package, top level is the default package).

Chuck


From: Webobjects-dev 
<webobjects-dev-bounces+chill=gevityinc....@lists.apple.com> on behalf of Paul 
Hoadley <pa...@logicsquad.net>
Date: Thursday, June 22, 2017 at 10:07 PM
To: WebObjects Development <webobjects-dev@lists.apple.com>
Subject: java.util.logging and Maven builds

Hello,

This is admittedly rather obscure, but just in case…

I’m using Maven to build an app. It depends on a JAR that uses 
java.util.logging, and it’s also ridiculously chatty—I need to get it under 
control. I’ve got a logging.properties file in src/main/resources that does 
what I want in development. But once deployed, that’s _not_ getting picked up 
on application launch, though it is present in Contents/Resources.

Has anyone hit this before, or would anyone like to guess at a solution?


--
Paul Hoadley
http://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

Reply via email to