Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] [test] jdtapt test fail, cannot find the plugin

Thanks, i agree with you.
And i notive that the IBM JDK's vm.version=2.3.
How will the test handl this?


2007/3/13, Olivier Thomann <Olivier_Thomann@xxxxxxxxxx>:
It looks like your VM is no seen as a 1.5 execution environment.

     [exec]      [java] !MESSAGE Missing Constraint:
Bundle-RequiredExecutionEnvironment: J2SE-1.5

Therefore the apt plugin is not resolved and the tests cannot run.

Olivier




"Sean Qiu" <sean.xx.qiu@xxxxxxxxx>
Sent by: jdt-dev-bounces@xxxxxxxxxxx
2007-03-12 23:26
Please respond to
"Eclipse JDT general developers list." <jdt-dev@xxxxxxxxxxx>


To
jdt-dev@xxxxxxxxxxx
cc

Subject
[jdt-dev] [test] jdtapt test fail, cannot find the plugin






When i use Apache Harmony JRE to run the jdtapt test package.
It will report following error, but indeed the jar file is just there.
Could you give me some suggestion?Thanks

>>>>>> Error >>>>>>>>
java.lang.Exception: Could not find plugin "org.eclipse.jdt.apt.tests"

org.eclipse.test.EclipseTestRunner$TestFailedException:
java.lang.Exception: Could not find plugin "org.eclipse.jdt.apt.tests"
at
org.eclipse.test.EclipseTestRunner.runFailed(EclipseTestRunner.java:282)
at org.eclipse.test.EclipseTestRunner.getTest(EclipseTestRunner.java:238)
at org.eclipse.test.EclipseTestRunner.<init>(EclipseTestRunner.java:218)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:22)


>>>>>> Log >>>>>>>>

     [exec]      [java] eclipse.buildId=M20060921-0945
     [exec]      [java] java.version=1.5
     [exec]      [java] java.vendor=Harmony
     [exec]      [java] BootLoader constants: OS=linux, ARCH=x86,
WS=gtk, NL=en_US
     [exec]      [java] Framework arguments:  -application
org.eclipse.test.uitestapplication
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.jdt.apt.tests.TestAll.xml
-testPluginName org.eclipse.jdt.apt.tests -className
org.eclipse.jdt.apt.tests.TestAll
     [exec]      [java] Command-line arguments:  -application
org.eclipse.test.uitestapplication -dev bin -data
/home/sean/at/eclipse/eclipse-testing/test-eclipse/eclipse/apt_folder
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,org.eclipse.jdt.apt.tests.TestAll.xml
-testPluginName org.eclipse.jdt.apt.tests -className
org.eclipse.jdt.apt.tests.TestAll -os linux -ws gtk -arch x86
-consolelog

     [exec]      [java] !ENTRY org.eclipse.osgi 2 0 2007-03-13
11:22:55.228
     [exec]      [java] !MESSAGE The following is a complete list of
bundles which are not resolved, see the prior log entry for the root
cause if it exists:
     [exec]      [java] !SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-13
11:22:55.230
     [exec]      [java] !MESSAGE Bundle
update@plugins/org.eclipse.jdt.apt.tests_3.2.1.R32x_v20060822-2100/
[101] was not resolved.
     [exec]      [java] !SUBENTRY 2 org.eclipse.jdt.apt.tests 2 0
2007-03-13 11:22:55.271
     [exec]      [java] !MESSAGE Missing required bundle
org.eclipse.jdt.apt.core_0.0.0.
     [exec]      [java] !SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-13
11:22:55.273
     [exec]      [java] !MESSAGE Bundle
update@plugins/org.junit4_4.1.0.1/ [103] was not resolved.
     [exec]      [java] !SUBENTRY 2 org.junit4 2 0 2007-03-13 11:22:55.274
     [exec]      [java] !MESSAGE Missing Constraint:
Bundle-RequiredExecutionEnvironment: J2SE-1.5
     [exec]      [java] !SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-13
11:22:55.275
     [exec]      [java] !MESSAGE Bundle
update@plugins/org.eclipse.jdt.junit4.runtime_1.0.1.r321_v20060905.jar
[104] was not resolved.
     [exec]      [java] !SUBENTRY 2 org.eclipse.jdt.junit4.runtime 2 0
2007-03-13 11:22:55.276
     [exec]      [java] !MESSAGE Missing required bundle
org.junit4_[4.1.0,4.2.0).
     [exec]      [java] !SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-13
11:22:55.278
     [exec]      [java] !MESSAGE Bundle
update@plugins/org.eclipse.jdt.apt.core_3.2.1.R32x_v20060822-2100.jar
[112] was not resolved.
     [exec]      [java] !SUBENTRY 2 org.eclipse.jdt.apt.core 2 0
2007-03-13 11:22:55.279
     [exec]      [java] !MESSAGE Missing Constraint:
Bundle-RequiredExecutionEnvironment: J2SE-1.5
     [exec]      [java] !SUBENTRY 1 org.eclipse.osgi 2 0 2007-03-13
11:22:55.281
     [exec]      [java] !MESSAGE Bundle
update@plugins/org.eclipse.jdt.apt.ui_3.2.1.R32x_v20060822-2100.jar
[119] was not resolved.
     [exec]      [java] !SUBENTRY 2 org.eclipse.jdt.apt.ui 2 0
2007-03-13 11:22:55.282
     [exec]      [java] !MESSAGE Missing required bundle
org.eclipse.jdt.apt.core_[3.2.0,4.0.0).
     [exec]      [java] java.lang.Exception: Could not find plugin
"org.eclipse.jdt.apt.tests"
     [exec]      [java]         at
org.eclipse.test.EclipseTestRunner.loadSuiteClass(EclipseTestRunner.java:298)
     [exec]      [java]         at
org.eclipse.test.EclipseTestRunner.getTest(EclipseTestRunner.java:235)
     [exec]      [java]         at
org.eclipse.test.EclipseTestRunner.<init
--
Sean Qiu
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-dev


_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-dev



--
Sean Qiu


Back to the top