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.

Bug 250085 - Add Phing action to build.xml context menu
Summary: Add Phing action to build.xml context menu
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Phing (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-29 08:06 UTC by Vladimir Riha
Modified: 2015-04-17 17:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-01-29 08:06:02 UTC
If you have a build.xml in PHP project for Phing and right click on it and select some task from Run target menu, it is invoked by Ant not Phing which is a bit misleading.

Thank you


Product Version: NetBeans IDE Dev (Build 201501290002)
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)
Comment 1 Tomas Mysik 2015-01-29 11:26:11 UTC
I need to discuss it with someone who could know how to do that (if it is possible, of course).

Thanks.
Comment 2 Tomas Mysik 2015-04-08 12:15:21 UTC
So, Phing action will be added to build.xml files in PHP projects only. The Ant action will remain there as well since there can already be PHP projects that use Ant as their build system (unfortunately, not only the file name but also the file content is nearly identical). In such case, we could also allow user to disable Phing support for the given PHP project (I would wait for the first report from our users).

Later, we should perhaps rename "Run Target" action which comes from Ant support to something more specific, e.g. "Run Ant Target".

Thanks.
Comment 3 Tomas Mysik 2015-04-09 07:35:53 UTC
Unfortunately, only context action can be added. Editor action (popup) can't because if action is disabled, empty space is shown :/
Comment 4 Tomas Mysik 2015-04-09 11:37:23 UTC
Should be done now. Please verify, thanks.

http://hg.netbeans.org/web-main/rev/55e241cc833b

(In reply to Tomas Mysik from comment #2)
> Later, we should perhaps rename "Run Target" action which comes from Ant
> support to something more specific, e.g. "Run Ant Target".

BTW Láďo, feel free to report it if you think so - assign bug to me and provide link to this issue so we know the reason.

Thanks.
Comment 5 Quality Engineering 2015-04-10 03:09:01 UTC
Integrated into 'main-silver', will be available in build *201504100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/55e241cc833b
User: Tomas Mysik <tmysik@netbeans.org>
Log: #250085 - Add Phing action to build.xml context menu
Comment 6 Vladimir Riha 2015-04-17 17:20:25 UTC
Thank you, works fine.

I reported the "rename problem" as issue 251916


Product Version: NetBeans IDE Dev (Build 201504170001)
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)