Importance of tools like Ant Maven

筅森魡賤 提交于 2019-12-12 03:19:29

问题


I am a novice programmer in Java. I would like to know how important is it working on tools like maven/ant as compared to gaining a lot of hands on expereince in Java.


回答1:


I would stick to first learning java. Tools like Ant and Maven are mostly used for packaging a project and library dependencies.

Both tools are also powered by Java so after learning abit of Java it will definately be easier to master them.

Basically when you feel like you need a solution for building your projects, it is time to have a look at Ant or Maven.

For myself I started using Ant when I got started with Hibernate, Maven came years later.




回答2:


maven/ant could simplify some of your jobs. like building, dependency mgmt, deployment etc. And they are very important in real projects.

However, it only makes sense, if you know how to build/using libraries/deploy without those handy tools. If you have no idea about how to do them by hand, it's hard to use maven/ant correctly.

my 2 cents




回答3:


You definitely need to know both (at some point in your career). Ant/Maven (Gradle anyone?) are indispensable for non-trivial projects, but you also need to know the details of how those tools are working.



来源:https://stackoverflow.com/questions/7589566/importance-of-tools-like-ant-maven

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!