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.jar;"
"-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:[EMAIL PROTECTED]
Sent: Saturday, November 29, 2003 3:18 PM
To: Log4J Users List
Subject: RE: How stable is Chainsaw 2?


[EMAIL PROTECTED]

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:[EMAIL PROTECTED]
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/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to