Community
Participate
Working Groups
Created attachment 226462 [details] Support RCP applications with one bundle (e3 and e4) The attached patch includes the modifications for the Jubula accessor in RCP AUT applications needed for testing: * Support for e3 and e4 RCP applications in one base bundle named "org.eclipse.jubula.rc.rcp". * The following bundles, which are included in the base bundle, are installed programmatically with OSGI depening on the running Eclipse version e3 or e4 (with and without compatibility layer): * org.eclipse.jubula.rc.rcp.common for e3 and e4 * org.eclipse.jubula.rc.rcp.swt for e3 and e4 with SWT * org.eclipse.jubula.rc.rcp.e3 for e3 * org.eclipse.jubula.rc.rcp.e3.specific for e3 * org.eclipse.jubula.rc.rcp.e4 for e4 * org.eclipse.jubula.rc.rcp.e4.swt for e4 with SWT
Added blocking BUG IDs depending on this BUG.
Created attachment 226499 [details] Update including Buddy Classloading This patch adds needed Buddy Classloading for Jubula commands send to the accessor.
Created attachment 226559 [details] Update including NLS tags
Created attachment 226679 [details] Update including correct qualifiers This patch enhances the build to add correct qualifiers to the bundle file names, which are installed by org.eclipse.jubula.rc.rcp
Created attachment 226683 [details] Support RCP applications with one bundle (e3 and e4) This patch includes the previously added patches.
Created attachment 226688 [details] Support RCP applications with one bundle (e3 and e4) This patch includes the previous ones and fixes build problems (SWT library has not been build).
Reviewing enhancement patch(es).
Created attachment 226718 [details] Support RCP applications with one bundle (e3 and e4) With correct build dependencies.
The attached patch requires additional adjustments: - the following classes have too many similarities - org.eclipse.jubula.rc.rcp.swt.aut.RcpSwtComponentNamer - org.eclipse.jubula.rc.rcp.e3.accessor.E3Startup - some classes contain commented-out source code fragments e.g. org.eclipse.jubula.rc.rcp.swt.aut.SwtRemoteControlService line 71f - the code contains FIXMEs e.g. in org.eclipse.jubula.rc.rcp.swt.aut.RcpSwtComponentNamer line 277 - there are a few too many .keep files e.g. - org.eclipse.jubula.rc.rcp.e3.specific/src/.keep - org.eclipse.jubula.rc.rcp.e4/src/.keep - ... Please resolve these issues and re-contribute.
@Triaged:+ Just to remove this from the "needs triage" list.
Created attachment 226820 [details] Support RCP applications with one bundle (e3 and e4) (modified after review)
Created attachment 226907 [details] BUGFIX: RCP accessor: Fixed infinite loop in setToolbarComponentName() The attached patch is a bugfix for an infinite loop in the method setToolbarComponentName() of the class RcpSwtComponentNamer. This bug only exists in the RCP accessor for e3.x applications not running in compat layer mode.
Bugfix patch applied on master with http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=fcfa7d36faed4ca417e8150f55c81033a3460e5b
Tested. I was able to start an Eclipse version 3.4 and our current CaA RCP 4.2 e4 AUT using the same bundle. Closing this ticket.