[JBoss JIRA] (JBIDE-23481) build target platform sources site (for use with TP and PDE Source Lookup)
by Paul Leacu (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23481?page=com.atlassian.jira.plugi... ]
Paul Leacu commented on JBIDE-23481:
------------------------------------
I can't see how this would cause an issue with the JBTIS TP.
> build target platform sources site (for use with TP and PDE Source Lookup)
> --------------------------------------------------------------------------
>
> Key: JBIDE-23481
> URL: https://issues.jboss.org/browse/JBIDE-23481
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, target-platform
> Affects Versions: 4.4.2.AM3
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 4.4.x
>
>
> So that dev and qe can use Fred's PDE source lookup tool [1] to grab source bundles on demand (instead of having to build a target platform locally w/ all the sources [2]), we need to:
> [1] https://github.com/fbricon/pde.source.lookup/
> [2] https://github.com/jbosstools/jbosstools-devdoc/blob/master/building/targ...
> * build a targetplatform with all the sources
> * split that repo into two pieces: all the .source files, and everything else
> * regen the metadata (featureandbundlepublisher) in each new repo so that all the features/plugins are uncategorized
> OR...
> * build a targetplatform without the sources
> * transform the .target file so that each IU ends with .source
> * build the target platform repo from the new .target file
> * verify that sources repo includes the sources of nested features, and those features' plugins' sources too
> ----
> Then once we have the targetplatform.source repo, publish that and verify it works with the PDE Source Lookup plugin:
> 1. install the PDE source lookup plugin
> 2. Window > Prefs > Update > Avail Software Sites > Add the new tp.source site
> 3. for something you want sources, use the plugin and see if it can resolve soources
> ----
> Then, if that works, we can consider adding the new tp.source site into the JBT/devstudio composite sites, along with jbt + tp + central + central tp (or ds + ds tp + central + central tp) as a 5th child site.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBIDE-23184) Add Capability to Watch Projects
by Jeff Cantrill (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23184?page=com.atlassian.jira.plugi... ]
Jeff Cantrill commented on JBIDE-23184:
---------------------------------------
The ability to watch projects originally required cluster admin role. This
issue was added so that we actually implement watching projects instead of
just fetching them with no snyc functionality
On Mon, Nov 21, 2016 at 6:50 AM Marián Labuda (JIRA) <issues(a)jboss.org>
> Add Capability to Watch Projects
> --------------------------------
>
> Key: JBIDE-23184
> URL: https://issues.jboss.org/browse/JBIDE-23184
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Jeff Cantrill
> Assignee: Dmitrii Bocharov
> Fix For: 4.4.2.AM3
>
>
> Origin now allows watching of projects for adds and delete. Add capability to watch projects. Need to take into consideration how one might use the latest code against an older server version since older servers did not support project watch
> $ curl -k -H "Authorization: Bearer LU3A1EyTOdnRhkLqe8Gqkgk850eTNlljz18NwLA-108" https://192.168.1.13:8443/oapi/v1/projects?watch=true&&resourceVersion=
> {"type":"ADDED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","uid":"41f418fc-7ea3-11e6-803b-507b9dfa4ab3","resourceVersion":"942","creationTimestamp":"2016-09-19T19:57:13Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"developer","openshift.io/sa.scc.mcs":"s0:c7,c4","openshift.io/sa.scc.supplemental-groups":"1000050000/10000","openshift.io/sa.scc.uid-range":"1000050000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}}
> {"type":"DELETED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","creationTimestamp":null},"spec":{},"status":{}}}
> openshift-origin PR that made it available: https://github.com/openshift/origin/pull/6828
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBIDE-23184) Add Capability to Watch Projects
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23184?page=com.atlassian.jira.plugi... ]
Marián Labuda edited comment on JBIDE-23184 at 11/21/16 6:49 AM:
-----------------------------------------------------------------
I don't find it really difficult. I can easily watch projects, even added, with REST API.
{code}curl -X GET -H "Authorization: Bearer <token>" https://10.1.2.5:8443/oapi/v1/projects?watch=true --insecure{code}
this monitor changes on projects, every added/deleted project is displayed.
was (Author: mlabuda):
I don't find it really difficult. I can easily watch projects, even added, with REST API.
<code>curl -X GET -H "Authorization: Bearer <token>" https://10.1.2.5:8443/oapi/v1/projects?watch=true --insecure<code>
this monitor changes on projects, every added/deleted project is displayed.
> Add Capability to Watch Projects
> --------------------------------
>
> Key: JBIDE-23184
> URL: https://issues.jboss.org/browse/JBIDE-23184
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Jeff Cantrill
> Assignee: Dmitrii Bocharov
> Fix For: 4.4.2.AM3
>
>
> Origin now allows watching of projects for adds and delete. Add capability to watch projects. Need to take into consideration how one might use the latest code against an older server version since older servers did not support project watch
> $ curl -k -H "Authorization: Bearer LU3A1EyTOdnRhkLqe8Gqkgk850eTNlljz18NwLA-108" https://192.168.1.13:8443/oapi/v1/projects?watch=true&&resourceVersion=
> {"type":"ADDED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","uid":"41f418fc-7ea3-11e6-803b-507b9dfa4ab3","resourceVersion":"942","creationTimestamp":"2016-09-19T19:57:13Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"developer","openshift.io/sa.scc.mcs":"s0:c7,c4","openshift.io/sa.scc.supplemental-groups":"1000050000/10000","openshift.io/sa.scc.uid-range":"1000050000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}}
> {"type":"DELETED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","creationTimestamp":null},"spec":{},"status":{}}}
> openshift-origin PR that made it available: https://github.com/openshift/origin/pull/6828
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBIDE-23184) Add Capability to Watch Projects
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23184?page=com.atlassian.jira.plugi... ]
Marián Labuda edited comment on JBIDE-23184 at 11/21/16 6:49 AM:
-----------------------------------------------------------------
I don't find it really difficult. I can easily watch projects, even added, with REST API.
{code}curl -X GET -H "Authorization: Bearer <token>" https://10.1.2.5:8443/oapi/v1/projects?watch=true --insecure{code}
this monitor changes on projects, every added/deleted project is monitored.
was (Author: mlabuda):
I don't find it really difficult. I can easily watch projects, even added, with REST API.
{code}curl -X GET -H "Authorization: Bearer <token>" https://10.1.2.5:8443/oapi/v1/projects?watch=true --insecure{code}
this monitor changes on projects, every added/deleted project is displayed.
> Add Capability to Watch Projects
> --------------------------------
>
> Key: JBIDE-23184
> URL: https://issues.jboss.org/browse/JBIDE-23184
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Jeff Cantrill
> Assignee: Dmitrii Bocharov
> Fix For: 4.4.2.AM3
>
>
> Origin now allows watching of projects for adds and delete. Add capability to watch projects. Need to take into consideration how one might use the latest code against an older server version since older servers did not support project watch
> $ curl -k -H "Authorization: Bearer LU3A1EyTOdnRhkLqe8Gqkgk850eTNlljz18NwLA-108" https://192.168.1.13:8443/oapi/v1/projects?watch=true&&resourceVersion=
> {"type":"ADDED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","uid":"41f418fc-7ea3-11e6-803b-507b9dfa4ab3","resourceVersion":"942","creationTimestamp":"2016-09-19T19:57:13Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"developer","openshift.io/sa.scc.mcs":"s0:c7,c4","openshift.io/sa.scc.supplemental-groups":"1000050000/10000","openshift.io/sa.scc.uid-range":"1000050000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}}
> {"type":"DELETED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","creationTimestamp":null},"spec":{},"status":{}}}
> openshift-origin PR that made it available: https://github.com/openshift/origin/pull/6828
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBIDE-23184) Add Capability to Watch Projects
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23184?page=com.atlassian.jira.plugi... ]
Marián Labuda edited comment on JBIDE-23184 at 11/21/16 6:48 AM:
-----------------------------------------------------------------
I don't find it really difficult. I can easily watch projects, even added, with REST API.
<code>curl -X GET -H "Authorization: Bearer <token>" https://10.1.2.5:8443/oapi/v1/projects?watch=true --insecure<code>
this monitor changes on projects, every added/deleted project is displayed.
was (Author: mlabuda):
I don't find it really difficult. I can easily watch projects, even added, with REST API.
<code>curl -X GET -H "Authorization: Bearer <token>" https://10.1.2.5:8443/oapi/v1/projects?watch=true --insecure</code>
this monitor changes on projects, every added/deleted project is displayed.
> Add Capability to Watch Projects
> --------------------------------
>
> Key: JBIDE-23184
> URL: https://issues.jboss.org/browse/JBIDE-23184
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Jeff Cantrill
> Assignee: Dmitrii Bocharov
> Fix For: 4.4.2.AM3
>
>
> Origin now allows watching of projects for adds and delete. Add capability to watch projects. Need to take into consideration how one might use the latest code against an older server version since older servers did not support project watch
> $ curl -k -H "Authorization: Bearer LU3A1EyTOdnRhkLqe8Gqkgk850eTNlljz18NwLA-108" https://192.168.1.13:8443/oapi/v1/projects?watch=true&&resourceVersion=
> {"type":"ADDED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","uid":"41f418fc-7ea3-11e6-803b-507b9dfa4ab3","resourceVersion":"942","creationTimestamp":"2016-09-19T19:57:13Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"developer","openshift.io/sa.scc.mcs":"s0:c7,c4","openshift.io/sa.scc.supplemental-groups":"1000050000/10000","openshift.io/sa.scc.uid-range":"1000050000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}}
> {"type":"DELETED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","creationTimestamp":null},"spec":{},"status":{}}}
> openshift-origin PR that made it available: https://github.com/openshift/origin/pull/6828
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBIDE-23184) Add Capability to Watch Projects
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23184?page=com.atlassian.jira.plugi... ]
Marián Labuda commented on JBIDE-23184:
---------------------------------------
I don't find it really difficult. I can easily watch projects, even added, with REST API.
<code>curl -X GET -H "Authorization: Bearer <token>" https://10.1.2.5:8443/oapi/v1/projects?watch=true --insecure</code>
this monitor changes on projects, every added/deleted project is displayed.
> Add Capability to Watch Projects
> --------------------------------
>
> Key: JBIDE-23184
> URL: https://issues.jboss.org/browse/JBIDE-23184
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Jeff Cantrill
> Assignee: Dmitrii Bocharov
> Fix For: 4.4.2.AM3
>
>
> Origin now allows watching of projects for adds and delete. Add capability to watch projects. Need to take into consideration how one might use the latest code against an older server version since older servers did not support project watch
> $ curl -k -H "Authorization: Bearer LU3A1EyTOdnRhkLqe8Gqkgk850eTNlljz18NwLA-108" https://192.168.1.13:8443/oapi/v1/projects?watch=true&&resourceVersion=
> {"type":"ADDED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","uid":"41f418fc-7ea3-11e6-803b-507b9dfa4ab3","resourceVersion":"942","creationTimestamp":"2016-09-19T19:57:13Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"developer","openshift.io/sa.scc.mcs":"s0:c7,c4","openshift.io/sa.scc.supplemental-groups":"1000050000/10000","openshift.io/sa.scc.uid-range":"1000050000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}}
> {"type":"DELETED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","creationTimestamp":null},"spec":{},"status":{}}}
> openshift-origin PR that made it available: https://github.com/openshift/origin/pull/6828
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBDS-4180) ClassNotFoundException thrown on devstudio start up
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBDS-4180?page=com.atlassian.jira.plugin.... ]
Marián Labuda commented on JBDS-4180:
-------------------------------------
I looked closer at it. Well, once I updated on my Fedora 24 openjdk, I was not able to reproduce with latest available openjdk from fedora repos and there was no way back because the openjdk 1.8.0_102 was from previous Fedora (I was upgrading Fedora) and openjdk has not been updated. So it is really edge case and I think it would be good enough to have it documented in some form. This includes JBIDE-4179 as well as JBIDE-4181
> ClassNotFoundException thrown on devstudio start up
> ---------------------------------------------------
>
> Key: JBDS-4180
> URL: https://issues.jboss.org/browse/JBDS-4180
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: foundation, upstream
> Affects Versions: 10.2.0.GA
> Environment: Fedora 24,
> openjdk version "1.8.0_102"
> OpenJDK Runtime Environment (build 1.8.0_102-b14)
> Reporter: Marián Labuda
> Assignee: Rob Stryker
> Fix For: 10.x
>
>
> When starting latest DevStudio 10.2.0.GA (build ID GA-v20161116-0039-B6472) I get following error in console output
> {code}
> SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
> Noop constructor
> java.lang.ClassNotFoundException: sun.jvmstat.monitor.MonitoredHost
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.eclipse.osgi.internal.framework.ContextFinder.loadClass(ContextFinder.java:132)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.invokeGetMonitoredHost(Tools.java:513)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.validateClassPathAndLibraryPath(Tools.java:365)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.reset(Tools.java:115)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.<init>(Tools.java:82)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.getInstance(Tools.java:73)
> at org.jboss.tools.common.jdt.debug.tools.ToolsCore.getActiveProcessIds(ToolsCore.java:179)
> at org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler.updatesActiveJvms(JvmAttachHandler.java:100)
> at org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler$1.run(JvmAttachHandler.java:78)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> java.lang.ClassNotFoundException: sun.jvmstat.monitor.MonitoredHost
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.eclipse.osgi.internal.framework.ContextFinder.loadClass(ContextFinder.java:132)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.invokeGetMonitoredHost(Tools.java:513)
> at org.jboss.tools.common.jdt.debug.tools.internal.Tools.invokeActiveVms(Tools.java:525)
> at org.jboss.tools.common.jdt.debug.tools.ToolsCore.getActiveProcessIds(ToolsCore.java:179)
> at org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler.updatesActiveJvms(JvmAttachHandler.java:100)
> at org.jboss.tools.jmx.jvmmonitor.internal.tools.JvmAttachHandler$1.run(JvmAttachHandler.java:78)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> {code}
> problem is with openjdk version. With the lates 1.8.0_111 it works.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBIDE-23184) Add Capability to Watch Projects
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23184?page=com.atlassian.jira.plugi... ]
Jeff MAURY commented on JBIDE-23184:
------------------------------------
We already use ProjectList when the explorer is populated. What we are looking for is a way to get notified when a project is added or deleted
> Add Capability to Watch Projects
> --------------------------------
>
> Key: JBIDE-23184
> URL: https://issues.jboss.org/browse/JBIDE-23184
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Jeff Cantrill
> Assignee: Dmitrii Bocharov
> Fix For: 4.4.2.AM3
>
>
> Origin now allows watching of projects for adds and delete. Add capability to watch projects. Need to take into consideration how one might use the latest code against an older server version since older servers did not support project watch
> $ curl -k -H "Authorization: Bearer LU3A1EyTOdnRhkLqe8Gqkgk850eTNlljz18NwLA-108" https://192.168.1.13:8443/oapi/v1/projects?watch=true&&resourceVersion=
> {"type":"ADDED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","uid":"41f418fc-7ea3-11e6-803b-507b9dfa4ab3","resourceVersion":"942","creationTimestamp":"2016-09-19T19:57:13Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"developer","openshift.io/sa.scc.mcs":"s0:c7,c4","openshift.io/sa.scc.supplemental-groups":"1000050000/10000","openshift.io/sa.scc.uid-range":"1000050000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}}
> {"type":"DELETED","object":{"kind":"Project","apiVersion":"v1","metadata":{"name":"foo","selfLink":"/oapi/v1/projects/foo","creationTimestamp":null},"spec":{},"status":{}}}
> openshift-origin PR that made it available: https://github.com/openshift/origin/pull/6828
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months