clearer output for junit task

2008-10-29 Thread Brendan Miller
I'm running junit unit tests from ant through the junit task. There have been a few times where information will be printed to stdout, or exceptions will be thrown, and it's difficult to determine which unit test produced the output or exception. Is there any way to make ant's junit task print some

appending to classpath

2008-10-25 Thread Brendan Miller
I have a ... that I use as a class path via refid="myid" for a couple of tasks. For one task I need to add a couple of path elements to the path before passing it to my task. So I have something like ... So, basically, I'm trying to add to the task before passing it in. How do I do

Re: path classpath

2008-10-25 Thread Brendan Miller
I meant the and tags in ant, not the env vars. I guess that makes the same distinction though? On Fri, Oct 24, 2008 at 5:42 PM, Martin Gainty <[EMAIL PROTECTED]> wrote: > > path env var is location for binaries..classpath env var is location for Java > classes and Java jars > > Martin > ___

Re: ant default classpath

2008-10-25 Thread Brendan Miller
asspath from sources other than the CLASSPATH env var? That really looks like what is going on. On Sat, Oct 25, 2008 at 12:40 AM, Mark Salter <[EMAIL PROTECTED]> wrote: > Brendan Miller wrote: >> In a build.xml I have, I have a javac task that I perfrom where I >> don't ex

path classpath

2008-10-24 Thread Brendan Miller
What's the difference between path and classpath? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ant default classpath

2008-10-24 Thread Brendan Miller
In a build.xml I have, I have a javac task that I perfrom where I don't explicitly pass it any classpath. Yet, when I run ant -v, I get an enourmous classpath. What gives? How does ant construct it's default classpath? Is this documented anywhere? I didn't see anything in the javac task documentat

ant java jar="asdf.jar" fails to execute jar that java -jar asdf.jar succeeds on

2008-08-13 Thread Brendan Miller
Gives me: [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger but java -jar the_same_jar.jar works fine. I specify the path to log4j.jar as Class-Path: log4j.jar in the manifest. What could be happening here? How is jar lookup different betw