[jira] [Commented] (NETBEANS-2802) Netbeans doesn't work correctly with integration tests when there is a module-info

2019-07-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879180#comment-16879180
 ] 

Geertjan Wielenga commented on NETBEANS-2802:
-

Note there have been some discussions and probably similar issues on this 
point, e.g.:

https://lists.apache.org/thread.html/a0cffd22f283958c9f1bbd833cc0e12915d9d15bf821b28a0e99d630@%3Cusers.netbeans.apache.org%3E

> Netbeans doesn't work correctly with integration tests when there is a 
> module-info
> --
>
> Key: NETBEANS-2802
> URL: https://issues.apache.org/jira/browse/NETBEANS-2802
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2019-07-05 14-13-19.png, Screenshot from 
> 2019-07-05 14-16-25.png, netbeansit.zip
>
>
> I use NB 11.0 and I work on JPMS module with integrations tests. My folder 
> structure is like
> this:
> {code:java}
> |-- pom.xml
>  `-- src
> |-- it
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMaskIT.java
> |-- main
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMask.java
> `-- test
> `-- java
> `-- com
> `-- soebes
> `-- maui
> `-- it
> `-- BitMaskTest.java
> {code}
> The problem is NB wants JUnit modules for integrations tests to be declared 
> in module-info. Otherwise it shows errors. At the same time code all 
> execution tests are compiled and run without problems. Besides there are 
> problems with classes dependencies in integrations tests, for example, code 
> complete doesn't work at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2802) Netbeans doesn't work correctly with integration tests when there is a module-info

2019-07-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879177#comment-16879177
 ] 

Geertjan Wielenga commented on NETBEANS-2802:
-

Great, so that's what was needed to be stated -- you have JPMS and JUnit 
working outside NetBeans. Now, since we know that the combination works, we 
need to get it to work correctly in NetBeans too.

> Netbeans doesn't work correctly with integration tests when there is a 
> module-info
> --
>
> Key: NETBEANS-2802
> URL: https://issues.apache.org/jira/browse/NETBEANS-2802
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2019-07-05 14-13-19.png, Screenshot from 
> 2019-07-05 14-16-25.png, netbeansit.zip
>
>
> I use NB 11.0 and I work on JPMS module with integrations tests. My folder 
> structure is like
> this:
> {code:java}
> |-- pom.xml
>  `-- src
> |-- it
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMaskIT.java
> |-- main
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMask.java
> `-- test
> `-- java
> `-- com
> `-- soebes
> `-- maui
> `-- it
> `-- BitMaskTest.java
> {code}
> The problem is NB wants JUnit modules for integrations tests to be declared 
> in module-info. Otherwise it shows errors. At the same time code all 
> execution tests are compiled and run without problems. Besides there are 
> problems with classes dependencies in integrations tests, for example, code 
> complete doesn't work at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2802) Netbeans doesn't work correctly with integration tests when there is a module-info

2019-07-05 Thread Pavel_K (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879174#comment-16879174
 ] 

Pavel_K commented on NETBEANS-2802:
---

[~GeertjanWielenga] I am sorry, but I think that is a wrong direction. Build 
the project in default profile "mvn clean install" - unit tests ere executed, 
no error. Build the project in it profile - "mvn clean install -P it" - 
integrations tests are executed, no error. Maven + Junit + JPMS work without 
problems. The problem is in NetBeans and in its dependency graph.

> Netbeans doesn't work correctly with integration tests when there is a 
> module-info
> --
>
> Key: NETBEANS-2802
> URL: https://issues.apache.org/jira/browse/NETBEANS-2802
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2019-07-05 14-13-19.png, Screenshot from 
> 2019-07-05 14-16-25.png, netbeansit.zip
>
>
> I use NB 11.0 and I work on JPMS module with integrations tests. My folder 
> structure is like
> this:
> {code:java}
> |-- pom.xml
>  `-- src
> |-- it
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMaskIT.java
> |-- main
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMask.java
> `-- test
> `-- java
> `-- com
> `-- soebes
> `-- maui
> `-- it
> `-- BitMaskTest.java
> {code}
> The problem is NB wants JUnit modules for integrations tests to be declared 
> in module-info. Otherwise it shows errors. At the same time code all 
> execution tests are compiled and run without problems. Besides there are 
> problems with classes dependencies in integrations tests, for example, code 
> complete doesn't work at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2802) Netbeans doesn't work correctly with integration tests when there is a module-info

2019-07-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879160#comment-16879160
 ] 

Geertjan Wielenga commented on NETBEANS-2802:
-

We are not going to be able to work on this until we know how JPMS and JUnit 
should work together. How do they work together outside NetBeans?

> Netbeans doesn't work correctly with integration tests when there is a 
> module-info
> --
>
> Key: NETBEANS-2802
> URL: https://issues.apache.org/jira/browse/NETBEANS-2802
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2019-07-05 14-13-19.png, Screenshot from 
> 2019-07-05 14-16-25.png, netbeansit.zip
>
>
> I use NB 11.0 and I work on JPMS module with integrations tests. My folder 
> structure is like
> this:
> {code:java}
> |-- pom.xml
>  `-- src
> |-- it
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMaskIT.java
> |-- main
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMask.java
> `-- test
> `-- java
> `-- com
> `-- soebes
> `-- maui
> `-- it
> `-- BitMaskTest.java
> {code}
> The problem is NB wants JUnit modules for integrations tests to be declared 
> in module-info. Otherwise it shows errors. At the same time code all 
> execution tests are compiled and run without problems. Besides there are 
> problems with classes dependencies in integrations tests, for example, code 
> complete doesn't work at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2802) Netbeans doesn't work correctly with integration tests when there is a module-info

2019-07-05 Thread Pavel_K (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879159#comment-16879159
 ] 

Pavel_K commented on NETBEANS-2802:
---

[~GeertjanWielenga] Please, see my screenshots. The question is not about junit 
+ jpms but about jpms+netbeans

> Netbeans doesn't work correctly with integration tests when there is a 
> module-info
> --
>
> Key: NETBEANS-2802
> URL: https://issues.apache.org/jira/browse/NETBEANS-2802
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2019-07-05 14-13-19.png, Screenshot from 
> 2019-07-05 14-16-25.png, netbeansit.zip
>
>
> I use NB 11.0 and I work on JPMS module with integrations tests. My folder 
> structure is like
> this:
> {code:java}
> |-- pom.xml
>  `-- src
> |-- it
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMaskIT.java
> |-- main
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMask.java
> `-- test
> `-- java
> `-- com
> `-- soebes
> `-- maui
> `-- it
> `-- BitMaskTest.java
> {code}
> The problem is NB wants JUnit modules for integrations tests to be declared 
> in module-info. Otherwise it shows errors. At the same time code all 
> execution tests are compiled and run without problems. Besides there are 
> problems with classes dependencies in integrations tests, for example, code 
> complete doesn't work at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2802) Netbeans doesn't work correctly with integration tests when there is a module-info

2019-07-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879153#comment-16879153
 ] 

Geertjan Wielenga commented on NETBEANS-2802:
-

You don't need to be a NetBeans specialist, that's the point here: this is not 
about NetBeans. The question is how do JPMS and JUnit work together outside 
NetBeans? Do they work together, at all? Is there integration between JPMS and 
JUnit? If not, then NetBeans cannot support it either.

> Netbeans doesn't work correctly with integration tests when there is a 
> module-info
> --
>
> Key: NETBEANS-2802
> URL: https://issues.apache.org/jira/browse/NETBEANS-2802
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2019-07-05 14-13-19.png, Screenshot from 
> 2019-07-05 14-16-25.png, netbeansit.zip
>
>
> I use NB 11.0 and I work on JPMS module with integrations tests. My folder 
> structure is like
> this:
> {code:java}
> |-- pom.xml
>  `-- src
> |-- it
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMaskIT.java
> |-- main
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMask.java
> `-- test
> `-- java
> `-- com
> `-- soebes
> `-- maui
> `-- it
> `-- BitMaskTest.java
> {code}
> The problem is NB wants JUnit modules for integrations tests to be declared 
> in module-info. Otherwise it shows errors. At the same time code all 
> execution tests are compiled and run without problems. Besides there are 
> problems with classes dependencies in integrations tests, for example, code 
> complete doesn't work at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2802) Netbeans doesn't work correctly with integration tests when there is a module-info

2019-07-05 Thread Pavel_K (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879152#comment-16879152
 ] 

Pavel_K commented on NETBEANS-2802:
---

[~GeertjanWielenga] Unfortunately I can't answer you as I am not a NetBeans 
specialist. I cleared NetBeans cache but anyway get errors in integration tests 
- it doesn't require junit now, but it still has problems with dependencies. 1) 
I uploaded the project and screenshot 2) see this message 
http://mail-archives.apache.org/mod_mbox/netbeans-users/201907.mbox/%3cCAAhsp-FqP+KSPFHv8PML-4-QijCwwa+p2Enc_=zwg-sxkbk...@mail.gmail.com%3e
 

> Netbeans doesn't work correctly with integration tests when there is a 
> module-info
> --
>
> Key: NETBEANS-2802
> URL: https://issues.apache.org/jira/browse/NETBEANS-2802
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2019-07-05 14-13-19.png, netbeansit.zip
>
>
> I use NB 11.0 and I work on JPMS module with integrations tests. My folder 
> structure is like
> this:
> {code:java}
> |-- pom.xml
>  `-- src
> |-- it
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMaskIT.java
> |-- main
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMask.java
> `-- test
> `-- java
> `-- com
> `-- soebes
> `-- maui
> `-- it
> `-- BitMaskTest.java
> {code}
> The problem is NB wants JUnit modules for integrations tests to be declared 
> in module-info. Otherwise it shows errors. At the same time code all 
> execution tests are compiled and run without problems. Besides there are 
> problems with classes dependencies in integrations tests, for example, code 
> complete doesn't work at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2802) Netbeans doesn't work correctly with integration tests when there is a module-info

2019-07-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879150#comment-16879150
 ] 

Geertjan Wielenga commented on NETBEANS-2802:
-

Probably the question you'll be getting repeatedly in this issue is: how does 
JPMS work with JUnit? Only once you have the answer to that, we can see how 
that should work in NetBeans.

> Netbeans doesn't work correctly with integration tests when there is a 
> module-info
> --
>
> Key: NETBEANS-2802
> URL: https://issues.apache.org/jira/browse/NETBEANS-2802
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
> Attachments: Screenshot from 2019-07-05 14-13-19.png, netbeansit.zip
>
>
> I use NB 11.0 and I work on JPMS module with integrations tests. My folder 
> structure is like
> this:
> {code:java}
> |-- pom.xml
>  `-- src
> |-- it
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMaskIT.java
> |-- main
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMask.java
> `-- test
> `-- java
> `-- com
> `-- soebes
> `-- maui
> `-- it
> `-- BitMaskTest.java
> {code}
> The problem is NB wants JUnit modules for integrations tests to be declared 
> in module-info. Otherwise it shows errors. At the same time code all 
> execution tests are compiled and run without problems. Besides there are 
> problems with classes dependencies in integrations tests, for example, code 
> complete doesn't work at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2802) Netbeans doesn't work correctly with integration tests when there is a module-info

2019-07-05 Thread Geertjan Wielenga (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879125#comment-16879125
 ] 

Geertjan Wielenga commented on NETBEANS-2802:
-

How would this be done without NetBeans, i.e., NetBeans is a tool on top of 
Java, JPMS, Junit, etc. I.e., is it that NetBeans wants JUnit to be declared in 
module-info or is it that JPMS wants that?

> Netbeans doesn't work correctly with integration tests when there is a 
> module-info
> --
>
> Key: NETBEANS-2802
> URL: https://issues.apache.org/jira/browse/NETBEANS-2802
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Pavel_K
>Priority: Major
>
> I use NB 11.0 and I work on JPMS module with integrations tests. My folder 
> structure is like
> this:
> {code:java}
> |-- pom.xml
>  `-- src
> |-- it
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMaskIT.java
> |-- main
> |   `-- java
> |   `-- com
> |   `-- soebes
> |   `-- maui
> |   `-- it
> |   `-- BitMask.java
> `-- test
> `-- java
> `-- com
> `-- soebes
> `-- maui
> `-- it
> `-- BitMaskTest.java
> {code}
> The problem is NB wants JUnit modules for integrations tests to be declared 
> in module-info. Otherwise it shows errors. At the same time code all 
> execution tests are compiled and run without problems. Besides there are 
> problems with classes dependencies in integrations tests, for example, code 
> complete doesn't work at all.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists