No, it doesn't need to be invoked multiple times - it just needs to run once per build session.
Maybe it could be hooked into lucene core's build, with a property that gets set and checked so it runs just once? Steve > -----Original Message----- > From: Dawid Weiss [mailto:dawid.we...@gmail.com] > Sent: Friday, February 10, 2012 12:20 PM > To: dev@lucene.apache.org > Subject: check-legal-lucene invoked repeatedly? > > I made a simple test in which I did a noop for tests and ran ant test. > The build took 1 minute (trunk) and I could see slowdowns on: > > check-legal-lucene > > This seems to be costly and invoked multiple times with identical > arguments. I can look into this, but didn't want to miss anything -- > is this how it's supposed to be? > > Dawid > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org