ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: PrefixFileSets->Zip task?
Date Thu, 07 Dec 2000 12:31:48 GMT
At 09:18  7/12/00 +0100, you wrote:
>Peter Donald <donaldp@apache.org> wrote:
>
>> Hi,
>> 
>> There was a request a couple of days ago for PrefixFileSets to be
>> moved from war->Zip task. If I was to implement this would anyone
>> object ?
>
>No, go ahead - you'd just be removing an item from my "want to do that
>before I go on vacation" list 8-).

Done. Could someone check the war task still operates at 100% efficiency -
I don't have any build files that use war and there is no testcases yet for
war but I *think* it should still work.

BTW I am having trouble running test suites (namely the run.single.test
target). I am not sure I have the environment set up poorly but the
relevent snippet of error message is.


Using CLASSPATH
C:\donaldp\build\ant\lib\ant.jar;C:\donaldp\build\ant\testcases;C:\donaldp\j
akarta-ant\lib\core\junit.jar;C:\donaldp\jakarta-ant\lib\xerces.jar;C:\jdk1.
3\jre\lib\rt.jar;C:\donaldp\jakarta-ant\lib\xalan_1_2_D02.jar;C:\donaldp\jak
arta-ant\lib\ant.jar;C:\donaldp\jakarta-ant\lib\stylebook-1.0-b2.jar;C:\jdk1
.3\lib\tools.jar;C:\donaldp\jakarta-ant;C:\donaldp\jakarta-ant\lib\core\xerc
es.jar
Testsuite: blah
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

	Caused an ERROR
blah
java.lang.ClassNotFoundException: blah
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
	at java.lang.ClassLoader.findSystemClass(ClassLoader.java:620)
	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTes
tRunner.java)
	at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a)
	at org.apache.tools.ant.Target.execute(Target.java)
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message