Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 42505 invoked from network); 15 Sep 2005 21:59:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2005 21:59:34 -0000 Received: (qmail 68071 invoked by uid 500); 15 Sep 2005 21:59:30 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 68036 invoked by uid 500); 15 Sep 2005 21:59:30 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 68023 invoked by uid 99); 15 Sep 2005 21:59:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 14:59:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [67.155.8.68] (HELO gainsmail.gainsystems.net) (67.155.8.68) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 14:59:39 -0700 Content-class: urn:content-classes:message Subject: RE: jaxp.jar and parser.jar? Date: Thu, 15 Sep 2005 16:59:27 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: jaxp.jar and parser.jar? X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Thread-Index: AcW6QDfaXPyoYEd2REGBGnCxxdlFnwAAEWgg From: "Harp, George" To: "Log4J Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N cool I wanted to make sure I wasn't messing you up.=20 So when you downloaded the source did you try to get it to=20 compile before you made any changes? =20 -----Original Message----- From: lawrence@marchex.com [mailto:lawrence@marchex.com] Sent: Thursday, September 15, 2005 4:56 PM To: Log4J Users List Subject: Re: jaxp.jar and parser.jar? I downloaded the source for version 1.2.11, but there is a small change = to the source that I needed to make (DailyRollingFileAppender's = rollOver() method), and now I want to build a jar to link into my = project. -Lawrence On Thu, Sep 15, 2005 at 04:53:18PM -0500, Harp, George wrote: > it looks like you are running this from downloaded log4j source? IS it = the latest?=20 > Have you tried using latest log4j jar instead of compiling against the = source?=20 > (ie download latest jar and link it into your project). or is your = goal to compile > log4j latest and greatest? >=20 > -----Original Message----- > From: lawrence@marchex.com [mailto:lawrence@marchex.com] > Sent: Thursday, September 15, 2005 4:49 PM > To: Log4J Users List > Subject: Re: jaxp.jar and parser.jar? >=20 >=20 > Ok, I changed target to 1.5, and all is well until it gets to: >=20 > build.jmx: > [javac] Compiling 7 source files to = /home/lawrence/eclipse/workspace/log4j/dist/classes > [javac] = /home/lawrence/eclipse/workspace/log4j/src/java/org/apache/log4j/jmx/Agen= t.java:22: package com.sun.jdmk.comm does not exist > [javac] import com.sun.jdmk.comm.HtmlAdaptorServer; > [javac] ^ > [javac] = /home/lawrence/eclipse/workspace/log4j/src/java/org/apache/log4j/jmx/Agen= t.java:39: cannot find symbol > [javac] symbol : class HtmlAdaptorServer > [javac] location: class org.apache.log4j.jmx.Agent > [javac] HtmlAdaptorServer html =3D new HtmlAdaptorServer(); > [javac] ^ > [javac] = /home/lawrence/eclipse/workspace/log4j/src/java/org/apache/log4j/jmx/Agen= t.java:39: cannot find symbol > [javac] symbol : class HtmlAdaptorServer > [javac] location: class org.apache.log4j.jmx.Agent > [javac] HtmlAdaptorServer html =3D new HtmlAdaptorServer(); > [javac] ^ > [javac] = /home/lawrence/eclipse/workspace/log4j/src/java/org/apache/log4j/jmx/Appe= nderDynamicMBean.java:242: warning: non-varargs call of varargs method = with inexact argument type for last parameter; > [javac] cast to java.lang.Object for a varargs call > [javac] cast to java.lang.Object[] for a non-varargs call and to = suppress this warning > [javac] return mu.readMethod.invoke(appender, null); > [javac] ^ > [javac] = /home/lawrence/eclipse/workspace/log4j/src/java/org/apache/log4j/jmx/Layo= utDynamicMBean.java:189: warning: non-varargs call of varargs method = with inexact argument type for last parameter; > [javac] cast to java.lang.Object for a varargs call > [javac] cast to java.lang.Object[] for a non-varargs call and to = suppress this warning > [javac] return mu.readMethod.invoke(layout, null); > [javac] ^ > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 3 errors > [javac] 2 warnings >=20 > Suggestions? >=20 > -Lawrence >=20 > On Thu, Sep 15, 2005 at 04:46:23PM -0500, Harp, George wrote: > > if you take out target=3D"1.1 you should be ok. If you want top use = target=3D try target=3D"1.5" -- but better to read ant doc on > > javac -- ant has great reference material so it will be fast=20 > >=20 > > -----Original Message----- > > From: lawrence@marchex.com [mailto:lawrence@marchex.com] > > Sent: Thursday, September 15, 2005 4:45 PM > > To: Log4J Users List > > Subject: Re: jaxp.jar and parser.jar? > >=20 > >=20 > > > > > > > destdir=3D"${javac.dest}" > > includes=3D"${stem}/**/*.java,=20 > > ${stem}/xml/XMLLayout.java" > > excludes=3D"misc/*, **/UnitTest*.java, > > **/StressCategory.java, > > **/doc-files/*, > > ${stem}/xml/**, > > ${stem}/test/serialization/**, > > ${stem}/net/SMTPAppender.java, > > ${stem}/net/JMS*.java, > > ${stem}/jmx/*.java, > > ${stem}/or/jms/*.java" > > target=3D"1.1" > > deprecation=3D"${deprecation}" > > debug=3D"on"> > > > > > > =20 > > > > > > > > > >=20 > > > >=20 > > Should I change target=3D"1.1" to target=3D"1.5"? > >=20 > > -Lawrence > >=20 > > On Thu, Sep 15, 2005 at 04:41:58PM -0500, Harp, George wrote: > > > can you cut and paste the target in your ant file that compiles = it? > > >=20 > > > -----Original Message----- > > > From: lawrence@marchex.com [mailto:lawrence@marchex.com] > > > Sent: Thursday, September 15, 2005 4:41 PM > > > To: Log4J Users List > > > Subject: Re: jaxp.jar and parser.jar? > > >=20 > > >=20 > > > I am attempting to make the jar file with ant. > > >=20 > > > I only have jdk1.5 installed at this time. > > >=20 > > > -Lawrence > > >=20 > > > On Thu, Sep 15, 2005 at 04:38:58PM -0500, Harp, George wrote: > > > > you are getting conflicts. javax.jms refers to JMS java message = service ie EJB. > > > >=20 > > > > As far as target release ... How are you naking the jar file? = ant file? IDE? Maven?=20 > > > >=20 > > > > -----Original Message----- > > > > From: lawrence@marchex.com [mailto:lawrence@marchex.com] > > > > Sent: Thursday, September 15, 2005 4:35 PM > > > > To: Log4J Users List > > > > Subject: Re: jaxp.jar and parser.jar? > > > >=20 > > > >=20 > > > > I made some minor modifications to the source code and I'm = trying to build a new jar file. I'm getting this error: > > > >=20 > > > > javac: target release 1.1 conflicts with default source release = 1.5 > > > >=20 > > > > Which I assume means I need to install jdk1.1 (fun). > > > >=20 > > > > However, I am also getting some other compile errors (in = eclipse) like: > > > >=20 > > > > The import javax.jms cannot be resolved MessageRenderer.java > > > >=20 > > > > Which I assume is because of the missing jar files. > > > >=20 > > > > -Lawrence > > > >=20 > > > > On Thu, Sep 15, 2005 at 04:32:36PM -0500, Harp, George wrote: > > > > > did you check inside the jars see if there is an apache = package? > > > > >=20 > > > > > Do you just want the log4j jar file? > > > > >=20 > > > > > -----Original Message----- > > > > > From: lawrence@marchex.com [mailto:lawrence@marchex.com] > > > > > Sent: Thursday, September 15, 2005 4:31 PM > > > > > To: log4j-user@logging.apache.org > > > > > Subject: jaxp.jar and parser.jar? > > > > >=20 > > > > >=20 > > > > > According to the INSTALL notes: > > > > >=20 > > > > > "Log4j is shipped with jaxp.jar and parser.jar files under the = build/lib/ directory." > > > > >=20 > > > > > however build/lib/ is no where to be found, and I have no clue = how to get these jar files. > > > > >=20 > > > > > Thanks! > > > > >=20 > > > > > -Lawrence > > > > >=20 > > > > > = --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: = log4j-user-unsubscribe@logging.apache.org > > > > > For additional commands, e-mail: = log4j-user-help@logging.apache.org > > > > >=20 > > > > > = --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: = log4j-user-unsubscribe@logging.apache.org > > > > > For additional commands, e-mail: = log4j-user-help@logging.apache.org > > > >=20 > > > > = --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: = log4j-user-unsubscribe@logging.apache.org > > > > For additional commands, e-mail: = log4j-user-help@logging.apache.org > > > >=20 > > > > = --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: = log4j-user-unsubscribe@logging.apache.org > > > > For additional commands, e-mail: = log4j-user-help@logging.apache.org > > >=20 > > > = --------------------------------------------------------------------- > > > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > > > For additional commands, e-mail: = log4j-user-help@logging.apache.org > > >=20 > > > = --------------------------------------------------------------------- > > > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > > > For additional commands, e-mail: = log4j-user-help@logging.apache.org > >=20 > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > > For additional commands, e-mail: log4j-user-help@logging.apache.org > >=20 > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > > For additional commands, e-mail: log4j-user-help@logging.apache.org >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-user-help@logging.apache.org >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org