Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] CDT Testing Question

Hi,

Below is the email I sent out about 2 weeks ago to cdt-test-dev, but I have not received any response. I also tried the latest 3.0.0 release, and still got the same problem. So I am sending it to cdt-dev to try my luck. Thanks,

---------------------------------------------------
I am new to CDT, so please bear with me if questions are too simple/dumb. I
downloaded CDT tests for CDT 3.0.0 RC1, and trying to run the tests
(org.eclipse.cdt.core.tests) from Eclipse, got following error messages:

Buildfile: C:\eclipse\workspace\org.eclipse.cdt.core.tests\test.xml
init:
  [delete] Deleting 1 files from C:\eclipse
suite:
ui-test:
eclipse-test:
    [echo] Running org.eclipse.cdt.core.suite.AutomatedIntegrationSuite
    [java] !SESSION 2005-08-15 11:57:30.856
-----------------------------------------------
    [java] eclipse.buildId=I20050627-1435
    [java] java.version=1.5.0_02
    [java] java.vendor=Sun Microsystems Inc.
    [java] BootLoader constants: OS=${os}, ARCH=${arch}, WS=${ws}, NL=en_US
    [java] Framework arguments:  -application
org.eclipse.test.uitestapplication
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.cdt.core.suite.AutomatedIntegrationSuite.xml
-testPluginName org.eclipse.cdt.core.tests -className
org.eclipse.cdt.core.suite.AutomatedIntegrationSuite
    [java] Command-line arguments:  -application
org.eclipse.test.uitestapplication -dev bin -data c:/eclipse/cdt_folder
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.cdt.core.suite.AutomatedIntegrationSuite.xml
-testPluginName org.eclipse.cdt.core.tests -className
org.eclipse.cdt.core.suite.AutomatedIntegrationSuite -os ${os} -ws ${ws}
-arch ${arch} -consolelog
    [java] !ENTRY org.eclipse.osgi 2005-08-15 11:57:31.995
    [java] !MESSAGE Bundle
update@plugins/org.eclipse.core.resources.win32_3.1.0.jar [41] was not
resolved.
    [java] !ENTRY org.eclipse.osgi 2005-08-15 11:57:32.05
[java] !MESSAGE Bundle update@plugins/org.eclipse.swt.win32.win32.x86_3.1.0.jar [89] was not resolved.
    [java] !ENTRY org.eclipse.osgi 2005-08-15 11:57:32.16
    [java] !MESSAGE Bundle update@plugins/org.eclipse.ui.win32_3.1.0.jar
[113] was not resolved.
    [java] !ENTRY org.eclipse.osgi 2005-08-15 11:57:32.16
[java] !MESSAGE Bundle update@plugins/org.eclipse.update.core.win32_3.1.0.jar [119] was not
resolved.
    [java] !ENTRY org.eclipse.osgi 2005-08-15 11:57:32.167
    [java] !MESSAGE An error occurred while automatically activating bundle
org.eclipse.ui.workbench (116).
    [java] !STACK 0
    [java] org.osgi.framework.BundleException: The activator
org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench
is invalid
[java] at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:151) [java] at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:965) [java] at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:321) [java] at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:266) [java] at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:116) [java] at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337) [java] at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37) [java] at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386) [java] at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350) [java] at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
    [java] at java.lang.ClassLoader.loadClass(Unknown Source)
    [java] at java.lang.ClassLoader.loadClassInternal(Unknown Source)

My questions are:

1. It complains about the "Bundle update" in a jar file not resolved, what is the problem? How can I gain more insight into this kind of problems? Is there any setting I can try to get rid of those errors?

2. My real target is to automate building and testing of CDT from command line. It will be good enough if I can automate the testing from command line. I found out that there is a document about automated testing of eclipse builds, is there a document about automated testing of CDT builds?

Thanks,
--alex

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



Back to the top