Rich Reese

Greenhorn
+ Follow
since Jan 20, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rich Reese

Hallelujah!!! It finally works. So the steps I took was the following:

1.) Added the junit.jar to my project classpath
2.) Moved the junit.jar to the top of my classpath before any other jar
files.

Thanks for all of your help. I was about to go crazy. One thing that confuses me though is that I didn't think the jre could evaluate the contents of a jar file if it is embedded within another jar file.

Thanks again,
Rich
18 years ago
If I remove the constructor, I get the following error message from eclipse.

Implicit super constructor TestCase() is undefined for default constructor. Must define an explicit constructor DateRangeFiltrationRuleTest.java
18 years ago
I added the Junit.jar to the class path but it still doesn't work. I have the other jars in there because my app needs them to compile.

<classpathentry kind="src" path="conf"/>
<classpathentry kind="src" path="doc"/>
<classpathentry kind="src" path="dtd"/>
<classpathentry kind="src" path="lib"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="webapp"/>
<classpathentry kind="lib" path="lib/1.4.1_ciber-arch.jar"/>
<classpathentry kind="lib" path="lib/castor-0.9.5-xml.jar"/>
<classpathentry kind="lib" path="lib/ciber-arch.jar"/>
<classpathentry kind="lib" path="lib/cos.jar"/>
<classpathentry kind="lib" path="lib/ftp.jar"/>
<classpathentry kind="lib" path="lib/jakarta-poi-1.5.1-final-20020615.jar"/>
<classpathentry kind="lib" path="lib/jxl.jar"/>
<classpathentry kind="lib" path="lib/Opta2000.jar"/>
<classpathentry kind="lib" path="lib/PopChartEmbedder.jar"/>
<classpathentry kind="lib" path="lib/sal-ipworks.jar"/>
<classpathentry kind="lib" path="lib/SetupServer.jar"/>
<classpathentry kind="lib" path="lib/third-party.jar"/>
<classpathentry kind="lib" path="webapp/market/plan/webhelp/webhelp.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="E:/jboss/server/default/lib/jboss-j2ee.jar"/>
<classpathentry kind="lib" path="E:/jboss/tomcat-4.1.x/common/lib/servlet.jar"/>
<classpathentry kind="lib" path="E:/jboss/server/default/lib/mail.jar"/>
<classpathentry kind="lib" path="E:/jboss/server/default/lib/activation.jar"/>
<classpathentry kind="lib" path="E:/dev_tools/junit3.8.1/junit.jar"/>
<classpathentry kind="output" path="bin"/>
18 years ago
Here you go...

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="conf"/>
<classpathentry kind="src" path="doc"/>
<classpathentry kind="src" path="dtd"/>
<classpathentry kind="src" path="lib"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="webapp"/>
<classpathentry kind="lib" path="lib/1.4.1_ciber-arch.jar"/>
<classpathentry kind="lib" path="lib/castor-0.9.5-xml.jar"/>
<classpathentry kind="lib" path="lib/ciber-arch.jar"/>
<classpathentry kind="lib" path="lib/cos.jar"/>
<classpathentry kind="lib" path="lib/ftp.jar"/>
<classpathentry kind="lib" path="lib/jakarta-poi-1.5.1-final-20020615.jar"/>
<classpathentry kind="lib" path="lib/jxl.jar"/>
<classpathentry kind="lib" path="lib/Opta2000.jar"/>
<classpathentry kind="lib" path="lib/PopChartEmbedder.jar"/>
<classpathentry kind="lib" path="lib/sal-ipworks.jar"/>
<classpathentry kind="lib" path="lib/SetupServer.jar"/>
<classpathentry kind="lib" path="lib/third-party.jar"/>
<classpathentry kind="lib" path="webapp/market/plan/webhelp/webhelp.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="E:/jboss/server/default/lib/jboss-j2ee.jar"/>
<classpathentry kind="lib" path="E:/jboss/tomcat-4.1.x/common/lib/servlet.jar"/>
<classpathentry kind="lib" path="E:/jboss/server/default/lib/mail.jar"/>
<classpathentry kind="lib" path="E:/jboss/server/default/lib/activation.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
18 years ago
That didn't work either.
18 years ago
I checked my classpath and I don't see anything of concern. Doesn't ecplise use th Junit version specified in the Eclipses Target Platform -> Plugins under the Window -> Preferences menu option?
18 years ago
Sorry, I meant I am using JUnit 3.8.1 and not Ant 3.8.1. I will check my classpath to see if I have another version on the class path.
18 years ago
When I remove the contstructor I get the following error:

java.lang.AbstractMethodError: org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.addFailure(Ljunit/framework/Test;Ljava/lang/Throwable V
at junit.framework.TestResult.addFailure(TestResult.java:112)
at junit.framework.TestResult.runProtected(TestResult.java:251)
at junit.framework.TestResult.run(TestResult.java:221)
at junit.framework.BasicTestCase.run(BasicTestCase.java:234)
at junit.framework.TestSuite.run(TestSuite.java:304)
18 years ago
I am having the same problem with Eclipse 3.1.1., and I am using Ant 3.8.1. Any other ideas?
18 years ago