Nicolas De Loof wrote on Tuesday, February 21, 2006 11:18 AM:

> Isn't there a similar problem on linux systems to start services ?

Depends on the distro. Gentoo uses command as keywords in the start scripts:

provides id [id ...]
needs id [id ...]
use id [id ...]
before id [id ...]
after id [id ...]

"provides" is normally implicit the name of the script, "need" is a runtime 
requirement for a start, "use" shoudl be started first if available, "before" 
should be started before another script (if available) and "after" as 
equivalent. At every start the dependencies are newly calculated if one of the 
startup scripts were touched.

> AFAIK it uses shells orderings by adding order numbers, and
> the script
> update-rc.d is used to add a new service at an expected position if
> possible. 
> 
> Maybe it could be a good inspiration for maven plugins ordering ?

Such a system would make the dependencies between the plugins more expressive 
and avoids tinkering with absolute numbers.

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to