You're right. I didn't realised the difference. Now it works as it should ;)
Thanks, Lothar
On Mon, 16 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote:
fileset dir=${out.dir}/web/WEB-INF/classes
include name=**/*.class/
/fileset
I can't believe it because the test target depends on the compile
target and I included the output dir (where the compiler stores the
classes) in my classpath. In the debug output I can see that the
classes are really included.
[junit] '-classpath' ...
On Mon, 16 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote:
fileset dir=${out.dir}/web/WEB-INF/classes
include name=**/*.class/
/fileset
should be pathelement location=${out.dir}/web/WEB-INF/classes/ or
otherwise you are
On Fri, 13 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote:
I can't believe it because the test target depends on the compile
target and I included the output dir (where the compiler stores the
classes) in my classpath. In the debug output I can see that the
classes are really included.
Hi Stefan,
the TestRunner class was just a try because normally I start the TestSuite
class generated by eclipse and then get the gui. I thought that could be the
problem. Now I tried to start the single testcases (that extends TestCase) and
get only a ClassNotFoundException). But I can't
Here's an extract of the diagnostic output (ant -diagnostic) :
--- Ant diagnostics report ---
Apache Ant version 1.6.5 compiled on June 2 2005
---
Implementation Version (JDK1.2+ only)
---
core tasks :
On Thu, 12 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote:
---
Tasks availability
---
image : Missing dependency
com.sun.media.jai.codec.FileSeekableStream sshexec : Missing
dependency
Hi Stefan,
of course I've tried different formatters, with and without usefile. But I
don't get any output. Only when I use the .class extension in the filename for
the TestSuite class I get an ClassNotFoundException, otherwise nothing happens.
Thanks, Lothar
Ant Users List
On 11/01/06, Lothar Krenzien [EMAIL PROTECTED] wrote:
Hi Stefan,
of course I've tried different formatters, with and without usefile. But
I don't get any output. Only when I use the .class extension in the filename
for the TestSuite class I get an ClassNotFoundException, otherwise nothing
Hi Petar,
the problem is, that I want to execute a JUnit test suite (not only a single
test) genereted by the eclipse wizard, but don't get any output/statistics ...
back. As I said I tried it with different formatters, different versions of the
test suite name (with and without package name,
On Wed, 11 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote:
of course I've tried different formatters, with and without
usefile. But I don't get any output.
Strange. It should work, and it does for many people, including
myself.
Can you run ant -debug to see what is going on in your case?
On Tue, 10 Jan 2006, Lothar Krenzien [EMAIL PROTECTED] wrote:
When I run a JUnit test suite from ant I would like to see at least
the result of the tests. At the moment only errors are logged.
That's what the brief formatter does. But you should be getting the
summary given your task.
It
12 matches
Mail list logo