Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Why do I get an unresolved bundle for org.selenium.java.client when trying to set up RTC 4.0 SDK with feature based launches?

I am currently in the process of upgrading the RTC Extension Workshop for RTC 4.0. when setting up the feature based launches I get an unresolved bundle for

org.selenium.java.client

In com.ibm.team.rtc.client.feature

It is not in the SDK and not in the RTC Eclipse client but referenced in
- com.ibm.team.process.selenium.tests
- com.ibm.team.workitem.web.ui.tests

I looked around, but was not able to easily find what I need to install. Any hints?
 

1

0 votes


Accepted answer

Permanent link
The feature based launches work even with the unresolved dependency.
One very important item however is to set the workspace text file encoding to UTF-8. If this is not done, the server launch seems to fail.
Ralph Schoon selected this answer as the correct answer

0 votes

Comments

even switching to UTF-8 server fails, displaying the message:

[ERROR] 2012-08-20 14:36:59.211 - FrameworkManager: An error event has occurred involving the bundle "com.ibm.team.workitem.web.ui.tests_3.0.1.v20120430_0235 [140]".

The bundle "com.ibm.team.workitem.web.ui.tests_3.0.1.v20120430_0235 [140]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.selenium.java.client; bundle-version="0.0.0"

It worked for me, or I would not have been able to upgrade the Extension Workshop. I had to set to UTF-8 very early, so that you don't get any files saved with the default format. I would suggest to check all files and switch then to UTF-8 or start all over with a fresh workspace. Others have followed the 4.0 Extensions Workshop and if they got stuck it was typically some user issue they where able to correct.


4 other answers

Permanent link
Grepping around the feature.xml files in my target I find this:

com.ibm.team.repository.server.web.test.provision.jfs.feature
    requires  com.ibm.team.repository.server.web.tests.jfs.feature
         requires  com.ibm.team.common.selenium.feature
               includes org.selenium.java.client

0 votes


Permanent link
Hi Andrew,

unfortunately com.ibm.team.common.selenium.feature is nowhere to be found - at least I was not able to detect it in my plugins and features. So I can't ad the bundle and the feature based launch will show the unresolved reference.

I will open a defect, I guess.

0 votes

Comments


Permanent link
org.selenium.java.client is used only for testing, and contains the Selenium libraries from http://seleniumhq.org/. You can safely ignore the message about this missing bundle for now. I would be surprised if setting the text file encoding would make any difference as to whether or not this bundle was required.

0 votes

Comments

No, the encoding was required for other things to work - at least for me - and is also mentioned in the SDK Wiki


Permanent link
 Hi Ralph, we are currently using Jetty with RSA 8.5 and RTCv4. I create a project for holding all the Jetty related information and works well, I can share it with you. 
Amaury

0 votes

Comments

If you are using a feature based launch and you don't see the selenium issue, please share. I have working feature based launches, they work, but they complain about the missing bundle. You can rwach me at ralph.schoon@de.ibm.com.

I already sent to you by mail the project

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Jun 26 '12, 11:00 a.m.

Question was seen: 5,885 times

Last updated: Sep 26 '12, 7:35 a.m.

Confirmation Cancel Confirm