| Summary: | WI9: Add JFace and SWT plugins to the Agent Controller installation/configuration. | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Paul Slauenwhite <paulslau> |
| Component: | TPTP | Assignee: | Paul Slauenwhite <paulslau> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | hkyleung, samwai |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 74841 | ||
|
Description
Paul Slauenwhite
In build TPTP-4.1.0-200510031701, I have add org.eclipse.core.commands_3.1.0.jar, org.eclipse.jface_3.1.0.jar, and swt.jar. The swt.jar is platform specific. The next step is to change the main SetConfig.java file to include these 3 files in the classpath. I am assigning this bug to Samson to get it done. When I discussed this bug with Samson last week, he said changes may also be needed in the SetConfig.java of the test plugin. Paul, please work with Samson to understand how the configuration works. These Eclipse plugins should be packaged as separate Agent Controller plugins in the <Agent Controller>/plugins directory and added to the Agent Controller's default AgentControllerEnvironment in the <Agent Controller>/config/serviceconfig.xml file. Finally, the HyadesTestingSession application in th <Agent Controller>/plugins/org.eclipse.hyades.test.tools.core/config/pluginconfig.xml file will be changed to reference the new SWT/JFace plugins. Just want to confirm that the actual plugin ID's are: org.eclipse.core.commands org.eclipse.jface org.eclipse.swt So I will need to set the following env vars in the main serviceconfig.xml: CLASSPATH_ORG_ECLIPSE_CORE_COMMANDS = org.eclipse.core.commands_3.1.0.jar CLASSPATH_ORG_ECLIPSE_JFACE = org.eclipse.jface_3.1.0.jar CLASSPATH_ORG_ECLIPSE_SWT = swt.jar Then the test client's config will need to reference these env vars in its own pluginconfig.xml file. (In reply to comment #3) Yes. Keep in mind that the SWT JAR is platform dependant. Ok. I have checked the fix into CVS to add those "CLASSPATH_" variables to the main serviceconfig.xml. So what's left to be done is to reference them from the manual test client's pluginconfig.xml. (In reply to comment #5) Please reassign to me. Required configuration for the org.eclipse.hyades.test.tools.core plugin: <Variable name="CLASSPATH" position="append" value="% CLASSPATH_ORG_ECLIPSE_CORE_COMMANDS%"/> <Variable name="CLASSPATH" position="append" value="% CLASSPATH_ORG_ECLIPSE_JFACE%"/> <Variable name="CLASSPATH" position="append" value="% CLASSPATH_ORG_ECLIPSE_SWT%"/> However, the native SWT libraries (e.g. swt-win32-3138.dll DLL for Windows) needs to be on the PATH. Paul, please assign this to Hubert so that the SWT DLL can be packaged into the RAC's "bin" (or "lib" for linux/unix) dir. It will be picked up the same way as other RAC DLLs. org.eclipse.hyades.test.tools.core.SetConfig.java checked in to TPTP CVS (HEAD) on October 7, 2005. Verified in TPTP_v4_1_0_200510140100. |