File: Mandatory.tjp

package info (click to toggle)
taskjuggler 2.3.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,764 kB
  • ctags: 3,700
  • sloc: cpp: 36,852; sh: 12,761; xml: 5,541; perl: 5,207; makefile: 269; python: 258; lisp: 67
file content (17 lines) | stat: -rw-r--r-- 370 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
project prj "Project" "1.0" 2000-01-01 2000-03-01

resource tuxus "Tuxus"
resource truck "Truck" {
  # Truck does not do any work!
  efficiency 0.0
}

task t "Ship stones to customers" {
  start 2000-01-01
  effort 5d
  # We need the truck to deliver the stones, so only allocate
  # tuxus when the truck is available.
  allocate tuxus
  allocate truck { mandatory }
}