| Sun Microsystems Laboratories Experimental Stuff | [Fortress-interest] installing with cygwin, missing junit.framework, have junit-4.2 |
Hi, try replacing the ":" characters in the ant classpath with ";". i.e. "third_party/ant;third_party/xtc;third_party/junit;" instead of "third_party/ant:third_party/xtc:third_party/junit:" Regards, Mark On Sunday 14 January 2007 20:49, Eric Lavigne wrote: > I am installing Fortress using Cygwin because the install script > requires Bash. I have installed JDK 1.6, Ant 1.7, and JUnit 4.2. The > build fails, indicating that junit.framework does not exist. All of > these tools are new to me, so any advice about how to diagnose the > problem would be welcome. More specific details follow in the rest of > this email. > > The following is a test of my junit installation (works identically in > cygwin or MS-DOS prompt): > > $ java org.junit.runner.JUnitCore org.junit.tests.AllTests > JUnit version 4.2 > ........................................................................... >..... > ........................................................................... >..... > ........................................................................... >..... ..I.................................. > Time: 5.484 > > OK (276 tests) > > I don't know what the "I" means, but I take "OK" as a good sign. > > Now here's what happens when I run the Fortress build script > (truncated after first compiler error): > > $ ./ant clean compile > > ANT_HOME is c:\ant > Using Ant args -noclasspath -lib > "third_party/ant:third_party/xtc:third_party/junit:" > Buildfile: build.xml > > clean: > [delete] Deleting directory C:\cygwin\home\Eric\ProjectFortress\build > > init: > [echo] basedir: C:\cygwin\home\Eric\ProjectFortress > [mkdir] Created dir: C:\cygwin\home\Eric\ProjectFortress\build > > compileCommon: > [javac] Compiling 72 source files to > C:\cygwin\home\Eric\ProjectFortress\build > [javac] > C:\cygwin\home\Eric\ProjectFortress\src\com\sun\fortress\interpreter\useful >\ABoundingMapJUTest.java:20: package junit.framework does not exist > [javac] import junit.framework.TestCase; > [javac] ^ > [javac] > _______________________________________________ > Fortress-interest mailing list > Fortress-interest@experimentalstuff.com > http://www.experimentalstuff.com/mailman/listinfo/fortress-interest
|
This page is: http://www.experimentalstuff.com/pipermail/fortress-interest/2007-January/000074.html Last Modified: Tue, 16 Jan 2007 18:38:02 GMT copyright (c) 2000-2007, Sun Microsystems |