wonton
wonton

Reputation: 8247

NetBeans Change Ant Version

I'm using NetBeans to build my project. The version I'm using is 1.8. However, I'm trying to build it again on a computer that can only run ant 1.6.5. Is there any way to specify in Netbeans which version of ant to use?

Upvotes: 1

Views: 11326

Answers (2)

Matt
Matt

Reputation: 728

In NetBeans 8.2, go to Tools -> Options -> Java -> Ant -> Ant Home

enter image description here

Upvotes: 2

Yogendra Singh
Yogendra Singh

Reputation: 34367

Please follow 3 easy steps as below:

  1. Download Ant 1.6.5 from Apache Binaries and install/extract in your local file system

  2. Go to Netbeans Tools > Options > Miscellaneous > Ant

  3. Change the Ant Home to Ant 1.6.5 folder created in step-1 of your local file system

EDIT:

If the above doesn't help because of your specific Net Beans, try steps below:

  1. Go to Help -> Help Contents

  2. Search for Switching Ant Version

  3. Click the same link from left pane to get the details in right, you should see a screen as below:

enter image description here

Follow the instructions on the above page.

Upvotes: 5

Related Questions