[fedora-java] Enhanced aot-compile script

Andrew Haley aph at redhat.com
Mon Nov 14 11:12:29 UTC 2005


Gary Benson writes:
 > Andrew Haley wrote:
 > > Gary Benson writes:
 > > > Andrew Haley wrote:
 > > > > Gary Benson writes:
 > > > > > What is needed is the merging of /usr/lib/gcj/*/*.db into
 > > > > > /var/lib/gcj/classmap.db.
 > > > > 
 > > > > So all you want is a command that does the merging we do at the
 > > > > moment, but only when necessary?
 > > > 
 > > > I think all he wanted is the command that does the merging we do
 > > > at the moment full stop.  He just wanted what rebuild-gcj-db does
 > > > in gcj-dbtool.  I'm quite happy to write it if you like.
 > > 
 > > Writing it is easy; I want to make sure it does the right thing.
 > 
 > Using make worries me because I frequently downgrade versions of
 > things while I'm testing.  Downgrading will give the .db files an
 > older timestamp, and the system database will not be rebuilt.

It'll give the directory a newer timestamp, so the system database
will be rebuilt.

 > There are occasions when beehive will downgrade what's in its
 > buildroot.  Fixing broken a database on my machine is easy, fixing
 > it on 20+ beehive machines is not.
 > 
 > That aside, rebuilding the databases takes no time at all.  Using
 > make seems to me to be adding an additional layer of complexity for
 > no perceptible gain.

So why worry about making rebuild an alternative?  If it's no big
deal, why not always do it?

Andrew.




More information about the fedora-devel-java-list mailing list