简体   繁体   中英

Netbeans IDE - How can I change default run target of ANT script?

I just write ant script and do run it for test and now I complete my script and do test it.

But something annoy me is the default right-click run target is the first target that I chose for test on the first time. And I want to change this to another run target to be default.

How can I do that please help me.

Look for build.xml in the base dir of your your project.

Change this part:

<project name="MyProject" default="MyDefaultTarget" basedir=".">

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM