I think I have another workaround. [It is kinda related to Mark Hansen's
approach in that it uses another class, but the class is used differently
here (I think). I only make a call once, instead of each time in setup().]
Here it is: If inside a test case method in my TestCase class I instanti
Ok,
thanks for the answer,
in fact, I have modified the file for not having new lines any more.
But I will remember the difference between '*' and '*?', that could be
useful :)
Nicolas
David Resnick wrote:
You need to look into the documentation of the regexp package you have Ant
setup to use (th
I wouldnt write a task for "just" executing that one liner.
Jan
> -Ursprüngliche Nachricht-
> Von: Ninju Bohra [mailto:[EMAIL PROTECTED]
> Gesendet am: Montag, 28. März 2005 19:38
> An: Ant Users Group
> Betreff: Executing
Hi Mark,
Thanks for sharing your tip. I read your link,
To get the output from these logging statements to appear in your JUnit
report (TEST-package.TestFoo.xml) generated for the test TestFoo.java,
you need the following log4j configuration stuff in TestFoo.jar.[.java?]
A static reference to the
Hello:
Sorry if this is the wrong spot to ask this question but while I'm using
some 3rd party tasks the overall steps are probably fairly common.
I currently have an XML property file that has dependencies defined like the
following:
I am using eclipse 3.0.1 (with ant 1.6.2)
If I use jdk 1.4.2, I have no problem to run my build.xml.
However, if I use jdk 1.3.1, I got this error
BUILD FAILED: Unable to load default ProjectHelper due to
java.lang.NoClassDefFoundError: org/xml/sax/SAXException
Total time: 280 milliseconds
if
Thank you Ninju.
I will try that.
-Original Message-
From: Ninju Bohra [mailto:[EMAIL PROTECTED]
Sent: Monday, March 28, 2005 12:25 PM
To: Ant Users List
Subject: Re: Forcing the classpath
Possibly you can create a custom task that extends from
org.apache.tools.ant.taskdefs.Javac, set t
One approach would be to edit the ANT script for your installation to insert
XSLT transformations on the build file. These XSLT transformations would
remove any custom classpath in the script and replace them with your "one true
classpath". You could include an task call to warn when with was
> Steve McIntosh <[EMAIL PROTECTED]> wrote:
> I am attempting to find a way to force the contents of the classpath
> passed to javac.
> To put that another way, I would like to remove the ability for a user on
> my network to pass any classpath to javac other than the one I (the
> administrator) s
Hello all,
On our Linux/Unix boxes we multiple JRun application servers running that were
started using the command
jrun -start -nohup
The servers are manually started (from somebody at a console)
Now I need to write a ANT script to automate the stopping of the servers
How do I write a
Possibly you can create a custom task that extends from
org.apache.tools.ant.taskdefs.Javac, set the classpath attribute in the
constructor and override the .setClasspath() implementation to throw your
warning text..
Steve McIntosh <[EMAIL PROTECTED]> wrote:
I am attempting to find a way to fo
I'm still stuck on this. Any ideas?
Dave Noel
[EMAIL PROTECTED]
David E Noel/Burlington/Contr/[EMAIL PROTECTED]
03/24/2005 06:53 PM
Please respond to
"Ant Users List"
To
user@ant.apache.org
cc
Subject
ClassLoader issues with Ant 1.6.x and the task
Hello fellow ant users. I have a
Hello!
I'am using the Java task (in forked mode) directly from Java. Everything works
fine except that the Standard Output/Error of the launched VM is missing.
Where is the right place to listen to the streams?
Any advice would be appreciated.
Thanks
Dirk
I ran into this same problem (but in the context of
using Maven). The problem is that JUnit redirects
STDOUT *AFTER* the log4j configuration has taken
place.
If you want your log4j console appender output to go
to the same place that JUnit sends STDOUT, you need to
create the log4j console append
14 matches
Mail list logo