This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 151742 [details] global Phing exec file I've installed Phing via Pear as described on the homepage: $ pear channel-discover pear.phing.info $ pear install [--alldeps] phing/phing it is installed to /usr/bin/phing. The problem is that it is a bash script (will attach here) and IDE invokes it with PHP: "/usr/bin/php" "/usr/bin/phing" "-logger" "phing.listener.AnsiColorLogger" which basically just prints out the content of the file. If I invoke e.g. /usr/bin/phing -l from command line, it works fine. Thank you Product Version: NetBeans IDE Dev (Build 201501300002) Java: 1.8.0_25; Java HotSpot(TM) Client VM 25.25-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Láďo, could you please check whether this issue is only on Linux or also on Windows? I guess that it could work on Windows, right? Thanks a lot.
Will do during today
It works on Windows just fine, IDE invokes "C:\xampp\php\phing.bat" "-logger" "phing.listener.AnsiColorLogger" "clean" and with phar file it runs "C:\xampp\php\php.exe" "C:\Users\vlriha\Downloads\phing-latest.phar" "-logger" "phing.listener.AnsiColorLogger" "clean" and it works as well.
I have improved autodetection when PHP interpreter should be used so this issue should be solved. Láďo, could you please verify - on all 3 platforms - several scenarios: - PHAR file; - file with extensions like .bat, .sh; - PHP file without extension; - SHELL file without extension; - anything else? Thanks a lot! http://hg.netbeans.org/web-main/rev/95b60d20b218
Integrated into 'main-silver', will be available in build *201503070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/95b60d20b218 User: Tomas Mysik <tmysik@netbeans.org> Log: #250115 - Phing installed via Pear does not work
Thank you, works fine on Windows and Linux, will try Mac a bit later. Product Version: NetBeans IDE Dev (Build 201503160001) Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25 Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)