From: Vincent M. <vm...@oc...> - 2002-03-19 09:48:13
|
> -----Original Message----- > From: moc...@li... > [mailto:moc...@li...] On Behalf Of > Steve Freeman > Sent: 15 March 2002 23:20 > To: MockObjects > Subject: Re: [MO-java-dev] Before I start: build.xml > > > Does anyone have a problem with me making some changes to the build > > process. I'd like to stop compiling out of the out dir, I don't see > the > > need for this as it's very confusing if you've got an editor which > takes > > you to the failing source file on failing to compile. > > I think that was historical because the ant copy was supposed to > annotate the sources with useful information. We can live without it. Yes, what is usually done is to use the following in the source code : /** * [...] * @version $Id: $ */ and when you do a CVS commit, CVS will expand it to something like : /** * [...] * @version $Id: AbstractTestCaller.java,v 1.3 2002/03/10 18:27:26 vmassol Exp $ */ */ Thus, there is no longer any need to copy the sources before compiling. > > > The build also will always build all the files from scratch every > time, > > which if you're compiling a lot (Change, compile, test, change, > compile, > > test) can be annonying. > > that should be fixed. > > S. > > -Vincent |