Want an eclipse java project to run ant build files automatically

前端 未结 4 2058
别那么骄傲
别那么骄傲 2020-11-28 07:31

I have an Eclipse Java project, not a plugin project. And the project has some external dependencies that I handle in two separate ant files. Everything works fine, but I wa

4条回答
  •  难免孤独
    2020-11-28 07:51

    At least with Eclipse 4.2 (Juno), the ability to auto-build with Ant has been removed. Under the builder configuration -> "Auto Build", there is a message: "". That said you, can still work around this by:

    • Follow the steps above for creating your Ant builder. This will create a file in projectDirectory/.externalToolBuilders.
    • Modify projectDirectory/.externalToolBuilders/YourLaunchName.launch:
      • You'll need to add auto, to this line:
      • Specify the target you want run for auto by adding:

    You can look at your Ant builder configuration and see that everything looks good: enter image description here

提交回复
热议问题