From: Robert C. <co...@cs...> - 2004-04-09 05:35:00
|
Neal Horowitz wrote: > although it is an easy problem to make (and has been made in the=20 > past), the problem this time is that it is not in the drjava part of=20 > the cvs tree, it's in the util directory (specifically=20 > edu/rice/cs/util/swing), and so will not be gotten by an ant update=20 > from within drjava. The solution is either to run "cvs update" from=20 > src/edu/rice/cs (or any parent directory), or to do an "ant update"=20 > from within the util package of drjava. (This is also a really common=20 > problem. I don't even remember how many times I've wondered who=20 > managed to commit broken code before finally remembering to update util= !) > Neal > > *From:* drj...@li...=20 > [mailto:drj...@li...] *On Behalf Of=20 > *Jonathan Lugo > *Sent:* Thursday, April 08, 2004 11:55 PM > *To:* drj...@li... > *Subject:* [DrJava] Please Add Any New Dependent Classes to CVS > > There have been some resent problems with the CVS tree due to missing=20 > classes. Specifically, the ui.MainFrame class now depends on a small=20 > class named UnfocusableButton. This class, however is no where on the=20 > CVS tree. It=92s probably easy to create the new class and forget to do= =20 > the appropriate CVS add. While the code will compile and test on the=20 > committers machine (since the class is there), not all the code gets=20 > sent. So, whoever created the UnfocusableButton class, please commit=20 > it so we can compile. > > This seems like an easy problem to make. Is there some feasible=20 > automation we can implement? Is it possible have ant ignore anything=20 > that=92s not a .java file but still do some check or prompt for java=20 > files that would be prefixed with a =93?=94 in the CVS output? > > - jonathan > Why can't we define an ant update update command for the parent cs=20 directory (above util, drjava and lib) that updates the entire subtree. We could make this the standard update=20 command to synchronize a local copy of the source with sourceforge. -- Corky |