• 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: Variables in .classpath for selecting log4j Framework?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variables in .classpath for selecting log4j Framework?


  • Subject: Re: Variables in .classpath for selecting log4j Framework?
  • From: René Bock via Webobjects-dev <email@hidden>
  • Date: Mon, 22 May 2023 08:17:48 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=salient-doremus.de; dmarc=pass action=none header.from=salient-doremus.de; dkim=pass header.d=salient-doremus.de; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=AI09UPyEbS2CKnpqHV/cPF5gPIzAqqm/KpGgUhZoPxw=; b=Bq9APhdgvW/vyqY1i5hxXgBv90FPdjqiC8hFCZUbmWSiD0K4LCArJjMBWeR5U1OVbYmkZMKl6uqo/D5JMRp8+C3uAR/CKr+WQGbOg0rjyRtjia9VROsfoE858cteK1lIJRlmLRJV6pXzwcaqVVbRIlTs1o5n8g8qwt8/4JlOG/tTqWn+MQNXRyE+dFNfsFTeEXuDc8hxAALkx5f7p/EH0RVPnE2AJQPeVHLjfVpwKrlnSV5EtyuAmnHfRzPB+q5SQeem0ZcZIxoggYTJIzEgaHv7c4u3SNZ8WagwGiX4Hcgiue4jUuoks+dx0RpB157UOgTgyC8PALhQCKYmZ/k8bQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BI47QNgcQSfOeCTjQevs+iAtfNQ0wZl08OHDRI7ArLYh3brRjj9F6x8bSf09GEB7+Eu2RcHzz6KvLkult7kivhsq+2PV6Y3zq0vlCEJHzKg8a2pv2xanfviHHdg6JwyEGZZFoHY6/LWLUUJ7XyKTORthPiJqGM1EEq4/7yDzdJcYGNasmgFRGAP0RQcryRBCxkm9E0mhYfUgZzRPzf/nybE2ckp+UmAlJ15A6ZOZ7LKrKS/WDUQUxBxGDdbe4N/FJT2LHheS3lXWYXaMXKY7dTAtVJqG53DsqTM+Aq+pgDnplUdp4jSYh56/B0PCbubjOln9TBMPGRjRZdn6JcaUSQ==
  • Thread-topic: Variables in .classpath for selecting log4j Framework?

Hi Ricardo,

are you using ant or maven for building?

Keep in mind, that a very old version of log4j1 is bundled in the JavaXML
framework. So you have to kick out this framework in order to get completely
rid of log4j1




Am 20.05.2023 um 01:00 schrieb Ricardo Parada via Webobjects-dev
<email@hidden>:

Hi everyone,

Our build system is still using ant and relies on the .classpath entries.

I have added a couple of frameworks to our Wonder fork:

* ERLog4j1Extensions
* ERLog4j2Extensions

If I want my apps in to use the old log4j 1.2 logging library then I simply put
a classpathentry in the .classpath for the ERLog4j1Extensions framework like
this:

     <classpathentry kind=“con” path=“WOFramework/ERLog4j1Extensions“>

If I want to switch to the latest log4j2 then I replace the above with an entry
for the ERLog4j2Extensions framework like this:

<classpathentry kind=“con” path=“WOFramework/ERLog4j2Extensions“>

The problem is that I have a lot of apps that need their .classpath updated.
And switching back and forth during my testing is a lot of .classpath that I
need to update. I could probably write a script but I’m hoping there is an
easier way.

Is there a trick to make the logging framework a variable that can be set
externally somewhere else and all the .classpath files pick it up, e.g.
${ERLoggingFrameworkName} and without breaking Eclipse? ;-D

Thanks for any ideas
Ricardo Parada

_______________________________________________
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

 _______________________________________________
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: Variables in .classpath for selecting log4j Framework?
      • From: Ricardo Parada via Webobjects-dev <email@hidden>
    • Re: Variables in .classpath for selecting log4j Framework?
      • From: Michael Schmiedgen via Webobjects-dev <email@hidden>
References: 
 >Variables in .classpath for selecting log4j Framework? (From: Ricardo Parada via Webobjects-dev <email@hidden>)

  • Prev by Date: Variables in .classpath for selecting log4j Framework?
  • Next by Date: Re: Variables in .classpath for selecting log4j Framework?
  • Previous by thread: Variables in .classpath for selecting log4j Framework?
  • Next by thread: Re: Variables in .classpath for selecting log4j Framework?
  • Index(es):
    • Date
    • Thread