JaroslavTulach commented on a change in pull request #2386:
URL: https://github.com/apache/netbeans/pull/2386#discussion_r491976427



##########
File path: 
java/maven/src/org/netbeans/modules/maven/spi/actions/AbstractMavenActionsProvider.java
##########
@@ -88,6 +88,10 @@ public AbstractMavenActionsProvider() {
             files.add(method.getFile());
         }
 
+        if (files.isEmpty()) {

Review comment:
       Ant projects honor `FileObject` as a selection in the `Lookup`, but 
Maven projects didn't. After this change they will use `FileObject` (if no 
`DataObject` is found) as the indentification of main file to execute.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to