TaskJuggler: Difference between revisions
revert edits to fix search where character encoding was a problem |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" |
||
| Line 32: | Line 32: | ||
In the Logical Expressions supported by TaskJuggler, the tilde character means 'NOT' | In the Logical Expressions supported by TaskJuggler, the tilde character means 'NOT' | ||
e.g. | e.g. | ||
< | <syntaxhighlight lang="cpp"> | ||
icalreport "drupalProjectGregIcalReport.ics" { | icalreport "drupalProjectGregIcalReport.ics" { | ||
# Only export tasks that Greg is assigned to | # Only export tasks that Greg is assigned to | ||
hidetask ~isDutyOf(Greg, plan) | hidetask ~isDutyOf(Greg, plan) | ||
} | } | ||
</ | </syntaxhighlight> | ||
In the dependency scoping, it is normal to use a relative reference so that sections are more easily portable throughout the project definition. The notation for relative references is to use the exclamation character '!' to mean one level up. The ! carries exactly the same meaning as ../ in filesystem notation. In addition to relative references, object paths are represented using '.' dot notation. E.g. | In the dependency scoping, it is normal to use a relative reference so that sections are more easily portable throughout the project definition. The notation for relative references is to use the exclamation character '!' to mean one level up. The ! carries exactly the same meaning as ../ in filesystem notation. In addition to relative references, object paths are represented using '.' dot notation. E.g. | ||
< | <syntaxhighlight lang="cpp"> | ||
depends !!implementation.gui.theming | depends !!implementation.gui.theming | ||
</ | </syntaxhighlight> | ||
One approach to balancing resource loads is to use the '''limits''' property right in the allocation. You can also define '''limits''' in the resource defintion, or you could adjust (artificially) workinghours | One approach to balancing resource loads is to use the '''limits''' property right in the allocation. You can also define '''limits''' in the resource defintion, or you could adjust (artificially) workinghours | ||
< | <syntaxhighlight lang="cpp"> | ||
task baseActivities "Baseline Activities" { | task baseActivities "Baseline Activities" { | ||
effort 3000h | effort 3000h | ||
| Line 53: | Line 53: | ||
allocate JoeDoe { mandatory limits { dailymax 4h } } | allocate JoeDoe { mandatory limits { dailymax 4h } } | ||
} | } | ||
</ | </syntaxhighlight> | ||
=== Files === | === Files === | ||
| Line 138: | Line 138: | ||
== Example Project File == | == Example Project File == | ||
http://www.taskjuggler.org/manual-svn/example.html shows this example file (presented here with syntax highlighting) | http://www.taskjuggler.org/manual-svn/example.html shows this example file (presented here with syntax highlighting) | ||
< | <syntaxhighlight lang="cpp"> | ||
/* | /* | ||
* This file contains an example project. It is part of the | * This file contains an example project. It is part of the | ||
| Line 448: | Line 448: | ||
scenarios plan, delayed | scenarios plan, delayed | ||
} | } | ||
</ | </syntaxhighlight> | ||
[[Category:Applications]] | [[Category:Applications]] | ||