[jbosstools-issues] [JBoss JIRA] (JBIDE-22764) OpenShift 3 doesn't compile with latest changes in Docker tooling

Fred Bricon (JIRA) issues at jboss.org
Tue Jul 19 10:35:02 EDT 2016


     [ https://issues.jboss.org/browse/JBIDE-22764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon updated JBIDE-22764:
--------------------------------
    Fix Version/s: 4.4.1.AM2


> OpenShift 3  doesn't compile with latest changes in Docker tooling
> ------------------------------------------------------------------
>
>                 Key: JBIDE-22764
>                 URL: https://issues.jboss.org/browse/JBIDE-22764
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.1.AM1
>            Reporter: Fred Bricon
>            Assignee: Fred Bricon
>             Fix For: 4.4.1.AM2
>
>
> Some temporary hack (https://github.com/jbosstools/jbosstools-openshift/commit/189fd3dfc0060866bdb5a4197502cc3f0e3cce87?diff=unified#diff-7c0e23e79b061ce0d1f81e959bf4751dR70) no longer compiles against the latest docker tooling (in master) code:
> {code:java}
> // FIXME: needs to catch DockerCertificateException until
> // https://bugs.eclipse.org/bugs/show_bug.cgi?id=495249 is fixed
> catch (DockerException | InterruptedException | DockerCertificateException e) {
> 	return new Status(IStatus.ERROR, OpenShiftUIActivator.PLUGIN_ID,
> 			"Failed to push the selected Docker image into OpenShift registry", e);
> }
> {code}
> com.spotify.docker.client.DockerCertificateException is no longer thrown by the Docker API so the catch block fails to compile.
> We can fix the compilation problem with Neon.1 while still maintaining Neon.0 compatibility with a different, yet fugly, trick.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list