Re: [taskjuggler] some questions

From: Chris Schlaeger (cs_at_suse.de)
Date: Tue Mar 11 2003 - 16:12:24 CET


From: Chris Schlaeger <cs@suse.de>
Date: Tue, 11 Mar 2003 16:12:24 +0100
Message-Id: <200303111612.28805.cs@suse.de>
Subject: Re: [taskjuggler] some questions

On Monday 10 March 2003 19:13, Ernst Pfann wrote:
> Hello all.
>
> I have some questions about taskjuggler. It would be great, if somebody can
> help me:
>
>
> Bug or Feature?
> ---------------
> I have a resourcegroup with people in it:
> resource all "Alle"
> {
> resource EP "Ernst Pfann"
> resource SH "Steff Huber"
> flags hidden
> }
>
> If i use "hideresource hidden" in a htmltaskreport it is ignored
> (and the resource "Alle" is shown in the report).
> If i use "hideresource hidden" and "sortresources nameup" it is
> done like expected (the resource "Alle" is hidden in the report,
> the people are shown).

Since 'flag hidden' is declared after the resources EP and SH, these resources
will not inherit the flag hidden. So when you generate a report that has all
resources, except those with a flag 'hidden', EP and SH will be listed. Now
when the report uses the tree notation (that's default), parents with visible
childs are always shown, no matter wheter the parent is matching the
expression or not. So it's a feature.

Depending on what you want, moving the flag definition before the sub-resource
definition would help, or maybe 'rollupresource' does what you want.

>
>
>
> Question
> --------
> Normally, we are working from Mo till Fr. In a project, there is
> on special day, the work must be done on saturday (server down).
> So i said:
> task sd "nobody works"
> {
> start 2003-03-08
> end 2003-03-09
> allocate EP
> ...
> }
>
> In the gantt of tjGUI.pl it is correct. In htmltaskreport this task is at
> friday.
> If i use "start 2003-03-08" and "duration 1d" it is planed at saturday,
> but there is nobody allocated in the htmltaskreport.
>
> How can i solve such a situation?

That's a little more complicated. TaskJuggler will never allocate resources
outside of their working hours. By default Saturday and Sunday are no working
days. So you need to define a shift which has working hours on Saturdays.

shift extra "Special Saturday" {
  sat 8:00 - 12:00, 13:00 - 17:00
}

Then you need to clear the resources for the Saturday shift.

resource ... {
  ...
  shift extra 2003-03-15 - 2003-03-16
}

Of course you have to adapt it to your dates (and I might have made some
typos). But it should explain the principle.

>
>
>
> Question
> --------
> Let's have a look at the following tasks:
>
> task one "Start"
> {
> effort 2d
> allocate EP
> start 2003-03-01
> complete 100
> }
>
> task two "End"
> {
> effort 2d
> allocate SH
> depends !one
> complete 10
> }
>
> and now is 2003-03-10
>
> Taskjuggler plans task two in the past of 2003-03-10.
> But i think, it should know that 90% of task two can only be done
> from now on (= 2003-03-10 and later).

The 'complete' keyword is just for reporting purposes. It will not be used for
scheduling. It just means 10% of the task have already been completed. It
does not matter when the task actually starts.

Chris

-- 
KDE 3.1: Conquer your Enterprise Desktop!  See http://www.kde.org!
GPG Key: 1024D/0500838B  A5FE C051 2AFC 9A14 768A  5125 5829 5750 0500 838B




This archive was generated by hypermail 2.1.7 : Tue Mar 11 2003 - 16:12:41 CET