Next Previous Contents

5. The Basic Parts of a .tjp File

This section gives an overview of the most important commands, properties, and attributes used in a typical project file. Refer to Property Reference for a complete list of commands and properties usable in project files.

project acso "Accounting Software" "1.0" 2002-01-16 2002-06-30

This statement informs TaskJuggler about the most important things on the project. These things include:

fibu

The project ID, unique within the scope of the project

Accounting Software

The short description of the project

1.0

The version of the schedule

2002-01-16 2002-6-30

Begin and end dates of the project

Refer to the project command in the reference for details.

resource dev "Developers" { ... }

This defines a resource with the unique ID dev. It will be shown as Developers on the schedule later.

dev

The resource ID, unique for TaskJuggler

Developers

The real name of the resource

In the example, the resource consists of the three developers (dev1, dev2, and dev3). For every resource, you can specify additional attributes in separate curly braces {}.

Refer to the resource command in the reference for details.

task AcSo "Accounting Software" { ... }

This defines the task AcSo. In this example, it represents the whole project to build the Accounting Software. A task may contain several subtasks.

Refer to the task command in the reference.

htmltaskreport "tasks.html" name,start,end,resources,weekly

This command creates a task-based report in html and saves it as tasks.html to the current directory. The report will include the task name, start and end of the task, and the necessary resources. The report's resolution will be in weeks.

Refer to the htmltaskreport command in the reference for details.


Next Previous Contents