File: CriticalPath.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 (31 lines) | stat: -rw-r--r-- 577 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
project prj "Critical Path Example" "1.0" 2006-08-22 +1m {
  scenario plan "Planned Scenario" {
    # All pathes with less than 15% slack should be marked as
    # critical.
    minslackrate 15.0
  }
}

task t1 "Task 1" {
  start 2006-08-22
  duration 2d
}

task t2 "Task 2" {
  depends t1 { gaplength 2d }
  duration 3d
}

task t3 "Task 3" {
  depends t1 { gaplength 1d }
  duration 4d
}

taskreport "Tasks" {
  columns no, name, chart
}

htmltaskreport "CriticalTasks.html" {
  # Generate a list of all tasks that are on a critical path.
  hidetask ~isOnCriticalPath(plan)
}