Top 15 Ant Best Practices
Subject:   why have compile.bat?
Date:   2003-12-17 18:26:20
From:   acroyear
and other common shortcuts for that matter?

convenience. in a GUI world, switching from the mouse to the keyboard and back again sucks. as does making a user have to look up (via ant -projecthelp) the actual build instruction when there can be several depending on the size of the distribution.

So having a few .bat files for the most common tasks that a non-developer would have, like having a quick "installme" script that would do "./configure; make; make install" with most autoconf-driven packages, can make things easier for users who just need the stuff without needing to know why it works or how to make it work in detail. somedays i just want the .jar, and i don't really want to dig into the buildfile to figure out what to call to get it.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • why have compile.bat?
    2003-12-18 14:39:00  anonymous2 [View]

    In a GUI world, wouldn't you have a GUI window just for Ant build files that shows you all the targets and that gives you a way to specify parameters and such like?

    I'm talking about something like IntelliJ IDEA's Ant support, of course.