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
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
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
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
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
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:
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
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
>>
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)
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
10 matches
Mail list logo