Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> XML is horrible for that kind of thing, and the declarative, task-based paradigm simply isn't flexible enough.

Of course! That's why the Java world uses maven

It makes no sense, but hey, it's XML



I thought java users were abandoning maven over gradle.


Task running is more what Ant is for, isn't it? Maven is more of a dependency management tool than a task runner. A lot of Java projects use both tools together for builds.

I've never used it, but MSBuild sounds like Microsoft's version of Ant to me.


MSBuild has a lot of Ant-yness to it, yes. However, I quibble with your definition of Maven as a dependency manager--it has one (and the independent implementation that can work with Maven repos is Apache Ivy) but I've never seen a Java project use both. Usually somebody jams some sort of runner into a Maven project as a different build step or something.


Usually somebody jams some sort of runner into a Maven project as a different build step or something

Like this? http://maven.apache.org/ant-tasks/


If you're lucky. I've seen a lot more home-rolled ones in Java.


Yeah... I've also worked on corporate Java projects with no Ant, Maven, nor hand-rolled substitute, where the build process was to download the dependencies' jars from the internet manually into /lib.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: