On 4/23/2012 3:15 PM, Rui Maciel wrote:
>
> Maybe build-in rules aren't needed, considering Make's static pattern rules.
>
> http://www.gnu.org/software/make/man...Static-Pattern
>
That's a good find, and I appreciate you pointing it out to this list.
It's actually been several years since I've dealt with make's build
rules in any way, and a small refresher wouldn't be bad for me.
However, in the Java world, ant is the standard build program. (Or
maven; however I haven't got into maven yet.) There's no way you can
avoid ant. Any project that exists in Java, any deliverable you get
from an outside contractor or firm, will invariably use ant. It is
simply "the standard."
So I'd recommend you learn to use it. First, it avoids fumbling around
making your own static rules, and second you will have to learn it
eventually, regardless. So it might as well be on your own terms, and
on your own schedule.
I found ant's use of XML off-putting at first as well, but it becomes
easier to deal with, and more natural to write, after you've hand
written a couple of basic project definitions. Just go for it, and
don't sweat the new stuff you'll learn.