projectid <id>

projectid <id>
Description

At global scope it declares a new project id and activates it. All subsequent task definitions will inherit this ID. If used within a task it simply assigns this project ID to the task. The tasks of a project can have different IDs. This is particularly helpful if the project is merged from several sub projects that each have their own ID.

AttributesNameTypeDescription
idID 
ContextThe TJP File, task,
InheritableYesScenario Spec.No
See alsoproject, projectids

project mainID "ProjectIDs example" "1.0" 2006-08-22 +1m


task t1 "Task 1" {
  start 2006-08-22
	# This task has project ID "mainID"
}

projectid prj1
projectids prj2

task t2 "Task 2" {
  start 2006-08-22
	# This task has now project ID "prj1"
}


task t3 "Task 3" {
  start 2006-08-22
  projectid prj2
	# This task has now project ID "prj2"
}