Re: Another Default configuration not seeing my appender Question

2003-03-28 Thread Mark R. Diggory
Yup, that's the trick. I guess it makes sense, only jars are really directly referenced on the classpath. By the way, on Windows2000/j2sdk1.4.* I was able to use Jakes "file:" url to get it working, Seems maybe its something with 1.4.* on windows. Thanks for the quick response to what was pro

Re: Another Default configuration not seeing my appender Question

2003-03-28 Thread Ceki Gülcü
For starters, don't add the path to the file but the directory: use C:/eclipse/workspace/project/ instead of C:/eclipse/workspace/project/log4j.xml At 01:16 PM 3/28/2003 -0500, you wrote: In the same directory as the build.xml (ant) and gui.xml (jelly) files I'm working with (thats why I'm tryi

Re: Another Default configuration not seeing my appender Question

2003-03-28 Thread Mark R. Diggory
In the same directory as the build.xml (ant) and gui.xml (jelly) files I'm working with (thats why I'm trying to keep it relative). I've tried using the classpath to add the log4j.xml file but Ant's java task screams: [java] CLASSPATH component C:\eclipse\workspace\project\log4j.xml: java

Re: Another Default configuration not seeing my appender Question

2003-03-28 Thread Ceki Gülcü
Hi Mark, Where is the log4j.xml file located? At 01:04 PM 3/28/2003 -0500, you wrote: Here's a similar question concerning an appenders error. I'm trying to launch a java program in Ant (Jelly) that uses log4j for logging. I do this via a target that looks somewhat like. I

Another Default configuration not seeing my appender Question

2003-03-28 Thread Mark R. Diggory
Here's a similar question concerning an appenders error. I'm trying to launch a java program in Ant (Jelly) that uses log4j for logging. I do this via a target that looks somewhat like. I keep getting the errors that look like: Buildfile: build.xml gui: [java] log4j:W

Re: Default configuration not seeing my appender

2003-03-28 Thread Jacob Kjome
You really don't have to worry about it. Ant understands both and Java understands mixed use of "/" and "\" when using file:///. BTW, you can also do relative paths like this and it will work for both UNIX and Windows... file:../WEB-INF/log4j.xml Jake At 11:14 AM 3/28/2003 -0500, you wrote:

Re: Default configuration not seeing my appender

2003-03-28 Thread Erik Price
Shapira, Yoav wrote: Howdy, Personally, I've encountered nothing but grief when attempting to work with windows-style file paths. (Or more general resource paths, e.g. for JNDI). I don't know if this is a shortcoming of java the language, the File/URI/URL class implementations, the windows file

RE: Default configuration not seeing my appender

2003-03-28 Thread Shapira, Yoav
List >Subject: Re: Default configuration not seeing my appender > > > >Erik Price wrote: >> Hi, >> >> I'm having trouble with my first excursion into Log4J. I'm using an Ant >> script to compile my project and then call JUnit tests. I have no >>

Re: Default configuration not seeing my appender

2003-03-28 Thread Erik Price
Erik Price wrote: Hi, I'm having trouble with my first excursion into Log4J. I'm using an Ant script to compile my project and then call JUnit tests. I have no logging statements in the JUnit tests, but I do have logging statements in my application. I have confirmed (via System.out.print)

Default configuration not seeing my appender

2003-03-27 Thread Erik Price
Hi, I'm having trouble with my first excursion into Log4J. I'm using an Ant script to compile my project and then call JUnit tests. I have no logging statements in the JUnit tests, but I do have logging statements in my application. I have confirmed (via System.out.print) that there is a Sy