Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetBeans project context menu

I've created a small project in NetBeans 8 (it's not Java, in fact it's config-file to launch a tool), and I wrote several targets for it (these are shell-scripts, invoking the tool). I've mapped some of these scripts to default ant targets (clean, jar, run). But I need more targets (e.g. stop) and I would like to have these additional targets in project context menu (not in the menu on the top). But i haven't found way to do it. Does anyone know how to do this?

like image 887
Alissa Avatar asked Mar 16 '26 09:03

Alissa


1 Answers

For NetBeans Java Free-Form projects - you can open the Project Properties pop-up window, go to Build and Run and hit the Add button. Then you can enter Ant target name (right column) and corresponding GUI name (left column) - please see below:

Project Properties

(I hope I've got your question correctly)

like image 73
HEKTO Avatar answered Mar 17 '26 21:03

HEKTO



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!