ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike D'Ambrogia" <mi...@jamagination.com>
Subject RE: junit problem w/JUnitTask and/or ZipException
Date Thu, 28 Aug 2003 14:57:33 GMT
ok, I should have caught that too.  its all beginnig to jumble together in
one big blur...

Still failing with JUnitTest error, output from "ant-v junit" below :


Apache Ant version 1.5.3 compiled on April 16 2003
Buildfile: build.xml
Detected Java version: 1.4 in: C:\j2sdk1.4.1_03\jre
Detected OS: Windows XP
parsing buildfile build.xml with URI = file:C:/Documents and
Settings/miked/My
ocuments/ir-dev/jsp/build.xml
Project base dir set to: C:\Documents and Settings\miked\My
Documents\ir-dev\jU
it
Build sequence for target `junit' is [junit]
Complete build sequence is [junit, compile com.iRoyalty, jsp2java
iRoyalty.musi
.publishing, jsp2java iRoyalty.music.artist, jsp2java iRoyalty Root]

junit:
    [junit] Using System properties {java.runtime.name=Java(TM) 2 Runtime
Envir
nment, Standard Edition, sun.boot.library.path=C:\j2sdk1.4.1_03\jre\bin,
java.v
.version=1.4.1_03-b02, java.vm.vendor=Sun Microsystems Inc.,
java.vendor.url=ht
p://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client
VM, f
le.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=,
java.vm.specifica
ion.name=Java Virtual Machine Specification, user.dir=C:\Documents and
Settings
miked\My Documents\ir-dev\jsp, java.runtime.version=1.4.1_03-b02,
java.awt.grap
icsenv=sun.awt.Win32GraphicsEnvironment,
java.endorsed.dirs=C:\j2sdk1.4.1_03\jr
\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\miked\LOCALS~1\Temp\,
li
e.separator=
    [junit] , java.vm.specification.vendor=Sun Microsystems Inc.,
user.variant=
 os.name=Windows XP, ant.home=C:\ant, sun.java2d.fontpath=,
java.library.path=C
\j2sdk1.4.1_03\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\system32;C:\W
IND
WS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL
Server\80\Tools\BINN
C:\j2sdk1.4.1_03\bin;c:\ant\bin, java.specification.name=Java Platform API
Spec
fication, java.class.version=48.0,
java.util.prefs.PreferencesFactory=java.util
prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and
Set
ings\miked, user.timezone=America/Los_Angeles,
java.awt.printerjob=sun.awt.wind
ws.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4,
user.name
miked,
java.class.path=C:\j2sdk1.4.1_03\lib\tools.jar;C:\ant\lib\xml-apis.jar;C
\ant\lib\xercesImpl.jar;C:\ant\lib\optional.jar;C:\ant\lib\junit.jar;C:\ant\
lib
ant.jar;C:\junit3.8.1\junit.jar;c:\junit3.8.1;c:\ant,
java.vm.specification.ver
ion=1.0, sun.arch.data.model=32, java.home=C:\j2sdk1.4.1_03\jre,
java.specifica
ion.vendor=Sun Microsystems Inc., user.language=en,
awt.toolkit=sun.awt.windows
WToolkit, java.vm.info=mixed mode, java.version=1.4.1_03,
java.ext.dirs=C:\j2sd
1.4.1_03\jre\lib\ext,
sun.boot.class.path=C:\j2sdk1.4.1_03\jre\lib\rt.jar;C:\j2
dk1.4.1_03\jre\lib\i18n.jar;C:\j2sdk1.4.1_03\jre\lib\sunrsasign.jar;C:\j2sdk
1.4
1_03\jre\lib\jsse.jar;C:\j2sdk1.4.1_03\jre\lib\jce.jar;C:\j2sdk1.4.1_03\jre\
lib
charsets.jar;C:\j2sdk1.4.1_03\jre\classes, java.vendor=Sun Microsystems
Inc., f
le.separator=\,
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi,
un.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle,
sun.cpu.isalist=pe
tium i486 i386}
    [junit] Running com.iroyalty.db.DbObjectTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

BUILD FAILED
file:C:/Documents%20and%20Settings/miked/My%20Documents/ir-dev/jsp/build.xml
:44
 Test com.iroyalty.db.DbObjectTest failed
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitask.java
:573)
        at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitask.java
:532)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 1 second



-----Original Message-----
From: Antoine Levy-Lambert [mailto:antoine@antbuild.com]
Sent: Thursday, August 28, 2003 7:45 AM
To: miked@craniumProject.org
Subject: Re: junit problem w/JUnitTask and/or ZipException


sorry,

 <fileset dir="C:\Documents and Settings\miked\My
 Documents\ir-dev\jUnit" includes="com/iroyalty/db/*Test.class"/>
 </batchtest>

I forgot a / between db and *Test.class

Cheers,

Antoine



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message