<< Intro << | Table Of Contents | >> Reporting_Bugs >> |
This section will cover changes between TaskJuggler 2.x and 3.x.
]
must be the last character before the line break. No spaces or comments are allowed here. Parameters of macro calls must always be enclosed by double quotes. In contrast to regular strings, single quotes are not allowed here. The parameter may not span multiple lines.projection
attribute has been removed. The is now provided by trackingscenario.cost
or revenue
attribute. Any two top level accounts can now be balanced against each other using the balance attribute in the report.shift
attribute for tasks and resources has been renamed to shifts
to allow support for multiple shifts.limits
attribute has been removed. Since both tasks and resources have a limits
attribute, a global attribute was inconsistent as only resources inherited this attribute. Use a parent resource to emulate the old behavior.startbuffer
and endbuffer
attributes have been deprecated. They have not been widely used and had no impact on scheduling.allowredifinitions
has been dropped. It was an ugly workaround for a rare corner case. Using supplement is the clean way to do this.startup
is now plan.start.up
. See sorttasks or sortresources for details.properties
for export
reports is no longer supported. The naming was inconsistent with TaskJuggler lingo and did not handle tasks and resources separately. It has been replaced with taskattributes and resourceattributes.barlabels
attribute for reports is no longer needed. HTML reports have always empty Gantt-chart bars and the calendar reports always have values.While TaskJuggler 3.x has many new features over TaskJuggler 2.x like the much improved HTML reports, many 2.x users will miss the graphical user interface.
To ease the migration, you can continue to use the TaskJuggler 2.x front-end while using TaskJuggler 3.x for report generation. This is possible because TaskJuggler 3.x can read-in the TaskJuggler 2.x export files. Export files are fully scheduled projects that include start and end dates for all tasks and bookings for resource allocations.
To export all tasks and resources into a TJP file that can be read by TaskJuggler 3.x include the following export report definition in your TaskJuggler 2.x project plan. The necessary patches to support this only made it into TaskJuggler 2.x after the 2.4.3 release. So be sure to use a recent version from the Git repository to try this.
export "FullProject.tjp" { taskattributes all resourceattributes all hideresource 0 }
The resulting FullProject.tjp
file is a valid self-contained project file that can be read with TaskJuggler 2.x or TaskJuggler 3.x. The file does not contain any report definitions. To generate reports with TaskJuggler 3.x you need to create an additional file that contains the TaskJuggler 3.x report definitions.
Let's assume the file is called tj3reports.tji
. Start TaskJuggler 3.x with the following command:
tj3 FullProject.tjp tj3reports.tji
Now you have generated TaskJuggler 3.x reports from you TaskJuggler 2.x project.
<< Intro << | Table Of Contents | >> Reporting_Bugs >> |