[JBoss JIRA] (ERT-604) P2/Tycho BREE dynamic validation
by Alexander Kurtakov (JIRA)
Alexander Kurtakov created ERT-604:
--------------------------------------
Summary: P2/Tycho BREE dynamic validation
Key: ERT-604
URL: https://issues.jboss.org/browse/ERT-604
Project: Eclipse Release Train
Issue Type: Feature Request
Reporter: Alexander Kurtakov
Currently P2 validates against a.jre.javase IU in which should be the latest known Java version. With new Java versions supposed to come every 6 months now we need it more dynamic as current way is too fragile and requires changes in multiple places to enable new Java version.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (JBDS-4658) JDK9 Certification - batch
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBDS-4658?page=com.atlassian.jira.plugin.... ]
Ondrej Dockal edited comment on JBDS-4658 at 2/12/18 2:56 PM:
--------------------------------------------------------------
I made some trials to build and run batch integration tests via maven using openjdk 9 and also with usage of tycho 1.1.0. Mixed solution from epic jira and solution provided by Nick. I have used java-9-openjdk-9.0.1.11-4.fc27.
Added this content to org.jboss.tools.batch.ui.bot.test/pom.xml and org.jboss.tools.batch.reddeer/pom.xml:
{code}
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>9</version>
<vendor>openjdk</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
</plugins>
</build>
{code}
Content of ~/.m2/toolchains.xml:
{code}
<?xml version="1.0" encoding="UTF8"?>
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<version>9</version>
<vendor>openjdk</vendor>
<id>CustomJRE</id>
</provides>
<configuration>
<jdkHome>/etc/alternatives/java_sdk_9/</jdkHome>
</configuration>
</toolchain>
</toolchains>
{code}
and finally Nick's solution, notice that there is missing jdeps profile, was not working with it:
{code}
cd jbosstools-integration-tests/tests/org.jboss.tools.batch.ui.bot.test/
alias mvn9='export JAVA_HOME=/etc/alternatives/java_sdk_9/ && /usr/share/maven/bin/mvn -V -Pjdk9 -U
mvn9 clean install -DskipTests=false -PITests,download-devstudio,all-tests -DdevstudioRepository=https://devstudio.redhat.com/11/staging/updates/ -DtychoVersion=1.1.0
{code}
was (Author: odockal):
I made some trials to build and run batch integration tests via maven using openjdk 9 and also with usage of tycho 1.1.0. Mixed solution from epic jira and solution provided by Nick. I have used java-9-openjdk-9.0.1.11-4.fc27.
Added this content to org.jboss.tools.batch.ui.bot.test/pom.xml and org.jboss.tools.batch.reddeer/pom.xml:
{code}
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>9</version>
<vendor>openjdk</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
</plugins>
</build>
{code}
Content of ~/.m2/toolchaing.xml:
{code}
<?xml version="1.0" encoding="UTF8"?>
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<version>9</version>
<vendor>openjdk</vendor>
<id>CustomJRE</id>
</provides>
<configuration>
<jdkHome>/etc/alternatives/java_sdk_9/</jdkHome>
</configuration>
</toolchain>
</toolchains>
{code}
and finally Nick's solution, notice that there is missing jdeps profile, was not working with it:
{code}
cd jbosstools-integration-tests/tests/org.jboss.tools.batch.ui.bot.test/
alias mvn9='export JAVA_HOME=/etc/alternatives/java_sdk_9/ && /usr/share/maven/bin/mvn -V -Pjdk9 -U
mvn9 clean install -DskipTests=false -PITests,download-devstudio,all-tests -DdevstudioRepository=https://devstudio.redhat.com/11/staging/updates/ -DtychoVersion=1.1.0
{code}
> JDK9 Certification - batch
> --------------------------
>
> Key: JBDS-4658
> URL: https://issues.jboss.org/browse/JBDS-4658
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Sub-task
> Components: batch
> Reporter: Pavol Srna
> Assignee: Ondrej Dockal
> Fix For: 11.2.0.GA
>
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (JBDS-4658) JDK9 Certification - batch
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBDS-4658?page=com.atlassian.jira.plugin.... ]
Ondrej Dockal edited comment on JBDS-4658 at 2/12/18 2:55 PM:
--------------------------------------------------------------
I made some trials to build and run batch integration tests via maven using openjdk 9 and also with usage of tycho 1.1.0. Mixed solution from epic jira and solution provided by Nick. I have used java-9-openjdk-9.0.1.11-4.fc27.
Added this content to org.jboss.tools.batch.ui.bot.test/pom.xml and org.jboss.tools.batch.reddeer/pom.xml:
{code}
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>9</version>
<vendor>openjdk</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
</plugins>
</build>
{code}
Content of ~/.m2/toolchaing.xml:
{code}
<?xml version="1.0" encoding="UTF8"?>
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<version>9</version>
<vendor>openjdk</vendor>
<id>CustomJRE</id>
</provides>
<configuration>
<jdkHome>/etc/alternatives/java_sdk_9/</jdkHome>
</configuration>
</toolchain>
</toolchains>
{code}
and finally Nick's solution, notice that there is missing jdeps profile, was not working with it:
{code}
cd jbosstools-integration-tests/tests/org.jboss.tools.batch.ui.bot.test/
alias mvn9='export JAVA_HOME=/etc/alternatives/java_sdk_9/ && /usr/share/maven/bin/mvn -V -Pjdk9 -U
mvn9 clean install -DskipTests=false -PITests,download-devstudio,all-tests -DdevstudioRepository=https://devstudio.redhat.com/11/staging/updates/ -DtychoVersion=1.1.0
{code}
was (Author: odockal):
I made some trials to build and run batch integration tests via maven using openjdk 9 and also with usage of tycho 1.1.0. Mixed solution from epic jira and solution provided by Nick. I have used java-9-openjdk-9.0.1.11-4.fc27.
Added this content to org.jboss.tools.batch.ui.bot.test/pom.xml and org.jboss.tools.batch.reddeer/pom.xml:
{code}
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>9</version>
<vendor>openjdk</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
</plugins>
</build>
{code}
Content of ~/.m2/toolchaing.xml:
{code}
<?xml version="1.0" encoding="UTF8"?>
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<version>9</version>
<vendor>openjdk</vendor>
<id>CustomJRE</id>
</provides>
<configuration>
<jdkHome>/etc/alternatives/java_sdk_9/</jdkHome>
</configuration>
</toolchain>
</toolchains>
{code}
and finally Nick's solution, notice that there is missing jdeps profile, was not working with it:
{code}
cd jbosstools-integration-tests/tests/org.jboss.tools.batch.ui.bot.test/
alias mvn9='export JAVA_HOME=/etc/alternatives/java_sdk_9/ && /usr/share/maven/bin/mvn -V -Pjdk9 -U
mvn9 clean install -DskipTests=false -PITests,download-devstudio,all-tests -DdevstudioRepository=https://devstudio.redhat.com/11/staging/updates/ -DtychoVersion=1.1.0
{code}
> JDK9 Certification - batch
> --------------------------
>
> Key: JBDS-4658
> URL: https://issues.jboss.org/browse/JBDS-4658
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Sub-task
> Components: batch
> Reporter: Pavol Srna
> Assignee: Ondrej Dockal
> Fix For: 11.2.0.GA
>
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (JBDS-4658) JDK9 Certification - batch
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBDS-4658?page=com.atlassian.jira.plugin.... ]
Ondrej Dockal commented on JBDS-4658:
-------------------------------------
I made some trials to build and run batch integration tests via maven using openjdk 9 and also with usage of tycho 1.1.0. Mixed solution from epic jira and solution provided by Nick. I have used java-9-openjdk-9.0.1.11-4.fc27.
Added this content to org.jboss.tools.batch.ui.bot.test/pom.xml and org.jboss.tools.batch.reddeer/pom.xml:
{code}
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>9</version>
<vendor>openjdk</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
</plugins>
</build>
{code}
Content of ~/.m2/toolchaing.xml:
{code}
<?xml version="1.0" encoding="UTF8"?>
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<version>9</version>
<vendor>openjdk</vendor>
<id>CustomJRE</id>
</provides>
<configuration>
<jdkHome>/etc/alternatives/java_sdk_9/</jdkHome>
</configuration>
</toolchain>
</toolchains>
{code}
and finally Nick's solution, notice that there is missing jdeps profile, was not working with it:
{code}
cd jbosstools-integration-tests/tests/org.jboss.tools.batch.ui.bot.test/
alias mvn9='export JAVA_HOME=/etc/alternatives/java_sdk_9/ && /usr/share/maven/bin/mvn -V -Pjdk9 -U
mvn9 clean install -DskipTests=false -PITests,download-devstudio,all-tests -DdevstudioRepository=https://devstudio.redhat.com/11/staging/updates/ -DtychoVersion=1.1.0
{code}
> JDK9 Certification - batch
> --------------------------
>
> Key: JBDS-4658
> URL: https://issues.jboss.org/browse/JBDS-4658
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Sub-task
> Components: batch
> Reporter: Pavol Srna
> Assignee: Ondrej Dockal
> Fix For: 11.2.0.GA
>
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (JBIDE-25703) OS connection wizard reports missing oc even though it is set for that workspace
by Ondrej Dockal (JIRA)
Ondrej Dockal created JBIDE-25703:
-------------------------------------
Summary: OS connection wizard reports missing oc even though it is set for that workspace
Key: JBIDE-25703
URL: https://issues.jboss.org/browse/JBIDE-25703
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.5.3.AM1
Environment: Win10
Reporter: Ondrej Dockal
Assignee: Andre Dietisheim
Fix For: 4.5.x
Attachments: OCvalidationInWorkspace.PNG
I managed to reproduce this on my windows 10 machine with hyperv, although, on another machine this was not reproducible. Please, try to reproduce first.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (JBIDE-25700) Hot deploy of Spring Boot on OpenShift is not working with OpenShift Online
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25700?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25700:
-------------------------------------
Labels: online springboot (was: )
> Hot deploy of Spring Boot on OpenShift is not working with OpenShift Online
> ---------------------------------------------------------------------------
>
> Key: JBIDE-25700
> URL: https://issues.jboss.org/browse/JBIDE-25700
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.2.Final
> Reporter: Aurélien Pupier
> Priority: Critical
> Labels: online, springboot
>
> neither with open.paas.redhat.com
> so only when using the CDK.
> it seems to be due to the fact that the user in the pod are not the same.
> Jeff said:
> {quote}
> For SpringBoot deployments, the application file is called a fat jar and it placed in the /deployments folder (images are upstream fabric8/s2i-java or imagestream redhat-openjdk18-openshift). In order to get live update the file is then unzipped to the /deployments folder leaded to new sub folders BOOT-INF and META-INF
> The user permissions on those folders are the following:
> /deployments: writable by user jboss and group root
> /deployments/BOOT-INF: writable by user jboss readable only by group root
> /deployments/META-INF: writable by user jboss readable only by group root
> The rsync process with create some sub folders under /deployments/BOOT-INF. The problem that we have is that the user that is assigned for the rsync operation (or when you open a terminal in the OpenShift console) is not jboss (as opposed to Minishift/CDK) and thus we have permissions errors during the rsync operation.
> {quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (JBDS-4672) CDK install fail on Windows when username contains space
by Jan Richter (JIRA)
[ https://issues.jboss.org/browse/JBDS-4672?page=com.atlassian.jira.plugin.... ]
Jan Richter closed JBDS-4672.
-----------------------------
Thanks [~aurelien.pupier] for the fix. In the furute, please open issues for devsuite installer directly on github.
> CDK install fail on Windows when username contains space
> --------------------------------------------------------
>
> Key: JBDS-4672
> URL: https://issues.jboss.org/browse/JBDS-4672
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: installer
> Reporter: Aurélien Pupier
> Fix For: 11.3.0.AM1
>
> Attachments: image-2018-01-30-12-39-32-943.png
>
>
> my username is _Aurelien Pupier_
> {noformat}
> Tue, 30 Jan 2018 10:33:19 GMT-ERROR: cdk - Error: Command failed: net localgroup "Hyper-V Administrators" %USERDOMAIN%\%USERNAME% /add
> There is no such global user or group: DESKTOP-9NT300B\Aurelien.
> There is no such global user or group: Pupier.
> More help is available by typing NET HELPMSG 3783.
> Tue, 30 Jan 2018 10:33:19 GMT-ERROR: cdk - There is no such global user or group: DESKTOP-9NT300B\Aurelien.
> There is no such global user or group: Pupier.
> More help is available by typing NET HELPMSG 3783.
> {noformat}
> !image-2018-01-30-12-39-32-943.png|thumbnail!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years