[jira] [Commented] (NETBEANS-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288627#comment-17288627 ] Tomáš Procházka commented on NETBEANS-5373: --- OK, so I made PR which removes {{-logger}} option from command. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Assignee: Tomáš Procházka >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified class name, > delimited by double back slash - works) or dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288295#comment-17288295 ] Czukowski commented on NETBEANS-5373: - Unfortunately, not that I can see. Phing 2 didn't use namespaced class names, so the argument as above wouldn't work (what would work is {{-logger AnsiColorLogger}}). A PEAR-style path like {{phing_listener_AnsiColorLogger}} that also works in Phing 2 and still supported by Phing 3 would also have to be different since they've changed the directory structure (directory names start with uppercase now), but I couldn't make it work with Phing 3 when trying out (from CLI), most likely because the include path isn't configured properly, it tries to include_once {{phing\listerner\AnsiColorLogger.php}} and fails. In my instance with Phing 3, the class loading is handled by Composer autoloader, so with a qualified class name, Phing doesn't even get around to look for the file to include. > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified class name, > delimited by double back slash - works) or dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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-5373) Phing 3 cannot run from NetBeans
[ https://issues.apache.org/jira/browse/NETBEANS-5373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17287654#comment-17287654 ] Tomáš Procházka commented on NETBEANS-5373: --- Yes, it is hardcoded in {{PhingExecutable.java}}. I'm not user of Phing myself. Is there value for option which will work with both Phing 2 and 3? > Phing 3 cannot run from NetBeans > > > Key: NETBEANS-5373 > URL: https://issues.apache.org/jira/browse/NETBEANS-5373 > Project: NetBeans > Issue Type: Improvement > Components: php - Editor >Affects Versions: 12.3 >Reporter: Czukowski >Priority: Major > > When running Phing form NetBeans, this part of command line seems to be > hardcoded: {{-logger phing.listener.AnsiColorLogger}} > However this no longer works with Phing 3 that is about to be released. > See https://github.com/phingofficial/phing/blob/main/UPGRADING.md > {quote}Support for dot-path classnames (i.e., foo.bar.FooBar) has been > removed.{quote} > This part should be either updated to a supported schema (I found that > {{-logger Phing\\Listener\\AnsiColorLogger}} - qualified class name, > delimited by double back slash - works) or dropped altogether for a quick fix. > Note: can't see php - phing component here, so assigning it to php - Editor, > feel free to change as appropriate. -- This message was sent by Atlassian Jira (v8.3.4#803005) - 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