On 4/28/14, Christopher Nelson <[email protected]> wrote:
> I know I can't guarantee the order of ticket change listeners

in theory , no ... in practice yes , you can ...

> but if I
> have one that depends on another, is there some way that I can requeue
> the current listener if it detects the other hasn't run yet?
>

entry points in general are listed in the order classes are defined
(added to ComponentMeta class cache) , so , if you need to enforce
some ordering then you could try

  1. importing first-in-order component class before defining the second one
  2. Tweak ComponentMeta cache by hand

... most of the time (1) should be enough .

[...]
>
> That'd be a great solution here but I don't know how to do that in Trac.
>

unless you have circular dependencies , my comments above should work ...

[...]

-- 
Regards,

Olemis - @olemislc

Apache(tm) Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to