• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: java.util.logging and Maven builds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.util.logging and Maven builds


  • Subject: Re: java.util.logging and Maven builds
  • From: Paul Hoadley <email@hidden>
  • Date: Tue, 27 Jun 2017 13:02:14 +0930

For the archives:

On 24 Jun 2017, at 10:18 am, Paul Hoadley <email@hidden> wrote:

>> If you'd like, here's a workaround: You can force maven to copy the java
>> resources (or certain resources). But of course, this is less than optimal.
>>
>> https://gist.github.com/hugith/a2ece8632ab33b994403ff9a04722fc1
>> <https://gist.github.com/hugith/a2ece8632ab33b994403ff9a04722fc1>
> Thanks Hugi I’ll check that out.

Unbelievably, that’s not the complete fix. That copies logging.properties into
the root of the application’s JAR, but java.util.logging _still_ doesn’t
automatically find it. It allows me to change this startup parameter:

-Djava.util.logging.config.file="Contents/Resources/logging.properties”

to this:

-Djava.util.logging.config.file=logging.properties

at which point I think that's as good as we’re going to get. (I’ve never used
java.util.logging before, and now I know why!)


--
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

  • Follow-Ups:
    • Re: java.util.logging and Maven builds
      • From: Chuck Hill <email@hidden>
References: 
 >java.util.logging and Maven builds (From: Paul Hoadley <email@hidden>)
 >Re: java.util.logging and Maven builds (From: Chuck Hill <email@hidden>)
 >Re: java.util.logging and Maven builds (From: Paul Hoadley <email@hidden>)
 >Re: java.util.logging and Maven builds (From: Hugi Thordarson <email@hidden>)
 >Re: java.util.logging and Maven builds (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: Application no longer responding after OSX and Server update
  • Next by Date: Re: java.util.logging and Maven builds
  • Previous by thread: Re: java.util.logging and Maven builds
  • Next by thread: Re: java.util.logging and Maven builds
  • Index(es):
    • Date
    • Thread