on 7/25/00 5:14 AM, Nelson, Laird at [EMAIL PROTECTED] wrote: >> -----Original Message----- >> From: Peter Donald [mailto:[EMAIL PROTECTED] >> They don't want to read the >> build file >> (that come close to >> 900 lines) to figure out what targets are available and which ones are >> useful. Usually a project has a target named help - or >> something similar. > > Ooh, this sounds like a good idea. I'd like to expand this idea a bit. > > I think nmake allows a makefile to have a tiny bit of procedural logic in it > that verifies that everything is in place and ready to go, and if it isn't, > then it errors out with a message. I'd love it if ant provided similar > functionality. What if this help idea and an > error-out-if-platform-isn't-set-up-right functionality were combined? Am I > making sense?
Wha, like a <project> <requires>JDK 1.2</requires> </project> thought? I'm not sure that's any better than having a "prep" target that all targets register a dependancy for that does the same and bails on any prereq that isn't there. .duncan
