Paul Ramsey ha scritto:
> I am surprised the official build itself is broken, and wonder why we  
> are back at this stage again.  For a while there was consensus that  
> broken build was unacceptable... if you break it, you fix it, and  
> (even better) you just never commit something that breaks it.  Is  
> this a result of people not running tests, or everyone running  
> *different* sets of tests (some people run online tests, others  
> don't, etc).
>   
Well, that may be a little extreme, but I guess not many people are 
doing a "mvn clean install"
and have Eclipse auto-refresh turned off.

Basically I suppose the problem goes as follows:
* to try to code you have to compile it... you do that in your ide
* doing only a mnv install won't try and recompile the classes. That may 
mean some difference
   in the compilation because your project in the ide may have a 
different config than the one
   used by the build, or simply because the compiler is not the same 
(eclipse has its own
   incremental compiler)
* if you don't turn off eclipse automated refresh, Eclipse will notice 
you've done a "mvn clean"
   that wipes out the compiled sources and it'll start re-compiling them 
again.

Afaik Ian is using Netbeans so he won't incur in the last problem I 
cited, but the other
may apply.
The main drawback of a clean build is that, at least on my system, it 
takes 8 minutes... when
you've worked on a problem for hours or are in a hurry they're 8 minutes 
too much.

So yes, pretty please, give us a continuous build system that shouts at 
people when the
build is broken. And while you're at it, if you're using cc, try to 
avoid the stupid problem
of cc making the broken builds a big thread: in Thunderbird at least 
every broken build
msg gets classified as a response to the first broken build msg, as a 
result after a while
you don't see it at all. As an alternative, make it so it's easy to 
filter to a serapate folder
that can be setup to not being threaded...

Cheers
Andrea

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to