You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Robert Augustyn <au...@yahoo.com> on 2003/12/02 05:29:46 UTC

RE: Resolution: How stable is Chainsaw 2?

Scott,
Thank you for your help. 
I like this version, is it possible to run it with
current production
version of log4j?
Thanks.
robert

-----Original Message-----
From: Scott Deboy [mailto:sdeboy@comotivsystems.com] 
Sent: Sunday, November 30, 2003 2:20 PM
To: Log4J Users List
Subject: Resolution: How stable is Chainsaw 2?


FYI,

For anyone interested in building log4j from source,
ensure paths in
build.properties use forward slashes.

Scott

-----Original Message-----
From:	Robert Augustyn [mailto:augustynr@yahoo.com]
Sent:	Sat 11/29/2003 8:20 PM
To:	'Log4J Users List'
Cc:	
Subject:	RE: How stable is Chainsaw 2?
Well I did all that and I got the output you have
expected ( almost ) but
still no luck. Thanks for you help. Robert


H:\cvs\jakarta-log4j>H:\java\apache-ant-1.5.4\bin\ant
chainsaw
"C:\j2sdk14201\bin\java.exe"  -classpath
"C:\j2sdk14201\lib\tools.jar;H:\java\ap
ache-ant-1.5.4\lib\xml-apis.jar;H:\java\apache-ant-1.5.4\lib\xercesImpl.
jar;
H:\j
ava\apache-ant-1.5.4\lib\optional.jar;H:\java\apache-ant-1.5.4\lib\ant.j
ar;"
"-D ant.home=H:\java\apache-ant-1.5.4"
org.apache.tools.ant.Main  chainsaw
Buildfile: build.xml

init:

oroCheck:

chainsawCheck:

build.core:
    [mkdir] Created dir:
H:\cvs\jakarta-log4j\dist\classes
    [javac] Compiling 199 source files to
H:\cvs\jakarta-log4j\dist\classes
    [javac] Note: Some input files use or override a
deprecated API.
    [javac] Note: Recompile with -deprecation for
details.

build.chainsaw:

build.lf5:
    [javac] Compiling 44 source files to
H:\cvs\jakarta-log4j\dist\classes
    [javac] Note:
H:\cvs\jakarta-log4j\src\java\org\apache\log4j\lf5\viewer\LogB
rokerMonitor.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for
details.
     [copy] Copying 3 files to
H:\cvs\jakarta-log4j\dist\classes

build.examples:
    [mkdir] Created dir:
H:\cvs\jakarta-log4j\examples\classes
    [javac] Compiling 12 source files to
H:\cvs\jakarta-log4j\examples\classes
     [rmic] RMI Compiling 1 class to
H:\cvs\jakarta-log4j\examples\classes

jaxpCheck:

jaxp:
     [echo] JAXP present.

build.xml:
    [javac] Compiling 7 source files to
H:\cvs\jakarta-log4j\dist\classes
     [copy] Copying 1 file to
H:\cvs\jakarta-log4j\dist\classes\org\apache\log4j
\xml
     [copy] Copying 1 file to
H:\cvs\jakarta-log4j\dist\classes\org\apache\log4j
\xml

javamailCheck:

javamail:

build.javamail:

jmsCheck:

jms:

jndiCheck:

jndi:
     [echo] JNDI is present.

build.jms:

jmxCheck:

jmx:

build.jmx:

avalonFrameworkCheck:

avalonFramework:

build.avalonFramework:

build:

log4j.jar:
   [delete] Deleting 1 files from H:\cvs\jakarta-log4j
      [jar] Building jar:
H:\cvs\jakarta-log4j\log4j-1.3alpha.jar

log4j-chainsaw.jar:
   [delete] Deleting 1 files from H:\cvs\jakarta-log4j
     [copy] Copying 71 files to
H:\cvs\jakarta-log4j\dist\classes
      [jar] Building jar:
H:\cvs\jakarta-log4j\log4j-chainsaw-1.3alpha.jar

chainsaw:
     [java] java.lang.NoClassDefFoundError:
org/apache/log4j/chainsaw/LogUI
     [java] Exception in thread "main"
     [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 15 seconds
H:\cvs\jakarta-log4j>


-----Original Message-----
From: Scott Deboy [mailto:sdeboy@comotivsystems.com]
Sent: Saturday, November 29, 2003 3:18 PM
To: Log4J Users List
Subject: RE: How stable is Chainsaw 2?


augustynr@yahoo.com

I think JDeveloper may be the culprit.  Can you run it
outside JDeveloper?
(with no extra classes in the classpath except ant)?

prerequisites: cvs, ant (a recent version, 1.5.1 or
newer?), jdk 1.3 or
greater

1: pull the tip of the jakarta-log4j cvs module (see
http://jakarta.apache.org/site/cvsindex.html )
2: download the latest ORO release and expand (see
http://jakarta.apache.org/site/binindex.cgi )
3: in the jakarta-log4j directory, copy
build.properties.sample to
build.properties
4: uncomment the ORO path line in build.properties and
update the path -
example:
regexp.oro.jar=c:/downloads/oro/jakarta-oro-2.0.7/jakarta-oro-2.0.7.jar
5: in the jakarta-log4j directory, run the chainsaw
ant target ('ant
chainsaw')

Here are the first lines I get when I run the
build...yours should look
similar:

Buildfile: build.xml

oroCheck:

chainsawCheck:
     [echo] Chainsaw dependant libraries present.

chainsawRunCheck:

init:

build.core:
    [mkdir] Created dir:
D:\temp\jakarta-log4j\dist\classes
    [javac] Compiling 199 source files to
D:\temp\jakarta-log4j\dist\classes
    [javac] Note: Some input files use or override a
deprecated API.
    [javac] Note: Recompile with -deprecation for
details.

build.chainsaw:
    [javac] Compiling 108 source files to
D:\temp\jakarta-log4j\dist\classes




-----Original Message-----
From:   Robert Augustyn [mailto:augustynr@yahoo.com]
Sent:   Sat 11/29/2003 4:20 AM
To:     'Log4J Users List'
Cc:    
Subject:        RE: How stable is Chainsaw 2?
Paul,
I do get log4j-chainsaw-1.3alpha.jar in the directory
but the jar does
not have any of the classes.
I am using jdk 1.4.1_02.
And run it from the jdeveloper.
I have downloaded a build jars from the cvs and it
looks like one I just
build.
robert






__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/






__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


RE: Resolution: How stable is Chainsaw 2?

Posted by Paul Smith <pa...@lawlex.com.au>.
On Tue, 2003-12-02 at 15:29, Robert Augustyn wrote:
> Scott,
> Thank you for your help. 
> I like this version, is it possible to run it with
> current production
> version of log4j?
> Thanks.
> robert

Definately, I was using this with log4j 1.2.7 a few months ago until we
(finally!) upgraded to 1.2.8.  No problems at all.

Feel free to post suggestions, comments etc to this list.

cheers,

Paul Smith


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org