NetBeans Change Ant Version

前端 未结 2 1578
一生所求
一生所求 2021-01-23 17:16

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 spe

2条回答
  •  孤城傲影
    2021-01-23 18:12

    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.

提交回复
热议问题