Date: Tue, 26 Feb 2002 18:30:05 GMT From: Jeff Dalton <jeff@aiai.ed.ac.uk> To: freebsd-java@FreeBSD.ORG Subject: RE: What is ant good for? Message-ID: <23270.200202261830@todday> In-Reply-To: Bissell, Tim's message of Tue, 26 Feb 2002 17:00:52 -0000
next in thread | raw e-mail | index | archive | help
> > Does it, for instance, work out the dependencies between files > > to determine what needs to be recompiled and what doesn't? > > Javac does that, so it comes for free in Ant. javac works out only some fairly direct dependencies. Some versions used to do more with -depend or, later, -Xdepend; but that doesn't seem to be something I can rely on. > ... It is relatively easy to write a build.xml > which downloads all needed sources, compiles and installs. > Adding new specialized tasks isn't very hard either. But since I don't download sources or install ... It sounds like ant is useful if you're doing things in a way that's already fairly elaborate, like using CVS and moving things to some installed location after they're built, etc; but if instead I'm trying to avoid such complexity ... > the java compiler is quite > fast when used inside the Ant JVM - you lose the startup costs. That sounds good. > 'tisnt script! it's xml. xml is *cool*. use psgml and font-lock in emacs > and the build.xml file will start to make much more sense, But what you you call the file the tells Ant what to do? (I knew the *contents* was XML ...) (BTW, I find XML quite verbose and hard to read. What is psgml?) Thanks to everyone who's responded, by the way. Indeed, the whole tools / IDE discussion has been very useful. -- Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23270.200202261830>