#7 ✓released
benrady (at gmail)

Added Workspace jars not recognized

Reported by benrady (at gmail) | October 13th, 2009 @ 04:00 PM

In Eclipse, if my project adds jar from other project (using "Add JARs..." button), as for example generating the following .classpath snippet:

Infinitest doesn't seem to work properly.

But if I remove that entry and add the same jar as an external jar (using "Add External JARs..." button), generating theh following .classpath snippet:

Then it seems to work properly.

If I use the same "Add JARs..." button, but add only JARs in the same project, then it also seems to work properly.

Comments and changes to this ticket

  • benrady (at gmail)

    benrady (at gmail) October 13th, 2009 @ 04:01 PM

    Attached are projects with issue as promised. NoExternalDependencies works fine as all dependent jars are within the project. ExternalDependencies has jars added via AddJar from the CommonLibs project.

  • benrady (at gmail)

    benrady (at gmail) October 13th, 2009 @ 04:15 PM

    Could not find classpath entry [C:\bjrady\workspace\AccountStatusServiceCore\lib\activation.jar] at file system root or relative to working directory [C:\bjrady\workspace\hrd].

  • Joe B

    Joe B November 20th, 2009 @ 10:00 PM

    • Assigned user set to “benrady (at gmail)”

    I'm still having this problem is there an ETA?

  • benrady (at gmail)

    benrady (at gmail) November 21st, 2009 @ 01:12 AM

    Probably in the next few weeks. We'd like to ramp up development for a new
    minor release (5.2) before the end of the year, and I would highly suspect
    that a fix for this would be included in that release.

  • benrady (at gmail)

    benrady (at gmail) November 24th, 2009 @ 02:26 AM

    • State changed from “new” to “accepted”

    Beginning work on this issue

  • benrady (at gmail)

    benrady (at gmail) November 28th, 2009 @ 03:02 AM

    • State changed from “accepted” to “released”

    Fixed in 5.1.68

    The issue appeared to be related to non-java projects that provided jars that were included in Java projects. Infinitest now searches more aggressively for jars in the workspace.

  • Joe B

    Joe B November 30th, 2009 @ 04:30 PM

    I tested out the fix and I'm still having some issues. Is there any way I can help debug?

  • benrady (at gmail)

    benrady (at gmail) November 30th, 2009 @ 05:58 PM

    Check the eclipse error log (under views). Make sure you have "INFO" level
    messages turned on, reproduce the problem and you can post the logfile here.

  • Joe B

    Joe B November 30th, 2009 @ 06:17 PM

    Here it is. I didn't know to active the INFO level but it looks like it may be on already.
    I'm wondering, it seems like you have your own test runner. How does that work with the Spring test runner? @RunWith(SpringJUnit4ClassRunner.class)

    I don't see much in the log. It seems like its looking for some jar files but I don't recognize them and I don't depend on them myself. I wonder if they are optional transitive dependencies. Hope this helps.

    I tried to attach the log as a file but it wasn't letting me for some reason.

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:11:59.603 !MESSAGE No tests to run in brighton for change []

    !ENTRY org.infinitest.eclipse 2 0 2009-11-30 12:11:59.604 !MESSAGE Error determining JVM version. Using default version.

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:11:59.608 !MESSAGE No tests to run in commonj2me for change []

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:11:59.621 !MESSAGE No tests to run in framework for change []

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:11:59.664 !MESSAGE framework-web Files changed: [C:\Projects\clean-trunk\framework-web\bin\com\agilis\core\data\HbmPersonDao.class]

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:11:59.714 !MESSAGE framework-web Running tests: [com.agilis.core.data.events.HbmPersonEventDaoTest, com.agilis.core.service.DeviceServiceMockTest, com.agilis.core.service.DeviceServiceTest, com.agilis.core.data.HbmPersonDaoTest]

    !ENTRY org.infinitest.eclipse 2 0 2009-11-30 12:11:59.716 !MESSAGE Could not find classpath entry [C:\Projects\clean-trunk\framework-web\lib\bcmail-jdk14-138.jar] at file system root or relative to working directory [C:\Projects\clean-trunk\framework-web].

    !ENTRY org.infinitest.eclipse 2 0 2009-11-30 12:11:59.716 !MESSAGE Could not find classpath entry [C:\Projects\clean-trunk\framework-web\lib\bcprov-jdk14-138.jar] at file system root or relative to working directory [C:\Projects\clean-trunk\framework-web].

    !ENTRY org.infinitest.eclipse 2 0 2009-11-30 12:11:59.717 !MESSAGE Could not find classpath entry [C:\Projects\clean-trunk\framework-web\lib\toolbox.jar] at file system root or relative to working directory [C:\Projects\clean-trunk\framework-web].

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:11:59.723 !MESSAGE Launching test runner process with the following configuration: Directory: C:\Projects\clean-trunk\framework-web
    Environment: {ProgramData=C:\ProgramData, USERPROFILE=C:\Users\jbarzilai, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, USERDNSDOMAIN=AGILISSYSTEMS.COM, JAVA_HOME=C:\Java\jre6, ProgramFiles(x86)=C:\Program Files (x86), SystemDrive=C:, TEMP=C:\Users\JBARZI~1\AppData\Local\Temp, ProgramFiles=C:\Program Files (x86), Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Java\jdk1.6.0_13\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\TortoiseHg, HOMEDRIVE=C:, PROCESSOR_REVISION=1a04, JDK_HOME=C:\Java\jdk1.6.0_13, USERDOMAIN=AGILISSYSTEMS, QTJAVA=C:\Java\jre6\lib\ext\QTJava.zip, ALLUSERSPROFILE=C:\ProgramData, ProgramW6432=C:\Program Files, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 4, GenuineIntel, ULTRAMON_LANGDIR=C:\Program Files\UltraMon\Resources\en, SESSIONNAME=Console, TMP=C:\Users\JBARZI~1\AppData\Local\Temp, PROCESSOR_ARCHITECTURE=x86, LOGONSERVER=\UTIL2, =::=::\, CLASSPATH=.;C:\Java\jre6\lib\ext\QTJava.zip, CommonProgramFiles=C:\Program Files (x86)\Common Files, PROCESSOR_ARCHITEW6432=AMD64, OS=Windows_NT, FP_NO_HOST_CHECK=NO, HOMEPATH=\Users\jbarzilai, PROCESSOR_LEVEL=6, CommonProgramW6432=C:\Program Files\Common Files, LOCALAPPDATA=C:\Users\jbarzilai\AppData\Local, COMPUTERNAME=JBARZILAI, SystemRoot=C:\Windows, windir=C:\Windows, NUMBER_OF_PROCESSORS=8, PUBLIC=C:\Users\Public, USERNAME=jbarzilai, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, ComSpec=C:\Windows\system32\cmd.exe, APPDATA=C:\Users\jbarzilai\AppData\Roaming}
    Command: [C:\Java\jdk1.6.0_13\bin\java.exe, -cp, C:\Users\JBARZI~1\AppData\Local\Temp\infinitest.jar;C:\Java\apache-tomcat-6.0.18\lib\servlet-api.jar;C:\Java\jdk1.6.0_13\jre\lib\charsets.jar;C:\Java\jdk1.6.0_13\jre\lib\ext\dnsns.jar;C:\Java\jdk1.6.0_13\jre\lib\ext\localedata.jar;C:\Java\jdk1.6.0_13\jre\lib\ext\sunjce_provider.jar;C:\Java\jdk1.6.0_13\jre\lib\ext\sunmscapi.jar;C:\Java\jdk1.6.0_13\jre\lib\ext\sunpkcs11.jar;C:\Java\jdk1.6.0_13\jre\lib\jce.jar;C:\Java\jdk1.6.0_13\jre\lib\jsse.jar;C:\Java\jdk1.6.0_13\jre\lib\resources.jar;C:\Java\jdk1.6.0_13\jre\lib\rt.jar;C:\Projects\clean-trunk\brighton\bin;C:\Projects\clean-trunk\commonj2me\bin;C:\Projects\clean-trunk\framework-web\bin;C:\Projects\clean-trunk\framework-web\lib\bcmail-jdk14-138.jar;C:\Projects\clean-trunk\framework-web\lib\bcprov-jdk14-138.jar;C:\Projects\clean-trunk\framework-web\lib\toolbox.jar;C:\Projects\clean-trunk\framework\bin;C:\Projects\clean-trunk\jars\lib\c3p0-0.9.1.jar;C:\Projects\clean-trunk\jars\lib\cglib-nodep-2.1_3.jar;C:\Projects\clean-trunk\jars\lib\commons-beanutils-core-1.8.0.jar;C:\Projects\clean-trunk\jars\lib\commons-codec-1.3.jar;C:\Projects\clean-trunk\jars\lib\commons-collections-3.2.1.jar;C:\Projects\clean-trunk\jars\lib\commons-dbutils-1.3.jar;C:\Projects\clean-trunk\jars\lib\commons-fileupload-1.2.1.jar;C:\Projects\clean-trunk\jars\lib\commons-io-1.4.jar;C:\Projects\clean-trunk\jars\lib\commons-lang-2.4.jar;C:\Projects\clean-trunk\jars\lib\core-renderer.jar;C:\Projects\clean-trunk\jars\lib\cos.jar;C:\Projects\clean-trunk\jars\lib\dbunit-2.4.5.jar;C:\Projects\clean-trunk\jars\lib\hamcrest-all-1.2.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\antlr-2.7.6.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\dom4j-1.6.1.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\ejb3-persistence.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\hibernate-annotations.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\hibernate-commons-annotations.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\hibernate3.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\javassist-3.4.GA.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\jta-1.1.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\slf4j-api-1.5.3.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\slf4j-log4j12-1.5.3.jar;C:\Projects\clean-trunk\jars\lib\iText-2.0.8.jar;C:\Projects\clean-trunk\jars\lib\jackson-core-asl-1.1.0.jar;C:\Projects\clean-trunk\jars\lib\jackson-mapper-asl-1.1.0.jar;C:\Projects\clean-trunk\jars\lib\jasperreports-3.0.0.jar;C:\Projects\clean-trunk\jars\lib\joda-time-1.6.jar;C:\Projects\clean-trunk\jars\lib\jtidy-r918.jar;C:\Projects\clean-trunk\jars\lib\junit-dep-4.4.jar;C:\Projects\clean-trunk\jars\lib\log4j-1.2.15.jar;C:\Projects\clean-trunk\jars\lib\mail.jar;C:\Projects\clean-trunk\jars\lib\mockito-all-1.8.0.jar;C:\Projects\clean-trunk\jars\lib\poi-2.5-final-20040302.jar;C:\Projects\clean-trunk\jars\lib\spring-test.jar;C:\Projects\clean-trunk\jars\lib\spring.jar;C:\Projects\clean-trunk\jars\lib\velocity-dep-1.4.jar, -mx256m, org.infinitest.testrunner.TestRunnerProcess, org.infinitest.testrunner.JUnit4Runner, 62016]

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:11:59.899 !MESSAGE ibis Files changed: [C:\Projects\clean-trunk\framework-web\bin\com\agilis\core\data\HbmPersonDao.class]

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:11:59.976 !MESSAGE ibis Running tests: [com.agilis.ibis.data.events.PositionDaoTest, com.agilis.ibis.avo.ReportViewTest, com.agilis.ibis.rest.GetDriverDistanceAndTimeControllerTest, com.agilis.ibis.rest.GetDriverPositionsIntegrationTest, com.agilis.ibis.data.events.DeviceEventDaoTest, com.agilis.ibis.service.DispatcherServiceTest, com.agilis.ibis.avo.MobileDeviceVOTest, com.agilis.ibis.service.OrganizationServiceTest, com.agilis.ibis.service.SetupDataService_CapabilitiesTest, com.agilis.ibis.data.HbmDriverPositionDaoTest, com.agilis.ibis.rest.GetWorkOrderTest, com.agilis.ibis.service.CompletionServiceTest, com.agilis.ibis.rest.UpdateJobStatusTest, com.agilis.ibis.service.LocationServiceTest, com.agilis.ibis.mobile.DeviceDataTest, com.agilis.ibis.data.HbmWorkOrderDaoTest, com.agilis.ibis.data.StatusTest, com.agilis.ibis.service.SetupDataServiceTest, com.agilis.ibis.servlet.EventMessageHandlerTest, com.agilis.ibis.rest.GetWorkOrderIntegrationTest, com.agilis.core.ViewProviderTest, com.agilis.ibis.rest.GetWorkOrderBySlotStartDateTest]

    !ENTRY org.infinitest.eclipse 2 0 2009-11-30 12:11:59.978 !MESSAGE Could not find classpath entry [C:\Projects\clean-trunk\ibis\lib\bcmail-jdk14-138.jar] at file system root or relative to working directory [C:\Projects\clean-trunk\ibis].

    !ENTRY org.infinitest.eclipse 2 0 2009-11-30 12:11:59.978 !MESSAGE Could not find classpath entry [C:\Projects\clean-trunk\ibis\lib\bcprov-jdk14-138.jar] at file system root or relative to working directory [C:\Projects\clean-trunk\ibis].

    !ENTRY org.infinitest.eclipse 2 0 2009-11-30 12:11:59.978 !MESSAGE Could not find classpath entry [C:\Projects\clean-trunk\ibis\lib\toolbox.jar] at file system root or relative to working directory [C:\Projects\clean-trunk\ibis].

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:11:59.980 !MESSAGE Launching test runner process with the following configuration: Directory: C:\Projects\clean-trunk\ibis
    Environment: {ProgramData=C:\ProgramData, USERPROFILE=C:\Users\jbarzilai, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, USERDNSDOMAIN=AGILISSYSTEMS.COM, JAVA_HOME=C:\Java\jre6, ProgramFiles(x86)=C:\Program Files (x86), SystemDrive=C:, TEMP=C:\Users\JBARZI~1\AppData\Local\Temp, ProgramFiles=C:\Program Files (x86), Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Java\jdk1.6.0_13\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\TortoiseHg, HOMEDRIVE=C:, PROCESSOR_REVISION=1a04, JDK_HOME=C:\Java\jdk1.6.0_13, USERDOMAIN=AGILISSYSTEMS, QTJAVA=C:\Java\jre6\lib\ext\QTJava.zip, ALLUSERSPROFILE=C:\ProgramData, ProgramW6432=C:\Program Files, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 4, GenuineIntel, ULTRAMON_LANGDIR=C:\Program Files\UltraMon\Resources\en, SESSIONNAME=Console, TMP=C:\Users\JBARZI~1\AppData\Local\Temp, PROCESSOR_ARCHITECTURE=x86, LOGONSERVER=\UTIL2, =::=::\, CLASSPATH=.;C:\Java\jre6\lib\ext\QTJava.zip, CommonProgramFiles=C:\Program Files (x86)\Common Files, PROCESSOR_ARCHITEW6432=AMD64, OS=Windows_NT, FP_NO_HOST_CHECK=NO, HOMEPATH=\Users\jbarzilai, PROCESSOR_LEVEL=6, CommonProgramW6432=C:\Program Files\Common Files, LOCALAPPDATA=C:\Users\jbarzilai\AppData\Local, COMPUTERNAME=JBARZILAI, SystemRoot=C:\Windows, windir=C:\Windows, NUMBER_OF_PROCESSORS=8, PUBLIC=C:\Users\Public, USERNAME=jbarzilai, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, ComSpec=C:\Windows\system32\cmd.exe, APPDATA=C:\Users\jbarzilai\AppData\Roaming}
    Command: [C:\Java\jdk1.6.0_13\bin\java.exe, -cp, C:\Users\JBARZI~1\AppData\Local\Temp\infinitest.jar;C:\Java\apache-tomcat-6.0.18\lib\jasper.jar;C:\Java\apache-tomcat-6.0.18\lib\jsp-api.jar;C:\Java\apache-tomcat-6.0.18\lib\servlet-api.jar;C:\Java\jdk1.6.0_13\jre\lib\charsets.jar;C:\Java\jdk1.6.0_13\jre\lib\ext\dnsns.jar;C:\Java\jdk1.6.0_13\jre\lib\ext\localedata.jar;C:\Java\jdk1.6.0_13\jre\lib\ext\sunjce_provider.jar;C:\Java\jdk1.6.0_13\jre\lib\ext\sunmscapi.jar;C:\Java\jdk1.6.0_13\jre\lib\ext\sunpkcs11.jar;C:\Java\jdk1.6.0_13\jre\lib\jce.jar;C:\Java\jdk1.6.0_13\jre\lib\jsse.jar;C:\Java\jdk1.6.0_13\jre\lib\resources.jar;C:\Java\jdk1.6.0_13\jre\lib\rt.jar;C:\Projects\clean-trunk\brighton\bin;C:\Projects\clean-trunk\commonj2me\bin;C:\Projects\clean-trunk\framework-web\bin;C:\Projects\clean-trunk\framework\bin;C:\Projects\clean-trunk\ibis\WEB-INF\classes;C:\Projects\clean-trunk\ibis\WEB-INF\lib\arcims_jconnect.jar;C:\Projects\clean-trunk\ibis\WEB-INF\lib\commons-codec-1.3.jar;C:\Projects\clean-trunk\ibis\WEB-INF\lib\poi-2.5.1-final-20040804.jar;C:\Projects\clean-trunk\ibis\WEB-INF\lib\spring-webmvc.jar;C:\Projects\clean-trunk\ibis\WEB-INF\lib\spring.jar;C:\Projects\clean-trunk\ibis\lib\bcmail-jdk14-138.jar;C:\Projects\clean-trunk\ibis\lib\bcprov-jdk14-138.jar;C:\Projects\clean-trunk\ibis\lib\toolbox.jar;C:\Projects\clean-trunk\jars\lib\activation.jar;C:\Projects\clean-trunk\jars\lib\arcobjects.jar;C:\Projects\clean-trunk\jars\lib\avalon-framework-4.2.0.jar;C:\Projects\clean-trunk\jars\lib\barcode4j.jar;C:\Projects\clean-trunk\jars\lib\c3p0-0.9.1.jar;C:\Projects\clean-trunk\jars\lib\cglib-nodep-2.1_3.jar;C:\Projects\clean-trunk\jars\lib\commons-beanutils-1.8.0.jar;C:\Projects\clean-trunk\jars\lib\commons-collections-3.2.1.jar;C:\Projects\clean-trunk\jars\lib\commons-digester-1.8.jar;C:\Projects\clean-trunk\jars\lib\commons-fileupload-1.2.1.jar;C:\Projects\clean-trunk\jars\lib\commons-httpclient-3.1.jar;C:\Projects\clean-trunk\jars\lib\commons-io-1.4.jar;C:\Projects\clean-trunk\jars\lib\commons-lang-2.4.jar;C:\Projects\clean-trunk\jars\lib\cos.jar;C:\Projects\clean-trunk\jars\lib\easymock.jar;C:\Projects\clean-trunk\jars\lib\ehcache-core-1.7.0.jar;C:\Projects\clean-trunk\jars\lib\groovy-all-1.1-BETA-1.jar;C:\Projects\clean-trunk\jars\lib\hamcrest-all-1.2.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\antlr-2.7.6.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\dom4j-1.6.1.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\ejb3-persistence.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\hibernate-annotations.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\hibernate-commons-annotations.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\hibernate-entitymanager.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\hibernate-validator.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\hibernate3.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\javassist-3.4.GA.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\jta-1.1.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\slf4j-api-1.5.3.jar;C:\Projects\clean-trunk\jars\lib\hibernate3.3\slf4j-log4j12-1.5.3.jar;C:\Projects\clean-trunk\jars\lib\iText-2.0.8.jar;C:\Projects\clean-trunk\jars\lib\jackson-core-asl-1.1.0.jar;C:\Projects\clean-trunk\jars\lib\jackson-mapper-asl-1.1.0.jar;C:\Projects\clean-trunk\jars\lib\jai_codec.jar;C:\Projects\clean-trunk\jars\lib\jai_core.jar;C:\Projects\clean-trunk\jars\lib\jai_imageio.jar;C:\Projects\clean-trunk\jars\lib\jasperreports-3.0.0.jar;C:\Projects\clean-trunk\jars\lib\jaxen-1.1-beta-7.jar;C:\Projects\clean-trunk\jars\lib\joda-time-1.6.jar;C:\Projects\clean-trunk\jars\lib\junit-dep-4.4.jar;C:\Projects\clean-trunk\jars\lib\log4j-1.2.15.jar;C:\Projects\clean-trunk\jars\lib\mail.jar;C:\Projects\clean-trunk\jars\lib\mockito-all-1.8.0.jar;C:\Projects\clean-trunk\jars\lib\quartz-1.6.0.jar;C:\Projects\clean-trunk\jars\lib\spring-test.jar;C:\Projects\clean-trunk\jars\lib\velocity-dep-1.4.jar, -mx256m, org.infinitest.testrunner.TestRunnerProcess, org.infinitest.testrunner.JUnit4Runner, 62018]

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:12:00.096 !MESSAGE No tests to run in installer for change []

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:12:00.149 !MESSAGE spideradmin Files changed: [C:\Projects\clean-trunk\framework-web\bin\com\agilis\core\data\HbmPersonDao.class]

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:12:00.188 !MESSAGE No tests to run in spideradmin for change [C:\Projects\clean-trunk\framework-web\bin\com\agilis\core\data\HbmPersonDao.class]

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:12:01.068 !MESSAGE Update complete. Status FAILING

    !ENTRY org.infinitest.eclipse 1 0 2009-11-30 12:12:05.069 !MESSAGE Update complete. Status FAILING

  • benrady (at gmail)

    benrady (at gmail) November 30th, 2009 @ 07:05 PM

    We're using the JUnit core runner, so @RunWith annotations should work. Is
    there a particular class or jar that it's complaining about?

  • Joe B

    Joe B November 30th, 2009 @ 07:15 PM

    The errors that are appearing in the Problems View are NoClassDefFoundError: Could not initialize class org.springframework.test.context.junit4.SpringJUnit4ClassRunner and NoClassDefFoundError org/apache/commons/logging/LogFactory.

    The error log is showing "Could not find classpath entry" with
    bcmail-jdk14-138.jar
    bcprov-jdk14-138.jar
    and toolbox.jar
    (Look about in the middle of the log file I posted)

    I've never heard of any of those last three.

  • benrady (at gmail)

    benrady (at gmail) November 30th, 2009 @ 07:25 PM

    • State changed from “released” to “accepted”

    Re-opening this.

  • benrady (at gmail)

    benrady (at gmail) December 14th, 2009 @ 03:15 PM

    Looking through this log file, I don't see the commons logging jar included in the classpath passed to Infinitest. Is that jar included in the project? If so, is there anything different about how it's included (in a JDK ext directory, for example?)

  • Joe B

    Joe B December 14th, 2009 @ 04:48 PM

    I was including commons-logging in only one place. It was a dependency project of the projects that have unit tests in them.
    As with (almost) all of our jars it was included through the "Add JARs..." option in the Java Build Path. We store all of our JARs in a project called jars in a sub-folder called lib.

    I removed commons-logging (I don't think we use it) to see if the results change. I'll let you know in a bit.

  • Joe B

    Joe B December 14th, 2009 @ 05:27 PM

    So there was no change when I removed commons-logging.
    But I've taken a closer look at the classpath that the log is referencing for the ibis project.

    The log is referencing 3 jars that we do not include anywhere:
    bcmail-jdk14-138.jar
    bcprov-jdk14-138.jar
    toolbox.jar

    In fact a search of my entire workspace through Eclipse does not find any reference to these jars.
    Also, we have not stored any jars in the folder that the classpath is referencing in quite a while (ibis/lib).

    How are you generating the classpath? What else can I look into to try and discover what is going on here?

  • benrady (at gmail)

    benrady (at gmail) December 14th, 2009 @ 05:38 PM

    We're pulling the classpath info out of the Eclipse IJavaProject instances
    in the workspace, but I think there's a better way.

    I'm assuming everything works in the built-in Eclipse JUnit runner? I'm
    currently investigating how the build a classpath and launch processes to
    see if we can do it the same way.

  • Joe B

    Joe B December 14th, 2009 @ 05:40 PM

    Yep, everything works in the built-in JUnit runner and our CI builds with hudson. Let me know if I can help any. Although beyond 7 days I won't be able to help due to my trial license expiring.

  • benrady (at gmail)

    benrady (at gmail) December 14th, 2009 @ 09:43 PM

    • State changed from “accepted” to “released”

    Released a fix for this in Infinitest 5.1.73. Let me know how it works.

  • Joe B

    Joe B December 14th, 2009 @ 11:14 PM

    Well that was surprising. I was in the middle of a massive refactoring during the middle of which I upgraded Infinitest. I finally finish and what do I find? Successfully running unit tests! Seems like its working. There is another bug I'm going to submit but this one is closed.

    Thanks for all your hard work.

    Do you know if there is any way of getting another 30 day license so I can evaluate Infitest? I'm going to request one for my personal projects but I'm also using it at work so although no one else is going to use it I probably need to use the 30 day license until we decide whether or not to purchase it.

    Thanks again.

  • benrady (at gmail)

    benrady (at gmail) December 15th, 2009 @ 12:51 AM

    Thanks Joe! Glad to be of service.

    You can request an extension to your trial license here:

    http://improvingworks.com/products/infinitest/pricing/

    Just be sure to clarify that you want an extension, not just an initial
    trial.

    Ben

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Continuous Test Runner for Java

Shared Ticket Bins

People watching this ticket

Attachments

Referenced by

Pages