Compile NetBeans project from command line by using Ant

前端 未结 2 1890
無奈伤痛
無奈伤痛 2021-02-15 11:00

I have a NetBeans project I would like to compile from the command line. There are many other questions on StackOverflow about how to do so, but they explain how to compile the

2条回答
  •  别跟我提以往
    2021-02-15 11:37

    I'm totally agnostic IDE developer. After several frustrating years trying to emerge "netbeans ant config" to something usable from command line I became to create a wrapper for netbeans ant.

    https://github.com/albfan/ant-netbeans

    By now you can:

    • detect defined targets with standard

    $ ant tabtab

    • Rely on project will honor JDK_HOME

    and most important

    • Expect all ant target to complete smoothly, passing test and whatever stuff implied.

提交回复
热议问题