[JBoss JIRA] (JBIDE-25967) Properties view: display oc path for OpenShift connection
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25967?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-25967:
------------------------------------------
retargeted this jira from "display oc version (for a given connection) in properties view" to "display path to oc binary (for a given connection) in properties view".
Re-resolving. [~jkopriva] please reopen if the retargeted aim of this jira is not fullfilled. Close otherwise.
> Properties view: display oc path for OpenShift connection
> ---------------------------------------------------------
>
> Key: JBIDE-25967
> URL: https://issues.jboss.org/browse/JBIDE-25967
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.6.0.AM1
> Reporter: Josef Kopriva
> Assignee: Jeff MAURY
> Labels: oc_binary, properties
> Fix For: 4.6.0.AM2
>
> Attachments: Screenshot_20180525_101841.png
>
>
> Properties view for OpenShift connection should also contains OC version, not only path to it.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBIDE-25967) Properties view: Add OC version for OpenShift connection
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25967?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-25967:
------------------------------------------
[~jkopriva] we decided against displaying the version, because the version can only be determined by launching an external process. There's no way to launch this in a background job, the only way to achieve this is to do it in the UI thread. Doing such things is highly discouraged since it's blocking the UI thread while it's processing (worst case scenario is where the oc is ex. on an NFS share which then blocks the UI thread for a substantial amount of time). We thus decided to display a simple value, the path to the oc executable, which needs no evaluation.
> Properties view: Add OC version for OpenShift connection
> --------------------------------------------------------
>
> Key: JBIDE-25967
> URL: https://issues.jboss.org/browse/JBIDE-25967
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.6.0.AM1
> Reporter: Josef Kopriva
> Assignee: Jeff MAURY
> Labels: oc_binary, properties
> Fix For: 4.6.0.AM2
>
> Attachments: Screenshot_20180525_101841.png
>
>
> Properties view for OpenShift connection should also contains OC version, not only path to it.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBIDE-26035) Convert SSP to function in an osgi environment
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26035?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-26035.
---------------------------------
I assume the steps are now outdated because felix is automatically included in the generated distribution and it works for me, so I believe all is good. Please let me know if there's anything else to test here.
> Convert SSP to function in an osgi environment
> ----------------------------------------------
>
> Key: JBIDE-26035
> URL: https://issues.jboss.org/browse/JBIDE-26035
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: stack-server-protocol
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Fix For: 4.6.0.AM2
>
>
> {code}
> mkdir felix
> cd felix
> wget http://download.nextag.com/apache/felix/org.apache.felix.main.distributio...
> unzip org.apache.felix.main.distribution-5.6.10.zip
> cd ../
> git clone git@github.com:robstryker/org.jboss.tools.ssp.git
> cd org.jboss.tools.ssp
> git checkout osgi_branch1
> mvn clean install
> #cp api/target/org.jboss.tools.ssp.api-0.8-SNAPSHOT.jar ../felix/felix-framework-5.6.10/bundle/
> #cp launching/target/org.jboss.tools.ssp.launching-0.8-SNAPSHOT.jar ../felix/felix-framework-5.6.10/bundle
> #cp server-spi/target/org.jboss.tools.ssp.server.spi-0.8-SNAPSHOT.jar ../felix/felix-framework-5.6.10/bundle/
> #cp server/target/org.jboss.tools.ssp.server-0.8-SNAPSHOT.jar ../felix/felix-framework-5.6.10/bundle/
> du -ah | grep "jar$" | grep "target/" | grep -v "test-classes" | grep -v "classes/" | grep -v "schema" | grep -v "client" | cut -c 1,2,3,4 --complement | awk '{ print "cp " $0 " ../felix/felix-framework-5.6.10/bundle/";}' | sh
> cd ../felix/felix-framework-5.6.10/
> java -jar bin/felix.jar
> {code}
> Note error:
> API Bundle Started
> Launching Bundle Started
> Server bundle started
> ERROR: Bundle org.jboss.tools.ssp.server.wildfly [11] Error starting file:/home/rob/tmp/ssp_osgi/felix/felix-framework-5.6.10/bundle/org.jboss.tools.ssp.server.wildfly-0.8-SNAPSHOT.jar (org.osgi.framework.BundleException: Activator start error in bundle org.jboss.tools.ssp.server.wildfly [11].)
> java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator
> at java.base/java.lang.ClassLoader.defineClass1(Native Method)
> at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1007)
> This is very strange. All the other bundles start fine. This bundle can't even find its osgi classes.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBIDE-26039) Generate one master .ts file
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26039?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-26039:
---------------------------------------
Not sure what to look for here. There is no .ts file that I can see.
[~rob.stryker], can you help me verify this JIRA, please? Or if you think it's not required, you can just close the JIRA.
> Generate one master .ts file
> ----------------------------
>
> Key: JBIDE-26039
> URL: https://issues.jboss.org/browse/JBIDE-26039
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: stack-server-protocol
> Affects Versions: 4.6.0.AM1
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Fix For: 4.6.0.AM2
>
>
> A single ts file would be easier for vs-code plugin to consume.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBIDE-26042) shutting down ssp via cmdline shows tons of socket errors
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26042?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-26042.
---------------------------------
Verified. No garbage printed on shutdown.
> shutting down ssp via cmdline shows tons of socket errors
> ---------------------------------------------------------
>
> Key: JBIDE-26042
> URL: https://issues.jboss.org/browse/JBIDE-26042
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: stack-server-protocol
> Affects Versions: 4.6.0.AM1
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Fix For: 4.6.0.AM2
>
>
> mvn clean install
> cd distribution/target
> unzip org.jboss.tools.ssp.distribution-0.0.9-SNAPSHOT.zip
> cd ssp-distribution
> java -jar bin/felix.jar
> Note following output:
> {code}
> API Bundle Started
> Launching Bundle Started
> Server bundle started
> The server management server is running on port 27511
> Wildfly Server bundle started
> Enter any character to stop
> ____________________________
> Welcome to Apache Felix Gogo
> {code}
> Then press enter. The server will shutdown, but will print tons of garbage about sockets trying to reconnect. This is because the attempt to connect to clients is in a loop with a while(true) (HA).
> Easy fix: let it know when it's time to shutdown and to stop attempting to receive connections.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JBIDE-26025) Rename org.eclipse packages
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26025?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-26025.
---------------------------------
A quick check didn't reveal anything, so it seems it's done.
{code}
find . -type d -path '*org/eclipse'
{code}
> Rename org.eclipse packages
> ---------------------------
>
> Key: JBIDE-26025
> URL: https://issues.jboss.org/browse/JBIDE-26025
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: stack-server-protocol
> Affects Versions: 4.6.0.AM1
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Fix For: 4.6.0.AM2
>
>
> When run in an osgi environment, the stolen and modified eclipse classes might clobber or conflict with other eclipse classes in the same environment. Better to play it safe and separate this out by renaming the few packages.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months