The TaskJuggler Manual | ||
---|---|---|
Prev | Chapter 7. Property Reference | Next |
value
>priority
<value >
| |||
---|---|---|---|
Description | Specifies a priority between 1 and 1000. A task with higher priority is more likely to get the requested resources. Don't confuse the priority of a tasks with the importance or urgency of a task. It only increases the chances that the tasks gets the requested resources. It does not mean that the task happens earlier, though that is usually the effect you will see. It also does not have any effect on tasks that don't have any resources assigned (e.g. milestones). This attribute is inherited by subtasks if specified prior to the definition of the subtask. | ||
Attributes | Name | Type | Description |
value | INTEGER | ||
Context | The TJP File, task, | ||
Inheritable | No | Scenario Spec. | No |
project prj "Priority Demo" "1.0" 2005-07-15 - 2005-10-01 resource tux "Tux" task items "Project breakdown" { start 2005-07-15 task coolStuff "Do some cool stuff" { start 2005-08-01 effort 10d priority 800 allocate tux } task otherStuff "Other not so important stuff" { start 2005-08-01 effort 20d priority 500 allocate tux } task maintenance "Maintenance work" { # This is a fallback task. Whenever tux is not doing something # else he is allocated to this task. duration 2m priority 300 allocate tux } }