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

matthiasblaesing 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 b700931  [NETBEANS-5373] Fixed compatibility with Phing 3
     new bc15245  Merge pull request #2776 from 
KacerCZ/netbeans-5373-phing3-compatibility
b700931 is described below

commit b700931d78c6d3f4cc955e958a436935c3dafaf7
Author: Tomas Prochazka <ka...@razdva.cz>
AuthorDate: Mon Feb 22 22:17:03 2021 +0100

    [NETBEANS-5373] Fixed compatibility with Phing 3
    
    https://issues.apache.org/jira/browse/NETBEANS-5373
    
    Removed parameter `-logger` because its value is incompatible with Phing 3.
---
 .../src/org/netbeans/modules/php/phing/exec/PhingExecutable.java   | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git 
a/php/php.phing/src/org/netbeans/modules/php/phing/exec/PhingExecutable.java 
b/php/php.phing/src/org/netbeans/modules/php/phing/exec/PhingExecutable.java
index 767b7e4..3c13fc1 100644
--- a/php/php.phing/src/org/netbeans/modules/php/phing/exec/PhingExecutable.java
+++ b/php/php.phing/src/org/netbeans/modules/php/phing/exec/PhingExecutable.java
@@ -63,8 +63,6 @@ public class PhingExecutable {
     @org.netbeans.api.annotations.common.SuppressWarnings(value = 
"MS_MUTABLE_ARRAY", justification = "No need to worry, noone will change it") 
// NOI18N
     public static final String[] PHING_NAMES;
 
-    private static final String LOGGER_PARAM = "-logger"; // NOI18N
-    private static final String LOGGER_COLOR_VALUE = 
"phing.listener.AnsiColorLogger"; // NOI18N
     private static final String LIST_PARAM = "-list"; // NOI18N
     private static final String QUIET_PARAM = "-quiet"; // NOI18N
 
@@ -163,10 +161,7 @@ public class PhingExecutable {
     }
 
     private List<String> getRunParams(String[] args) {
-        List<String> params = new ArrayList<>(args.length + 2);
-        params.add(LOGGER_PARAM);
-        params.add(LOGGER_COLOR_VALUE);
-        params.addAll(Arrays.asList(args));
+        List<String> params = new ArrayList<>(Arrays.asList(args));
         return params;
     }
 


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