[JBoss JIRA] (JBIDE-25549) Cannot create OpenShift connection with OC binary on path
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25549?page=com.atlassian.jira.plugi... ]
Andre Dietisheim reassigned JBIDE-25549:
----------------------------------------
Assignee: Rob Stryker
> Cannot create OpenShift connection with OC binary on path
> ---------------------------------------------------------
>
> Key: JBIDE-25549
> URL: https://issues.jboss.org/browse/JBIDE-25549
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.AM3
> Environment: FC27
> Reporter: Josef Kopriva
> Assignee: Rob Stryker
> Attachments: image-2018-01-09-08-50-39-566.png, image-2018-01-09-08-53-21-234.png
>
>
> I have OC Binary on path:
> !image-2018-01-09-08-50-39-566.png|thumbnail!
> But when I try to create OpenShift connection, wizard is showing an error message, that OC binary is not set:
> !image-2018-01-09-08-53-21-234.png|thumbnail!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (JBDS-4642) JDK9 Certification
by Rastislav Wagner (JIRA)
[ https://issues.jboss.org/browse/JBDS-4642?page=com.atlassian.jira.plugin.... ]
Rastislav Wagner edited comment on JBDS-4642 at 1/10/18 7:14 AM:
-----------------------------------------------------------------
To run your tests via maven you have to:
1. add maven-toolchain-plugin with following configuration
{code}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>1.9</version>
<vendor>oracle</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
{code}
2. create toolchains.xml file inside .m2 folder
{code}
<?xml version="1.0" encoding="UTF8"?>
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<version>1.9</version>
<vendor>oracle</vendor>
<id>CustomJRE</id>
</provides>
<configuration>
<jdkHome>/usr/java/jdk-9.0.1/</jdkHome>
</configuration>
</toolchain>
</toolchains>
{code}
3.run tests with mvn clean verify -PITests,download-devstudio,jdk9
Your default java has to be java8 (will be used for building the plugins/tests) and java 9 will be used to run the tests
was (Author: rawagner):
To run you tests via maven you have to:
1. add maven-toolchain-plugin with following configuration
{code}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>1.9</version>
<vendor>oracle</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
{code}
2. create toolchains.xml file inside .m2 folder
{code}
<?xml version="1.0" encoding="UTF8"?>
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<version>1.9</version>
<vendor>oracle</vendor>
<id>CustomJRE</id>
</provides>
<configuration>
<jdkHome>/usr/java/jdk-9.0.1/</jdkHome>
</configuration>
</toolchain>
</toolchains>
{code}
3.run tests with mvn clean verify -PITests,download-devstudio,jdk9
Your default java has to be java8 (will be used for building the plugins/tests) and java 9 will be used to run the tests
> JDK9 Certification
> ------------------
>
> Key: JBDS-4642
> URL: https://issues.jboss.org/browse/JBDS-4642
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Epic
> Reporter: Pavol Srna
>
> This is an epic for tracking JDK9 Devstudio Certification.
> All components need to be retested (run) with JDK9. Please link issues found here.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (JBIDE-25514) Build to not allow goal dependency:tree
by Lukáš Valach (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25514?page=com.atlassian.jira.plugi... ]
Lukáš Valach closed JBIDE-25514.
--------------------------------
All PRs have been merged and "mvn dependency:tree" works fine. I think we can close this jira.
> Build to not allow goal dependency:tree
> ---------------------------------------
>
> Key: JBIDE-25514
> URL: https://issues.jboss.org/browse/JBIDE-25514
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Affects Versions: 4.5.2.AM2
> Reporter: Jeff MAURY
> Assignee: Jeff MAURY
> Labels: build, maven, tycho
> Fix For: 4.5.2.AM3
>
> Attachments: tree.log
>
>
> When we run dependency:tree error is reported probably due to incompatibility between the Maven Dependency plugin and Tycho. Upgrading to Maven Dependency plugin 3.0.2 fixed the issue
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (JBIDE-25551) Format Checker: dont enforce line feed
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25551?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-25551:
------------------------------------------
[~dbocharov] I would have thought that telling the formatter *NOT* to join wrapped lines, which makes eclipse respect manual line wrapping, would help:
{code:title=eclipse-formatter.xml}
-<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="false"/>
{code}
But it doesn't. Any idea?
> Format Checker: dont enforce line feed
> ---------------------------------------
>
> Key: JBIDE-25551
> URL: https://issues.jboss.org/browse/JBIDE-25551
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.AM3
> Reporter: Andre Dietisheim
> Assignee: Dmitrii Bocharov
>
> Current format checks enforce line feeds which leads to badly readable code when you're using fluent builders like in the following case (see here: https://github.com/jbosstools/jbosstools-openshift/pull/1645/files?diff=u...):
> {code:title=enforced line feeds}
> TableViewer resourcesViewer = new TableViewerBuilder(table, tableContainer)
> .column(resource -> ((IResource) resource).getName()).name("Name").align(SWT.LEFT).weight(1)
> .minWidth(100).buildColumn().column(resource -> ((IResource) resource).getKind()).name("Type")
> .align(SWT.LEFT).weight(1).minWidth(100).buildColumn()
> .column(new LabelsCellLabelProvider(labelFilter)).name("Labels").align(SWT.LEFT).weight(2)
> .minWidth(200).buildColumn().buildViewer();
> {code}
> {code:title=manual line feeds with superior readability}
> TableViewer resourcesViewer = new TableViewerBuilder(table, tableContainer)
> .column(resource -> ((IResource) resource).getName())
> .name("Name").align(SWT.LEFT).weight(1).minWidth(100).buildColumn()
> .column(resource -> ((IResource) resource).getKind())
> .name("Type").align(SWT.LEFT).weight(1).minWidth(100).buildColumn()
> .column(new LabelsCellLabelProvider(labelFilter))
> .name("Labels").align(SWT.LEFT).weight(2).minWidth(200).buildColumn()
> .buildViewer();
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months