Modelling End-End releation (in parallel to another dependency)

57 views
Skip to first unread message

Jan

unread,
Dec 9, 2021, 10:22:41 AM12/9/21
to TaskJuggler Users
Hi,

Is it possible to define a task relationship with the following idea behind it?

Tasks (software development example):
- tSpec (Specification of requirements)
- tImplemenation
- tTest (specify, implement and run test)

Relation
- tSpec finalized for tTest and tImplementation to start
- tImplemenation should match with tTest's end or be later - idea is that it runs parallal to implementation. Ideally it's ready 1d after implementation

Is such a definition possible in TJ3?

Thank you
Jan

(I've written the question already but dont see the post...)

tbra...@gmail.com

unread,
Dec 10, 2021, 9:57:20 AM12/10/21
to TaskJuggler Users
I see there is an added detail to the task relationships compared to the first post. So, the code would be...
task tSpec "" {
       start, allocate, effort, etc...
 }

task tTest "" {
      depends !tSpec{onend} # you don't really need the "onend" here. It is implied but provided for clarity.
      <other specifications as needed>
}

task tImplementation "" {
       depends !tSpec
       precedes !tTest{onend gaplength 1d} # I believe this is saying that tTest cannot end until tImplementation ends + 1 working day
               <other specifications as needed>
}
Reply all
Reply to author
Forward
0 new messages