On Tue, 5 Feb 2002 07:17, Berin Loritsch wrote: > Peter Donald wrote: > > Hi, > > > > Without going into the code I think that > > > > On Tue, 5 Feb 2002 06:41, Berin Loritsch wrote: > >> <block class="com.infoplanning.printserver.blocks.PrintQueueBlock" > >> name="printqueue" > > >> <provide name="scheduler" > >>role="org.apache.avalon.cornerstone.services.scheduler.TimeScheduler"/> > > > > is causing the problem. Specifically you have not declared a dependecy on > > "scheduler" in the BlockInfo for > > com.infoplanning.printserver.blocks.PrintQueueBlock > > That was it! Thanks alot. > > This makes me think that we should have some sanity checking for the > block-infos. Is there any way we can have an ant task that does some quick > sanity checking?
easily enough! > It would be really cool if we had an ant task named "sar-checker" that > would provide some quick sanity checks so that the BlockInfo is correct, > and the assembly.xml file won't cause issues, etc. Have a look in the "tools.verifier" package. It is already decoupled - mainly for the purpose of integrating it into an ant task ;) I never got around to ant-ifing it though ;l -- Cheers, Pete --------------------------------------------------- Murphy's law - "Anything that can go wrong, will." (Actually, this is Finagle's law, which in itself shows that Finagle was right.) --------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
