[JBoss JIRA] (JBIDE-22679) Run integration-test against source (rather than package)
by Rastislav Wagner (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22679?page=com.atlassian.jira.plugi... ]
Rastislav Wagner commented on JBIDE-22679:
------------------------------------------
Second option works.
This is tycho-surefire-plugin configuration
{code}
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<work>${test.installPath}</work>
<product>com.jboss.devstudio.core.product</product>
</configuration>
{code}
then tycho-platform-configuration
{code}
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<dependency-resolution>
<extraRequirements>
<requirement>
<type>p2-installable-unit</type>
<id>org.jboss.tools.cdi.feature.feature.group</id>
<versionRange>0.0.0</versionRange>
</requirement>
</extraRequrements>
</dependency-resolution>
</configuration>
{code}
And tycho runs installed Devstudio with CDI feature which I locally built.
> Run integration-test against source (rather than package)
> ---------------------------------------------------------
>
> Key: JBIDE-22679
> URL: https://issues.jboss.org/browse/JBIDE-22679
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: build, qa
> Reporter: Mickael Istria
> Assignee: Rastislav Wagner
>
> Currently, integration-tests run against a prepared package (of Developer Studio). In order to more easily run those tests locally or as part of the development process, it would be nice to also have them running directly against source code of the component.
> Tycho provide a mechanism to provision the application under test according to existing definition: https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t... , or maybe even by simply making Developer Studio part of the test target-platform and define it as the application/produce under test: https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
7 years, 10 months
[JBoss JIRA] (JBIDE-22639) Server Adapter Editor: Opening an Openshift3 server adapter when connection does not exists anymore causes NPE
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22639?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-22639:
-------------------------------------
Summary: Server Adapter Editor: Opening an Openshift3 server adapter when connection does not exists anymore causes NPE (was: Opening an Openshift3 server adapter when connection does not exists anymore causes NPE)
> Server Adapter Editor: Opening an Openshift3 server adapter when connection does not exists anymore causes NPE
> --------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-22639
> URL: https://issues.jboss.org/browse/JBIDE-22639
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift, server
> Affects Versions: 4.4.0.Final
> Reporter: Jeff MAURY
> Assignee: Andre Dietisheim
> Labels: server_adapter_editor
> Fix For: 4.4.1.AM2
>
> Attachments: non-existent-workspace-reference.png, screenshot-1.png
>
>
> ASSERT: create an Openshift3 connection
> ASSERT: create a server adapter from that connection
> ASSERT: delete the Openshift3 connection
> EXEC: open the server adapter
> ASSERT: NPE is thrown and dialog is displayed (see [^screenshot-1.png])
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
7 years, 10 months
[JBoss JIRA] (JBIDE-22639) Opening an Openshift3 server adapter when connection does not exists anymore causes NPE
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22639?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-22639:
-------------------------------------
Labels: server_adapter_editor (was: )
> Opening an Openshift3 server adapter when connection does not exists anymore causes NPE
> ---------------------------------------------------------------------------------------
>
> Key: JBIDE-22639
> URL: https://issues.jboss.org/browse/JBIDE-22639
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift, server
> Affects Versions: 4.4.0.Final
> Reporter: Jeff MAURY
> Assignee: Andre Dietisheim
> Labels: server_adapter_editor
> Fix For: 4.4.1.AM2
>
> Attachments: non-existent-workspace-reference.png, screenshot-1.png
>
>
> ASSERT: create an Openshift3 connection
> ASSERT: create a server adapter from that connection
> ASSERT: delete the Openshift3 connection
> EXEC: open the server adapter
> ASSERT: NPE is thrown and dialog is displayed (see [^screenshot-1.png])
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
7 years, 10 months
[JBoss JIRA] (JBIDE-22639) Opening an Openshift3 server adapter when connection does not exists anymore causes NPE
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22639?page=com.atlassian.jira.plugi... ]
Andre Dietisheim reassigned JBIDE-22639:
----------------------------------------
Assignee: Andre Dietisheim
> Opening an Openshift3 server adapter when connection does not exists anymore causes NPE
> ---------------------------------------------------------------------------------------
>
> Key: JBIDE-22639
> URL: https://issues.jboss.org/browse/JBIDE-22639
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift, server
> Affects Versions: 4.4.0.Final
> Reporter: Jeff MAURY
> Assignee: Andre Dietisheim
> Labels: server_adapter_editor
> Fix For: 4.4.1.AM2
>
> Attachments: non-existent-workspace-reference.png, screenshot-1.png
>
>
> ASSERT: create an Openshift3 connection
> ASSERT: create a server adapter from that connection
> ASSERT: delete the Openshift3 connection
> EXEC: open the server adapter
> ASSERT: NPE is thrown and dialog is displayed (see [^screenshot-1.png])
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
7 years, 10 months
[JBoss JIRA] (JBIDE-22679) Run integration-test against source (rather than package)
by Rastislav Wagner (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22679?page=com.atlassian.jira.plugi... ]
Rastislav Wagner edited comment on JBIDE-22679 at 6/30/16 9:31 AM:
-------------------------------------------------------------------
Installation in general works (tried on Eclipse Neon R Java EE). But we would have to maintain all dependencies from jboss tools required by our integration-tests. I would like to avoid this.
[~mickael_istria] Would it be possible to make some changes to devstudio to be able to upgrade just one of its features not all ?
[~mickael_istria] Ok, thanks, you responded while i was writing this comment :)
was (Author: rawagner):
Installation in general works (tried on Eclipse Neon R Java EE). But we would have to maintain all dependencies from jboss tools required by our integration-tests. I would like to avoid this.
[~mickael_istria] Would it be possible to make some changes to devstudio to be able to upgrade just one of its features not all ?
> Run integration-test against source (rather than package)
> ---------------------------------------------------------
>
> Key: JBIDE-22679
> URL: https://issues.jboss.org/browse/JBIDE-22679
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: build, qa
> Reporter: Mickael Istria
> Assignee: Rastislav Wagner
>
> Currently, integration-tests run against a prepared package (of Developer Studio). In order to more easily run those tests locally or as part of the development process, it would be nice to also have them running directly against source code of the component.
> Tycho provide a mechanism to provision the application under test according to existing definition: https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t... , or maybe even by simply making Developer Studio part of the test target-platform and define it as the application/produce under test: https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
7 years, 10 months
[JBoss JIRA] (JBIDE-22679) Run integration-test against source (rather than package)
by Rastislav Wagner (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22679?page=com.atlassian.jira.plugi... ]
Rastislav Wagner edited comment on JBIDE-22679 at 6/30/16 9:25 AM:
-------------------------------------------------------------------
I tied https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t... but it doesnt work with devstudio. I cant just update just one feature (you can even try it manually)
{code}
[INFO] Installing IUs [org.jboss.tools.cdi.bot.test, org.eclipse.tycho.surefire.osgibooter, org.eclipse.tycho.surefire.junit4, org.jboss.tools.cdi.feature.feature.group] to /home/rawagner/files/RedHat/tmp/devstudio/studio
Installing org.jboss.tools.cdi.bot.test 4.4.1.v20160630-1324.
Installing org.eclipse.tycho.surefire.osgibooter 0.25.0.
Installing org.eclipse.tycho.surefire.junit4 0.25.0.
Installing org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1250.
Installation failed.
Cannot complete the install because of a conflicting dependency.
Software being installed: Contexts and Dependency Injection Tools 1.8.1.v20160630-1250 (org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1250)
Software currently installed: Red Hat JBoss Developer Studio (Branded Product) 10.0.1.GA-v20160617-2139-B5597 (com.jboss.devstudio.core.package 10.0.1.GA-v20160617-2139-B5597)
Only one of the following can be installed at once:
Contexts and Dependency Injection Core 1.8.1.v20160625-0022 (org.jboss.tools.cdi.core 1.8.1.v20160625-0022)
Contexts and Dependency Injection Core 1.8.1.Final-v20160608-0404-B992 (org.jboss.tools.cdi.core 1.8.1.Final-v20160608-0404-B992)
Cannot satisfy dependency:
From: Red Hat JBoss Developer Studio (Core Features) 10.0.1.GA-v20160617-2139-B5597 (com.jboss.devstudio.core.feature.feature.group 10.0.1.GA-v20160617-2139-B5597)
To: org.jboss.tools.cdi.feature.feature.group [1.8.1.Final-v20160608-0404-B992]
Cannot satisfy dependency:
From: Red Hat JBoss Developer Studio (Branded Product) 10.0.1.GA-v20160617-2139-B5597 (com.jboss.devstudio.core.package 10.0.1.GA-v20160617-2139-B5597)
To: com.jboss.devstudio.core.feature.feature.group [10.0.1.GA-v20160617-2139-B5597]
Cannot satisfy dependency:
From: Contexts and Dependency Injection Tools 1.8.1.Final-v20160608-0404-B992 (org.jboss.tools.cdi.feature.feature.group 1.8.1.Final-v20160608-0404-B992)
To: org.jboss.tools.cdi.core [1.8.1.Final-v20160608-0404-B992]
Cannot satisfy dependency:
From: Contexts and Dependency Injection Tools 1.8.1.v20160630-1250 (org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1250)
To: org.jboss.tools.cdi.core [1.8.1.v20160625-0022]
{code}
was (Author: rawagner):
I tied https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t... but it doesnt work with devstudio. I cant just update just one feature (you can even try it manually)
{code}
Your original request has been modified.
"Contexts and Dependency Injection Tools" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: Contexts and Dependency Injection Tools 1.8.1.v20160630-1305 (org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1305)
Software currently installed: Red Hat JBoss Developer Studio (Branded Product) 10.0.0.GA-v20160615-1853-B33 (com.jboss.devstudio.core.package 10.0.0.GA-v20160615-1853-B33)
Only one of the following can be installed at once:
Contexts and Dependency Injection Core 1.8.1.v20160625-0022 (org.jboss.tools.cdi.core 1.8.1.v20160625-0022)
Contexts and Dependency Injection Core 1.8.0.Final-v20160610-0126-B1 (org.jboss.tools.cdi.core 1.8.0.Final-v20160610-0126-B1)
Cannot satisfy dependency:
From: Red Hat JBoss Developer Studio (Core Features) 10.0.0.GA-v20160615-1853-B33 (com.jboss.devstudio.core.feature.feature.group 10.0.0.GA-v20160615-1853-B33)
To: org.jboss.tools.cdi.feature.feature.group [1.8.0.Final-v20160610-0126-B1]
Cannot satisfy dependency:
From: Red Hat JBoss Developer Studio (Branded Product) 10.0.0.GA-v20160615-1853-B33 (com.jboss.devstudio.core.package 10.0.0.GA-v20160615-1853-B33)
To: com.jboss.devstudio.core.feature.feature.group [10.0.0.GA-v20160615-1853-B33]
Cannot satisfy dependency:
From: Contexts and Dependency Injection Tools 1.8.0.Final-v20160610-0126-B1 (org.jboss.tools.cdi.feature.feature.group 1.8.0.Final-v20160610-0126-B1)
To: org.jboss.tools.cdi.core [1.8.0.Final-v20160610-0126-B1]
Cannot satisfy dependency:
From: Contexts and Dependency Injection Tools 1.8.1.v20160630-1305 (org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1305)
To: org.jboss.tools.cdi.core [1.8.1.v20160625-0022]
{code}
> Run integration-test against source (rather than package)
> ---------------------------------------------------------
>
> Key: JBIDE-22679
> URL: https://issues.jboss.org/browse/JBIDE-22679
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: build, qa
> Reporter: Mickael Istria
> Assignee: Rastislav Wagner
>
> Currently, integration-tests run against a prepared package (of Developer Studio). In order to more easily run those tests locally or as part of the development process, it would be nice to also have them running directly against source code of the component.
> Tycho provide a mechanism to provision the application under test according to existing definition: https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t... , or maybe even by simply making Developer Studio part of the test target-platform and define it as the application/produce under test: https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
7 years, 10 months
[JBoss JIRA] (JBIDE-22679) Run integration-test against source (rather than package)
by Rastislav Wagner (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22679?page=com.atlassian.jira.plugi... ]
Rastislav Wagner edited comment on JBIDE-22679 at 6/30/16 9:25 AM:
-------------------------------------------------------------------
I tied https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t... but it doesnt work with devstudio. I cant just update just one feature (you can even try it manually and it doesnt work)
{code}
[INFO] Installing IUs [org.jboss.tools.cdi.bot.test, org.eclipse.tycho.surefire.osgibooter, org.eclipse.tycho.surefire.junit4, org.jboss.tools.cdi.feature.feature.group] to /home/rawagner/files/RedHat/tmp/devstudio/studio
Installing org.jboss.tools.cdi.bot.test 4.4.1.v20160630-1324.
Installing org.eclipse.tycho.surefire.osgibooter 0.25.0.
Installing org.eclipse.tycho.surefire.junit4 0.25.0.
Installing org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1250.
Installation failed.
Cannot complete the install because of a conflicting dependency.
Software being installed: Contexts and Dependency Injection Tools 1.8.1.v20160630-1250 (org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1250)
Software currently installed: Red Hat JBoss Developer Studio (Branded Product) 10.0.1.GA-v20160617-2139-B5597 (com.jboss.devstudio.core.package 10.0.1.GA-v20160617-2139-B5597)
Only one of the following can be installed at once:
Contexts and Dependency Injection Core 1.8.1.v20160625-0022 (org.jboss.tools.cdi.core 1.8.1.v20160625-0022)
Contexts and Dependency Injection Core 1.8.1.Final-v20160608-0404-B992 (org.jboss.tools.cdi.core 1.8.1.Final-v20160608-0404-B992)
Cannot satisfy dependency:
From: Red Hat JBoss Developer Studio (Core Features) 10.0.1.GA-v20160617-2139-B5597 (com.jboss.devstudio.core.feature.feature.group 10.0.1.GA-v20160617-2139-B5597)
To: org.jboss.tools.cdi.feature.feature.group [1.8.1.Final-v20160608-0404-B992]
Cannot satisfy dependency:
From: Red Hat JBoss Developer Studio (Branded Product) 10.0.1.GA-v20160617-2139-B5597 (com.jboss.devstudio.core.package 10.0.1.GA-v20160617-2139-B5597)
To: com.jboss.devstudio.core.feature.feature.group [10.0.1.GA-v20160617-2139-B5597]
Cannot satisfy dependency:
From: Contexts and Dependency Injection Tools 1.8.1.Final-v20160608-0404-B992 (org.jboss.tools.cdi.feature.feature.group 1.8.1.Final-v20160608-0404-B992)
To: org.jboss.tools.cdi.core [1.8.1.Final-v20160608-0404-B992]
Cannot satisfy dependency:
From: Contexts and Dependency Injection Tools 1.8.1.v20160630-1250 (org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1250)
To: org.jboss.tools.cdi.core [1.8.1.v20160625-0022]
{code}
was (Author: rawagner):
I tied https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t... but it doesnt work with devstudio. I cant just update just one feature (you can even try it manually)
{code}
[INFO] Installing IUs [org.jboss.tools.cdi.bot.test, org.eclipse.tycho.surefire.osgibooter, org.eclipse.tycho.surefire.junit4, org.jboss.tools.cdi.feature.feature.group] to /home/rawagner/files/RedHat/tmp/devstudio/studio
Installing org.jboss.tools.cdi.bot.test 4.4.1.v20160630-1324.
Installing org.eclipse.tycho.surefire.osgibooter 0.25.0.
Installing org.eclipse.tycho.surefire.junit4 0.25.0.
Installing org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1250.
Installation failed.
Cannot complete the install because of a conflicting dependency.
Software being installed: Contexts and Dependency Injection Tools 1.8.1.v20160630-1250 (org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1250)
Software currently installed: Red Hat JBoss Developer Studio (Branded Product) 10.0.1.GA-v20160617-2139-B5597 (com.jboss.devstudio.core.package 10.0.1.GA-v20160617-2139-B5597)
Only one of the following can be installed at once:
Contexts and Dependency Injection Core 1.8.1.v20160625-0022 (org.jboss.tools.cdi.core 1.8.1.v20160625-0022)
Contexts and Dependency Injection Core 1.8.1.Final-v20160608-0404-B992 (org.jboss.tools.cdi.core 1.8.1.Final-v20160608-0404-B992)
Cannot satisfy dependency:
From: Red Hat JBoss Developer Studio (Core Features) 10.0.1.GA-v20160617-2139-B5597 (com.jboss.devstudio.core.feature.feature.group 10.0.1.GA-v20160617-2139-B5597)
To: org.jboss.tools.cdi.feature.feature.group [1.8.1.Final-v20160608-0404-B992]
Cannot satisfy dependency:
From: Red Hat JBoss Developer Studio (Branded Product) 10.0.1.GA-v20160617-2139-B5597 (com.jboss.devstudio.core.package 10.0.1.GA-v20160617-2139-B5597)
To: com.jboss.devstudio.core.feature.feature.group [10.0.1.GA-v20160617-2139-B5597]
Cannot satisfy dependency:
From: Contexts and Dependency Injection Tools 1.8.1.Final-v20160608-0404-B992 (org.jboss.tools.cdi.feature.feature.group 1.8.1.Final-v20160608-0404-B992)
To: org.jboss.tools.cdi.core [1.8.1.Final-v20160608-0404-B992]
Cannot satisfy dependency:
From: Contexts and Dependency Injection Tools 1.8.1.v20160630-1250 (org.jboss.tools.cdi.feature.feature.group 1.8.1.v20160630-1250)
To: org.jboss.tools.cdi.core [1.8.1.v20160625-0022]
{code}
> Run integration-test against source (rather than package)
> ---------------------------------------------------------
>
> Key: JBIDE-22679
> URL: https://issues.jboss.org/browse/JBIDE-22679
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: build, qa
> Reporter: Mickael Istria
> Assignee: Rastislav Wagner
>
> Currently, integration-tests run against a prepared package (of Developer Studio). In order to more easily run those tests locally or as part of the development process, it would be nice to also have them running directly against source code of the component.
> Tycho provide a mechanism to provision the application under test according to existing definition: https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t... , or maybe even by simply making Developer Studio part of the test target-platform and define it as the application/produce under test: https://eclipse.org/tycho/sitedocs/tycho-surefire/tycho-surefire-plugin/t...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
7 years, 10 months