From: h_dk (hanneloredk_at_yucom.be)
Date: Thu Aug 04 2005 - 12:19:54 CEST
From: h_dk <hanneloredk@yucom.be> Message-Id: <20050804101954.07EF02730445@einstein.suse.de> Date: Thu, 4 Aug 2005 12:19:54 +0200 (CEST) Subject: [taskjuggler] Big project: define html reports in a common file for all projects?
Hi,
I've been playing with big projects and have been testing the 'include' function.
According to the manual, a file that is included is processed as if the information were actually in the calling file.
For things like accounts and resources this works fine.
Then I made a common file where I define which html-reports I want for all my projects. This only works up to a degree.
The resulting html reports are not created in the folder I expected, namely in the project folder calling the include script.
They are created in the folder where the reports.tji file is located.
When two projects call the reports.tji file, the reports of the first project will be overwritten by the one's of the second project.
Oddly though, the XML report is created in the calling project folder.
Adding the full path in the report name does put the report in the right folder:
htmlreport "2005projects/project1/report.html" {
...
}
But to serve my purpose, I would need to put a variable path in the name, defined by the calling project.
In file project1.tjp:
macro path [
2005projects/project1/
]
include ../../reports.tji
in file report.tji
htmlreport "${path}report.html" {
...
}
But taskjuggler can't parse this.
I tried using include inside the htmlaccountreport property, but this is not allowed.
Another solution might be to make links (hard or soft?) to the report.tji file in every project folder. This is not ideal, in my opinion.
Any other idea's?
Thanks,
hdk
-- To unsubscribe, email the address listed in the List-Unsubscribe header For additional commands, email: taskjuggler-help@suse.com
This archive was generated by hypermail 2.1.7 : Thu Aug 04 2005 - 12:20:52 CEST