You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by Karl Lehenbauer <ka...@sc.com> on 2004/01/03 01:55:47 UTC

Multiple Before Scripts Don't Work Anymore

I think you guys may have done this on purpose, but used to be if I 
defined multiple RivetDirConf BeforeScript lines, all of them got 
executed.  When I recently upgraded to the latest Rivet, now only the 
first one actually does anything.

I can get the same effect by combining the elements on one line using 
semicolons.

But multiple RivetServerConf ChildInitScript lines, it still works the 
old way, eval'ing each one in turn.




---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org


Re: Multiple Before Scripts Don't Work Anymore

Posted by "David N. Welton" <da...@dedasys.com>.
Karl Lehenbauer <ka...@sc.com> writes:

> I think you guys may have done this on purpose, but used to be if I
> defined multiple RivetDirConf BeforeScript lines, all of them got
> executed.  When I recently upgraded to the latest Rivet, now only
> the first one actually does anything.

Yes, we had a long discussion about it:

http://nagoya.apache.org/eyebrowse/BrowseList?listName=rivet-dev@tcl.apache.org&by=thread&from=329548&to=329548&first=1&count=9

Although they don't all seem to be archived there:-(

> I can get the same effect by combining the elements on one line
> using semicolons.

> But multiple RivetServerConf ChildInitScript lines, it still works
> the old way, eval'ing each one in turn.

Right.  Basically the idea was that for Before/After and Error scripts
should just be overridden so that you could do per-directory
configuration more cleanly...

I would be happy to reopen the discussion, because Damon and I were
the only ones talking about it and a new/different approach might be
possible.

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org