美文网首页
Why I hate Ant

Why I hate Ant

作者: CloudHuang | 来源:发表于2017-10-07 18:47 被阅读0次

Apache ant, yes, this is a great Java build tool I know of. It's free (in all senses of the word), it's a defacto standard in the 20th I think, and it generally works.

But to working with the plain ant scripts is really painfully

  • Write ant scripts are complex and verbose.
  • Ant build files are generally typeless. There is no grand schema or DTD they can validate against.
  • Hardly to maintain the ant scripts
  • It's almost impossible re-use someone else's Ant target out of the box. Generally, because targets don't take parameters, seems the only way is use the external property
  • Ant has limited fault handling rules, and no persistence of state, so it cannot be used as a workflow tool for any workflow other than classic build and test processes.
  • It's not design to offer decision or looping structure ( yes, ant-contrib provide little programming function but still very limited )
  • Poor IDE support
    • You can't parameterize your targets for them. (For example, specify that your target requires a set of parameters of a specific type)
    • IDEs can't help you edit your build script (For example, code completion or error-checking as you type is very limited).
  • You cannot test/debug your ant scripts only if start the full ant build processes

相关文章

  • Why I hate Ant

    Apache ant, yes, this is a great Java build tool I know o...

  • 突然学到的

    why English hate me why i love English so much.

  • Vision

    I don't know why I really hate this farm,especially thi...

  • 情景会话:The Fishing Trip及钓鱼之行

    (Lauren is fishing with her dad) Dad,I hate this. Why? It...

  • now、i hate why

    我要不要换工作 你想要干什么? 你离职的原因是什么? 你为什么选择我们公司? 你了解我们公司吗? …… 时隔两年之...

  • LABEL

    I hate labels as much as I hate being labeled. I hate bei...

  • I HATE HIM

    I hate him I hate him I feel I never could be happy again...

  • 囚徒

    分享歌词: I hate you I love you, I hate that I love you, Don'...

  • I hate

    I hate we are alone in the universe I hate everthing is g...

  • complicated human beings

    I hate snobbery & gossip. That is not to say, I hate snob...

网友评论

      本文标题:Why I hate Ant

      本文链接:https://www.haomeiwen.com/subject/ndzmqttx.html