Re: java.util.logging and Maven builds
Re: java.util.logging and Maven builds
- Subject: Re: java.util.logging and Maven builds
- From: Chuck Hill <email@hidden>
- Date: Fri, 23 Jun 2017 05:19:04 +0000
- Thread-topic: java.util.logging and Maven builds
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=email@hidden> on behalf of Paul
Hoadley <email@hidden>
Date: Thursday, June 22, 2017 at 10:07 PM
To: WebObjects Development <email@hidden>
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden