ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chip Dunning" <cdunn...@charlson.com>
Subject JUnit/Ant problems
Date Thu, 17 Jul 2003 13:28:57 GMT
Below is the debug output from attempting to run ant on my junit tests. The tests run just
fine from inside of Eclipse, but I want to run straight from Ant since we use all kinds of
development environments here. The specific problem I believe is the three lines below. I
have navigated to that directory and all three files do exist there.

CLASSPATH
dropping C:\Program%20Files\apache-ant-1.5.3\lib\junit.jar from path as it doesn't exist
dropping C:\Program%20Files\apache-ant-1.5.3\lib\ant.jar from path as it doesn't exist
dropping C:\Program%20Files\apache-ant-1.5.3\lib\optional.jar from path as it doesn't exist

Any ideas?


Chip
-----
Programming: Its not just a job - its an indenture 

Apache Ant version 1.5.3 compiled on April 9 2003
Buildfile: build.xml
Detected Java version: 1.4 in: C:\Program Files\java\j2sdk1.4.1_02\jre
Detected OS: Windows XP

[snip a bunch of compile stuff]

test:
    [junit] Using System properties {java.runtime.name=Java(TM) 2 Runtime Environment, Standard
Edition, sun.boot.library.path=C:\Program Files\java\j2sdk1.4.1_02\jre\bin, java.vm.version=1.4.1_02-b06,
java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;,
java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.os.patch.level=Service
Pack 1, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Documents
and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer, java.runtime.version=1.4.1_02-b06,
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.endorsed.dirs=C:\Program Files\java\j2sdk1.4.1_02\jre\lib\endorsed,
os.arch=x86, java.io.tmpdir=C:\DOCUME~1\CDUNNI~1.CHA\LOCALS~1\Temp\, line.separator=
    [junit] , java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows
XP, ant.home=C:\Program Files\apache-ant-1.5.3, sun.java2d.fontpath=, java.library.path=C:\Program
Files\java\j2sdk1.4.1_02\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\PROGRA~1\Borland\CBUILD~1\Projects\Bpl;C:\PROGRA~1\Borland\CBUILD~1\Bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\doxygen\bin;C:\Program Files\apache-ant-1.5.3\bin;C:\CVS;C:\Program
Files\Symantec\pcAnywhere\;C:\Program Files\ATI Technologies\ATI Control Panel, java.specification.name=Java
Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory,
os.version=5.1, user.home=C:\Documents and Settings\cdunning.CHARLSON, user.timezone=America/New_York,
java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4,
user.name=cdunning, java.class.path=C:\Program Files\java\j2sdk1.4.1_02\lib\tools.jar;C:\Program
Files\apache-ant-1.5.3\lib\xml-apis.jar;C:\Program Files\apache-ant-1.5.3\lib\xercesImpl.jar;C:\Program
Files\apache-ant-1.5.3\lib\optional.jar;C:\Program Files\apache-ant-1.5.3\lib\junit.jar;C:\Program
Files\apache-ant-1.5.3\lib\ant.jar;.;./;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF21~1.1\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1\lib;C:\WINDOWS\java\classes;C:\WINDOWS\ide-cdunning\modules;,
java.vm.specification.version=1.0, sun.arch.data.model=32, java.home=C:\Program Files\java\j2sdk1.4.1_02\jre,
java.specification.vendor=Sun Microsystems Inc., user.language=en, awt.toolkit=sun.awt.windows.WToolkit,
java.vm.info=mixed mode, java.version=1.4.1_02, java.ext.dirs=C:\Program Files\java\j2sdk1.4.1_02\jre\lib\ext,
sun.boot.class.path=C:\Program Files\java\j2sdk1.4.1_02\jre\lib\rt.jar;C:\Program Files\java\j2sdk1.4.1_02\jre\lib\i18n.jar;C:\Program
Files\java\j2sdk1.4.1_02\jre\lib\sunrsasign.jar;C:\Program Files\java\j2sdk1.4.1_02\jre\lib\jsse.jar;C:\Program
Files\java\j2sdk1.4.1_02\jre\lib\jce.jar;C:\Program Files\java\j2sdk1.4.1_02\jre\lib\charsets.jar;C:\Program
Files\java\j2sdk1.4.1_02\jre\classes, java.vendor=Sun Microsystems Inc., file.separator=\,
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.cpu.endian=little, sun.io.unicode.encoding=UnicodeLittle,
sun.cpu.isalist=pentium i486 i386}
fileset: Setup scanner in dir C:\Documents and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\lib
with patternSet{ includes: [inireader.jar, beUtilities.jar, ftp.jar, AbsoluteLayout.jar, kioskdatabase.jar,
cbtcommon.jar, jcalendar.jar] excludes: [] }
fileset: Setup scanner in dir C:\java\classes\junit3.8.1 with patternSet{ includes: [junit.jar]
excludes: [] }
    [junit] Implicitly adding C:\Program%20Files\apache-ant-1.5.3\lib\junit.jar;C:\Program%20Files\apache-ant-1.5.3\lib\ant.jar;C:\Program%20Files\apache-ant-1.5.3\lib\optional.jar
to CLASSPATH
dropping C:\Program%20Files\apache-ant-1.5.3\lib\junit.jar from path as it doesn't exist
dropping C:\Program%20Files\apache-ant-1.5.3\lib\ant.jar from path as it doesn't exist
dropping C:\Program%20Files\apache-ant-1.5.3\lib\optional.jar from path as it doesn't exist
    [junit] Using CLASSPATH C:\Documents and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\build;C:\Documents
and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\bin\replayserver.jar;C:\Documents
and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\bin\replayserver-tests.jar;C:\Documents
and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\lib\AbsoluteLayout.jar;C:\Documents
and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\lib\beUtilities.jar;C:\Documents
and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\lib\cbtcommon.jar;C:\Documents
and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\lib\ftp.jar;C:\Documents
and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\lib\inireader.jar;C:\Documents
and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\lib\jcalendar.jar;C:\Documents
and Settings\cdunning.CHARLSON\My Documents\Projects\ReplayServer\lib\kioskdatabase.jar;C:\java\classes\junit3.8.1\junit.jar
Finding class test.AllJUnitTests
    [junit] Running test.AllJUnitTests
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec


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


Mime
View raw message