This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 2de3370  Fixed typo: runSingle presence depends on runClassName 
property.
2de3370 is described below

commit 2de3370040ec4ea3ebe8e6c0510ba7de239a8cf8
Author: Svata Dedic <svatopluk.de...@oracle.com>
AuthorDate: Fri Nov 26 13:33:49 2021 +0100

    Fixed typo: runSingle presence depends on runClassName property.
---
 .../org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java
 
b/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java
index c112a09..5663c01 100644
--- 
a/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java
+++ 
b/extide/gradle/netbeans-gradle-tooling/src/main/java/org/netbeans/modules/gradle/tooling/NetBeansRunSinglePlugin.java
@@ -44,7 +44,7 @@ class NetBeansRunSinglePlugin implements Plugin<Project> {
         project.afterEvaluate(p -> {
             if (p.getPlugins().hasPlugin("java") 
                     && (project.getTasks().findByPath(RUN_SINGLE_TASK) == null)
-                    && project.hasProperty(RUN_SINGLE_CWD)){
+                    && project.hasProperty(RUN_SINGLE_MAIN)){
                 addTask(p);
             }
             if(p.hasProperty(RUN_SINGLE_JVM_ARGS)) {

---------------------------------------------------------------------
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

Reply via email to