From: Ernst Pfann (pfann_at_br-online.de)
Date: Mon Nov 24 2003 - 15:48:51 CET
From: Ernst Pfann <pfann@br-online.de> Date: Mon, 24 Nov 2003 15:48:51 +0100 Message-Id: <200311241548.51681.pfann@br-online.de> Subject: [taskjuggler] task order is relevant
Hi,
I have seen a (i think) little bit strange behavior of taskjuggler. If i try
to compile this problem.tjp (see below), there is a error/warning about a
impossible dependency (with tj-version 1.9.0):
--------------------------------------------------------------------------
problem.tjp:18: Impossible dependency:
Task 'research.examine_software' starts at 2003-09-24-14:00:00-CEST but needs
to follow task research.get_software which has a 'plan' end time of
2003-09-30-14:59:59-CEST
problem.tjp:26: Impossible dependency:
Task 'research.get_software' ends at 2003-09-30-14:59:59-CEST but needs to
precede task 'research.examine_software' which has a 'plan' start time of
2003-09-24-14:00:00-CEST
--------------------------------------------------------------------------
But the problem is not what tj means. If i change the order of task
"maintanance" and task "research", the project compiles without any problems
and the report matches exactly what i want. It compiles as well if i comment
in the priority-line in task "maintanance".
The logic seams to be clear: if there is no priority (=500), the order is
relevant.
The question is: why can't tj resolve this problem.
Ok - this may be a little tricky. But it should be possible, to get better
warnings.
This was really a problem - because this is just a very small part of our
tj-plan, automatically build by perl-scripts. And it costs me a lot of time
to find out, why (the hell) this thing compiles at one time and at another
time don't.
------- problem.tjp ------------------------------------------------------
project test "Test" "$Header$" 2003-09-01 2003-12-31-23:59
resource EP "Ernst Pfann"
task maintanance "Wartung"
{
#priority 300
start 2003-09-01
end 2003-12-31
allocate EP { load 0.13 }
responsible EP
}
task research "Suchen"
{
task get_software "App besorgen"
{
effort 2d
allocate EP
depends !milestones.start
complete 100
}
task examine_software "App untersuchen und einschaetzen"
{
effort 3d
allocate EP
depends !get_software
precedes !milestones.end
complete 100
}
task milestones "Meilensteine"
{
task start "Project start"
{
milestone
start 2003-09-23
}
task end "Project end"
{
milestone
start 2003-09-30
}
}
}
htmltaskreport "problem.html"
{
headline "A Problem"
loadunit shortauto
columns no,
name,
status,
completed { title "in %" },
effort { title "von" },
weekly,
start,
end
sorttasks plancompletedup
timeformat "%d.%m.%y"
}
--------------------------------------------------------------------------
Best regards,
Ernst Pfann
-- Bayerischer Rundfunk Rundfunkplatz 1, D-80300 München Tel: +49 89 5900-16016 Fax: +49 89 5900-16000 E-Mail: pfann@br-online.de "To the question of life after death: Not whether such a thing exists, but...What manner of life?" "A Wayist Practicum" Reverend Bem, CY 10090 -- To unsubscribe, email the address listed in the List-Unsubscribe header For additional commands, email: taskjuggler-help@suse.com
This archive was generated by hypermail 2.1.7 : Mon Nov 24 2003 - 15:49:15 CET