Reputation: 8247
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
Reputation: 34367
Please follow 3 easy steps as below:
Download Ant 1.6.5
from Apache Binaries and install/extract in your local file system
Go to Netbeans Tools > Options > Miscellaneous > Ant
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:
Go to Help -> Help Contents
Search for Switching Ant Version
Click the same link from left pane to get the details in right, you should see a screen as below:
Follow the instructions on the above page.
Upvotes: 5