[taskjuggler] Re: Shift and multiple workinghours directives

From: Nicolas Girard (nicolas.girard_at_nerim.net)
Date: Thu Aug 18 2005 - 15:36:24 CEST


From: Nicolas Girard <nicolas.girard@nerim.net>
Date: Thu, 18 Aug 2005 15:36:24 +0200
Message-Id: <200508181536.24423.nicolas.girard@nerim.net>
Subject: [taskjuggler] Re: Shift and multiple workinghours directives

On Thursday 18 August 2005 15:30, Chris Schlaeger wrote:
> Your project snippet looks ok. I have no idea why you get this error
> message. Can you send us a small project file that generates this problem?
>

Sure, here you are:

=====================
macro debut [2005-08-01]

project phys "Partie physique" "1.0" ${debut} 2005-09-30 {
    now 2005-08-16
    timeformat "%Y-%m-%d"
    timingresolution 20 min
    scenario plan "Plan" {
        projection
    }
}

shift semaineNormale "Semaine normale" {
    workinghours sat 14:00 - 18:00, 21:00 - 24:00
    workinghours sun 14:00 - 18:00, 21:00 - 24:00
}

shift hrepas "Repas" {
    #matin
  workinghours mon 6:45 - 7:10
  workinghours tue 6:45 - 7:10
  workinghours wed 6:45 - 7:10
  workinghours thu 6:45 - 7:10
  workinghours fri 6:45 - 7:10
  workinghours sat 7:45 - 8:10
  workinghours sun 9:10 - 9:30
    #midi
  workinghours mon 12:00 - 12:45
  workinghours tue 12:00 - 12:45
  workinghours wed 12:00 - 12:45
  workinghours thu 12:00 - 12:45
  workinghours fri 12:00 - 12:45
  workinghours sat 12:00 - 12:45
  workinghours sun 12:00 - 12:45
    #soir
  workinghours mon 19:40 - 20:40
  workinghours tue 19:40 - 20:40
  workinghours wed 19:40 - 20:40
  workinghours thu 19:40 - 20:40
  workinghours fri 19:40 - 20:40
  workinghours sat 19:40 - 20:40
  workinghours sun 19:40 - 20:40
}

resource nico "Nicolas" {
    shift semaineNormale
}

task misc "Divers" {
    allocate nico
    start ${debut}
    task courant "Affaires courantes" {
        effort 5d
    }
    task org "Organisation" {
        effort 5d
    }
    task repas "Repas"{
        shift hrepas
        effort 1d
    }
}
=================

-- 
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 : Thu Aug 18 2005 - 15:36:37 CEST