[jbosstools-issues] [JBoss JIRA] (JBIDE-17095) Cannot create 2 launchers for one test with different maven profiles selected

Snjezana Peco (JIRA) issues at jboss.org
Tue May 20 09:54:56 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969067#comment-12969067 ] 

Snjezana Peco commented on JBIDE-17095:
---------------------------------------

The dialog appears only in the case arquillian tests can't run (there isn't an arquillian container on the classpath, for instance). The issue is never related to a launch configuration, but to a project. The dialog helps a user to solve such issues. It already includes buttons to which a user can add a profile(s) and/or change a default profile. A profile isn't a property of a launch configuration, but of a project.

The Run As>Arquillian JUnit Test action works as follows:

- in the case it can't be found a suitable launch configuration, the action will create a new one
- if there is already a suitable launch configuration, it won't be changed, i.e., it is readonly

The standard JUnit launch configuration works that way. It also contains a dialog to change the classpath of a project when the project doesn't contain the required JUnit libraries. That dialog also changes the project, not a launch configuration. 
Our action uses the JUnit launch configuration and creates a dialog similar to that dialog.

> Cannot create 2 launchers for one test with different maven profiles selected
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-17095
>                 URL: https://issues.jboss.org/browse/JBIDE-17095
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: testing-tools
>    Affects Versions: 4.2.0.Beta1
>            Reporter: Lucia Jelinkova
>            Assignee: Snjezana Peco
>            Priority: Critical
>             Fix For: 4.2.0.Beta2
>
>
> I want to create 2 launchers to run the same test but with different maven profiles selected. Currently, when I select the profile on one launcher the second is changed too. 



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list