From: Stefan Janecek (stefan.janecek_at_jku.at)
Date: Thu Dec 18 2003 - 16:19:06 CET
From: Stefan Janecek <stefan.janecek@jku.at> Message-Id: <1071760745.1759.47.camel@ising> Date: Thu, 18 Dec 2003 16:19:06 +0100 Subject: [taskjuggler] XML-report broken in TJ 2.0?
Hi,
I compiled TJ 2.0 today - without any noticeable errors. However,
running taskjuggler on the following very simple project file results in
a somehow strange behaviour...
file main.tjp:
---------------------------------------------------------------------
project myproj "myproj" "1.0" 2003-12-15 2003-12-31 {
dailyworkinghours 8
}
resource me "me"
task test1 "test1" {
allocate me
start 2003-12-18
effort 20h
}
task test2 "test2" {
allocate me
start 2003-12-24
effort 20h
}
htmltaskreport "taskreport.html"
xmlreport "main.tjx"
-----------------------------------------------------------------------
After running 'taskjuggler main.tjp', the HTML-report is exactly what
one would expect:
(part of) file taskreport.html:
-----------------------------------------------------------------------
<tbody>
<tr valign="middle" style="background-color:#f3ebae; ">
<td style="text-align:right; ">1.</td>
<td nowrap="nowrap" style="padding-left:2; ">test1</td>
<td style="font-size:90%; ">2003-12-18 09:00</td>
<td style="font-size:90%; ">2003-12-22 14:00</td>
</tr>
<tr valign="middle" style="background-color:#f3ebae; ">
<td style="text-align:right; ">2.</td>
<td nowrap="nowrap" style="padding-left:2; ">test2</td>
<td style="font-size:90%; ">2003-12-24 09:00</td>
<td style="font-size:90%; ">2003-12-26 14:00</td>
</tr>
</tbody>
-----------------------------------------------------------------------
The XML-reprort, however, is missing the task test2:
file main.tjx:
-----------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Project>
<Project Id="myproj" WeekStart="Mon" >
<Name>myproj</Name>
<Version>1.0</Version>
<Priority>500</Priority>
<start humanReadable="2003-12-15 00:00:00 CET" >1071442800</start>
<end humanReadable="2003-12-30 23:59:59 CET" >1072825199</end>
<now humanReadable="2003-12-18 16:08:25 CET" >1071760105</now>
<Task Id="test1" >
<Index>1</Index>
<Name>test1</Name>
<ProjectID>myproj</ProjectID>
<Priority>500</Priority>
<complete>35.0</complete>
<Type>Task</Type>
<planStart humanReadable="2003-12-18 09:00:00 CET"
>1071734400</planStart>
<planEnd humanReadable="2003-12-22 14:00:00 CET" >1072098000</planEnd>
<Allocation ResourceID="me" >
<Load>0</Load>
<Persistent>No</Persistent>
</Allocation>
<Resource Id="me" >me</Resource>
</Task>
</Project>
-----------------------------------------------------------------------
Errrmmm.... Am I getting something wrong here? Can you reproduce this
behaviour, or is it just me? Any hints?
Best regards,
Stefan Janecek
--
"We have joy, we have fun, we have Linux on a Sun ..."
__________________________________________________________________________
Stefan Janecek
Institute of Semiconductor & Solid State Physics
Universtity of Linz/Austria -----==-
work phone: +43 (0)732 2468-9612 ----==--
Fax +43 (0)732 2468-8650 ---==---(_)__ __ ____ __
mail: stefan.janecek@jku.at --==---/ / _ \/ // /\ \/ /
-=====/_/_//_/\_,_/ /_/\_\
ICQ: segfault/#52065279 The choice of a GNU generation
--------------------------------------------------------------------------
GPG: 1024D/F37F4243 2002-05-07 Stefan Janecek <stefan.janecek@jku.at>
Key fingerprint = F9A7 AC8E BF0D FF85 17A2 8E88 8955 A3F0 F37F 4243
This archive was generated by hypermail 2.1.7 : Thu Dec 18 2003 - 16:21:44 CET