* Re: Re: task juggler export
2010-09-06 15:40 ` Eric S Fraga
@ 2010-09-07 1:38 ` John Hendy
0 siblings, 0 replies; 4+ messages in thread
From: John Hendy @ 2010-09-07 1:38 UTC (permalink / raw)
To: e.fraga; +Cc: emacs-orgmode, Christian Egli
[-- Attachment #1.1: Type: text/plain, Size: 4242 bytes --]
This won't be exactly earth-shattering, but in playing around I might have a
hackish workaround which may or may not be helpful...
- I took the taskjuggler org file example from here:
http://orgmode.org/worg/org-tutorials/org-taskjuggler.php
- I added these lines at the end (from here:
http://www.taskjuggler.org/tj3/manual/index.html)
export "FullProject.tjp" {
taskattributes all
hideresource 0
}
<http://orgmode.org/worg/org-tutorials/org-taskjuggler.php>- I used
taskjuggler-2.4.3 on the orgmode generated .tjp file to produce the
"FullProject.tjp"
- I pasted the reports definition from the tj3 tutoria file at the bottom of
FullProject.tjp
--- from http://www.taskjuggler.org/tj3/examples/tutorial.tjp
- I then began some "tweaks"
--- change all "plan: start 2010-xx-xx" in *milestones* to simply "start
2010-xx-xx"
--- add an "end: 2010-xx-xx" to match the start of each milestone (they must
be exact)
--- removal of all references in the reports section to "plan delayed"
--- removal of the phone contact info
--- change from the report "AsCo.deliveries" to "accounting.milestones"
Basically, I just kept running "tj3 FullProject.tjp" until the errors
stopped :)
Anyway, it wasn't *that* much to change. I looked into TaskJuggler quite a
while ago and so I was slightly familiar with it and thought I'd tinker
around. If org-mode picked up tj3 I'd be down. Without html gantt charts I
don't think it has that much going for it so tj3 is pretty much a must for
me as opposed to using the UI in 2.4.3.
Perhaps my tinkering can help someone in their reworking of
org-taskjuggler.el or to see how exporting and tweaking might make things
usable in the meantime? I attached the tweaked "FullProject.tjp" file for
examination. This contains the tweaked org export + tweaked report
definition from the tj3 tutorial example that made a successful export to
the html report files. Just run "tj3 FullProject.tjp" to see what is
generated.
John
On Mon, Sep 6, 2010 at 10:40 AM, Eric S Fraga <ucecesf@ucl.ac.uk> wrote:
> On Mon, 06 Sep 2010 11:39:47 +0200, Christian Egli <christian.egli@sbs.ch>
> wrote:
> >
> > Eric S Fraga <ucecesf@ucl.ac.uk> writes:
> >
> > > However, org-taskjuggler seems to use the global value regardless.
> >
> > Hm, org-taskjuggler doesn't do anything magic here. It just takes the
> > value of org-export-taskjuggler-default-project-duration.
>
> Yes, I can see that from the code. It doesn't seem to do anything out
> of the ordinary with this variable.
>
> > > Is there something I need to do to get it to pay attention to my file
> > > local variable value? A pointer to a relevant section in the emacs
> > > lisp manual would suffice
> >
> > I just looked at the help string for defcustom (C-h f defcustom) where
> > it says:
> >
> > > If symbol has a local binding, then this form affects the local
> > > binding. This is normally not what you want. Thus, if you need to load
> > > a file defining variables with this form, or with `defvar' or
> > > `defconst', you should always load that file _outside_ any bindings
> > > for these variables. (`defvar' and `defconst' behave similarly in this
> > > respect.)
> >
> > So if I understand this correctly it appears that defcustom is
> > overwriting your file variable. I don't understand however how you could
> > make your file variable work.
>
> I'm glad you can understand that help documentation! I cannot figure
> out what "... load that file _outside_ any bindings ..." actually
> means!
>
> > Maybe the variable org-export-taskjuggler-default-project-duration needs
> > to be buffer-local. How does this interact with defcustom?
>
> Good question. I'll see if I can figure this out (and play with your
> code) in due course. In the meantime, I had to give up and have
> prepared my tj file directly (which is not that onerous of course).
> When this project bid is finished, I'll come back to this.
>
> Thanks again for your help,
> eric
>
> --
> Eric S Fraga
> GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
[-- Attachment #1.2: Type: text/html, Size: 6089 bytes --]
[-- Attachment #2: FullProject.tjp --]
[-- Type: application/octet-stream, Size: 23993 bytes --]
/*
* This file has been generated by TaskJuggler 2.4.3
* at 2010-09-06 20:03:20 CDT.
*/
/*
* For details about TaskJuggler see http://www.taskjuggler.org
*/
project accounting "Accounting Software" "1.0" 2010-09-06-00:00:00--0500 - 2011-06-13-00:00:00--0500 {
dailyworkinghours 8
yearlyworkingdays 260.714
timingresolution 60min
now 2010-09-06-20:00:00--0500
timeformat "%Y-%m-%d %H:%M"
shorttimeformat "%H:%M"
currencyformat "(" ")" "," "." 0
weekstartsmonday
workinghours sun off
workinghours mon 9:00 - 12:00, 13:00 - 18:00
workinghours tue 9:00 - 12:00, 13:00 - 18:00
workinghours wed 9:00 - 12:00, 13:00 - 18:00
workinghours thu 9:00 - 12:00, 13:00 - 18:00
workinghours fri 9:00 - 12:00, 13:00 - 18:00
workinghours sat off
scenario plan "Plan" {
enabled
}
}
shift s40 "Part time shift" {
workinghours wed off
workinghours thu off
workinghours fri off
}
resource resources "Resources" {
resource dev "Developers" {
resource paul "Paul Smith" {
}
resource seb "Sébastien Bono" {
}
resource klaus "Klaus Müller" {
}
}
resource others "Others" {
resource doc "Peter Murphy" {
}
resource test "Dim Sung" {
}
}
}
projectids accounting
task accounting "Accounting Software" {
projectid accounting
task specification "Specification" {
depends accounting.milestones.project
plan:start 2010-09-06-09:00:00--0500
plan:end 2010-09-14-16:00:00--0500
plan:scheduled
scheduling asap
}
task software "Software Development" {
depends accounting.specification
task database "Database coupling" {
plan:start 2010-09-14-16:00:00--0500
plan:end 2010-09-23-14:00:00--0500
plan:scheduled
scheduling asap
}
task back_end "Back-End Functions" {
depends accounting.software.database
plan:start 2010-09-23-14:00:00--0500
plan:end 2010-10-07-14:00:00--0500
plan:scheduled
scheduling asap
}
task graphical "Graphical User Interface" {
depends accounting.software.back_end
plan:start 2010-10-07-14:00:00--0500
plan:end 2010-11-01-18:00:00--0500
plan:scheduled
scheduling asap
}
scheduling asap
}
task software_testing "Software testing" {
depends accounting.software
task alpha "Alpha Test" {
plan:start 2010-11-02-09:00:00--0500
plan:end 2010-11-08-18:00:00--0600
plan:scheduled
scheduling asap
}
task beta "Beta Test" {
depends accounting.software_testing.alpha
plan:start 2010-11-09-09:00:00--0600
plan:end 2010-11-22-18:00:00--0600
plan:scheduled
scheduling asap
}
scheduling asap
}
task manual "Manual" {
depends accounting.milestones.project
plan:start 2010-09-06-09:00:00--0500
plan:end 2010-12-07-14:00:00--0600
plan:scheduled
scheduling asap
}
task milestones "Milestones" {
task project "Project start" {
start 2010-09-06
end 2010-09-06
plan:scheduled
milestone
scheduling asap
}
task technology "Technology Preview" {
depends accounting.software.back_end
start 2010-10-08
end 2010-10-08
plan:scheduled
milestone
scheduling asap
}
task beta "Beta version" {
depends accounting.software_testing.alpha
start 2010-11-09
end 2010-11-09
plan:scheduled
milestone
scheduling asap
}
task ship "Ship Product to Customer" {
depends accounting.software_testing.beta, accounting.manual
start 2010-12-08
end 2010-12-08
plan:scheduled
milestone
scheduling asap
}
scheduling asap
}
scheduling asap
}
supplement task accounting {
supplement task specification {
}
supplement task software {
supplement task database {
}
supplement task back_end {
}
supplement task graphical {
}
}
supplement task software_testing {
supplement task alpha {
}
supplement task beta {
}
}
supplement task manual {
}
supplement task milestones {
supplement task project {
}
supplement task technology {
}
supplement task beta {
}
supplement task ship {
}
}
priority 500
}
supplement resource klaus {
plan:booking accounting.specification
2010-09-06-09:00:00--0500 +3h,
2010-09-06-13:00:00--0500 +5h,
2010-09-07-09:00:00--0500 +3h,
2010-09-07-13:00:00--0500 +5h,
2010-09-08-09:00:00--0500 +3h,
2010-09-08-13:00:00--0500 +5h,
2010-09-09-09:00:00--0500 +3h,
2010-09-09-13:00:00--0500 +5h,
2010-09-10-09:00:00--0500 +3h,
2010-09-10-13:00:00--0500 +5h,
2010-09-13-09:00:00--0500 +3h,
2010-09-13-13:00:00--0500 +5h,
2010-09-14-09:00:00--0500 +3h,
2010-09-14-13:00:00--0500 +3h { overtime 2 }
plan:booking accounting.software.database
2010-09-14-16:00:00--0500 +2h,
2010-09-15-09:00:00--0500 +3h,
2010-09-15-13:00:00--0500 +5h,
2010-09-16-09:00:00--0500 +3h,
2010-09-16-13:00:00--0500 +5h,
2010-09-17-09:00:00--0500 +3h,
2010-09-17-13:00:00--0500 +5h,
2010-09-20-09:00:00--0500 +3h,
2010-09-20-13:00:00--0500 +5h,
2010-09-21-09:00:00--0500 +3h,
2010-09-21-13:00:00--0500 +5h,
2010-09-22-09:00:00--0500 +3h,
2010-09-22-13:00:00--0500 +5h,
2010-09-23-09:00:00--0500 +3h,
2010-09-23-13:00:00--0500 +1h { overtime 2 }
plan:booking accounting.software.back_end
2010-09-23-14:00:00--0500 +4h,
2010-09-24-09:00:00--0500 +3h,
2010-09-24-13:00:00--0500 +5h,
2010-09-27-09:00:00--0500 +3h,
2010-09-27-13:00:00--0500 +5h,
2010-09-28-09:00:00--0500 +3h,
2010-09-28-13:00:00--0500 +5h,
2010-09-29-09:00:00--0500 +3h,
2010-09-29-13:00:00--0500 +5h,
2010-09-30-09:00:00--0500 +3h,
2010-09-30-13:00:00--0500 +5h,
2010-10-01-09:00:00--0500 +3h,
2010-10-01-13:00:00--0500 +5h,
2010-10-04-09:00:00--0500 +3h,
2010-10-04-13:00:00--0500 +5h,
2010-10-05-09:00:00--0500 +3h,
2010-10-05-13:00:00--0500 +5h,
2010-10-06-09:00:00--0500 +3h,
2010-10-06-13:00:00--0500 +5h,
2010-10-07-09:00:00--0500 +3h,
2010-10-07-13:00:00--0500 +1h
}
supplement resource paul {
plan:booking accounting.specification
2010-09-06-09:00:00--0500 +3h,
2010-09-06-13:00:00--0500 +5h,
2010-09-07-09:00:00--0500 +3h,
2010-09-07-13:00:00--0500 +5h,
2010-09-08-09:00:00--0500 +3h,
2010-09-08-13:00:00--0500 +5h,
2010-09-09-09:00:00--0500 +3h,
2010-09-09-13:00:00--0500 +5h,
2010-09-10-09:00:00--0500 +3h,
2010-09-10-13:00:00--0500 +5h,
2010-09-13-09:00:00--0500 +3h,
2010-09-13-13:00:00--0500 +5h,
2010-09-14-09:00:00--0500 +3h,
2010-09-14-13:00:00--0500 +3h { overtime 2 }
plan:booking accounting.software.database
2010-09-14-16:00:00--0500 +2h,
2010-09-15-09:00:00--0500 +3h,
2010-09-15-13:00:00--0500 +5h,
2010-09-16-09:00:00--0500 +3h,
2010-09-16-13:00:00--0500 +5h,
2010-09-17-09:00:00--0500 +3h,
2010-09-17-13:00:00--0500 +5h,
2010-09-20-09:00:00--0500 +3h,
2010-09-20-13:00:00--0500 +5h,
2010-09-21-09:00:00--0500 +3h,
2010-09-21-13:00:00--0500 +5h,
2010-09-22-09:00:00--0500 +3h,
2010-09-22-13:00:00--0500 +5h,
2010-09-23-09:00:00--0500 +3h,
2010-09-23-13:00:00--0500 +1h { overtime 2 }
plan:booking accounting.software.back_end
2010-09-23-14:00:00--0500 +4h,
2010-09-24-09:00:00--0500 +3h,
2010-09-24-13:00:00--0500 +5h,
2010-09-27-09:00:00--0500 +3h,
2010-09-27-13:00:00--0500 +5h,
2010-09-28-09:00:00--0500 +3h,
2010-09-28-13:00:00--0500 +5h,
2010-09-29-09:00:00--0500 +3h,
2010-09-29-13:00:00--0500 +5h,
2010-09-30-09:00:00--0500 +3h,
2010-09-30-13:00:00--0500 +5h,
2010-10-01-09:00:00--0500 +3h,
2010-10-01-13:00:00--0500 +5h,
2010-10-04-09:00:00--0500 +3h,
2010-10-04-13:00:00--0500 +5h,
2010-10-05-09:00:00--0500 +3h,
2010-10-05-13:00:00--0500 +5h,
2010-10-06-09:00:00--0500 +3h,
2010-10-06-13:00:00--0500 +5h,
2010-10-07-09:00:00--0500 +3h,
2010-10-07-13:00:00--0500 +1h { overtime 2 }
plan:booking accounting.software.graphical
2010-10-07-14:00:00--0500 +4h,
2010-10-08-09:00:00--0500 +3h,
2010-10-08-13:00:00--0500 +5h,
2010-10-11-09:00:00--0500 +3h,
2010-10-11-13:00:00--0500 +5h,
2010-10-12-09:00:00--0500 +3h,
2010-10-12-13:00:00--0500 +5h,
2010-10-13-09:00:00--0500 +3h,
2010-10-13-13:00:00--0500 +5h,
2010-10-14-09:00:00--0500 +3h,
2010-10-14-13:00:00--0500 +5h,
2010-10-15-09:00:00--0500 +3h,
2010-10-15-13:00:00--0500 +5h,
2010-10-18-09:00:00--0500 +3h,
2010-10-18-13:00:00--0500 +5h,
2010-10-19-09:00:00--0500 +3h,
2010-10-19-13:00:00--0500 +5h,
2010-10-20-09:00:00--0500 +3h,
2010-10-20-13:00:00--0500 +5h,
2010-10-21-09:00:00--0500 +3h,
2010-10-21-13:00:00--0500 +5h,
2010-10-22-09:00:00--0500 +3h,
2010-10-22-13:00:00--0500 +5h,
2010-10-25-09:00:00--0500 +3h,
2010-10-25-13:00:00--0500 +5h,
2010-10-26-09:00:00--0500 +3h,
2010-10-26-13:00:00--0500 +5h,
2010-10-27-09:00:00--0500 +3h,
2010-10-27-13:00:00--0500 +5h,
2010-10-28-09:00:00--0500 +3h,
2010-10-28-13:00:00--0500 +5h,
2010-10-29-09:00:00--0500 +3h,
2010-10-29-13:00:00--0500 +5h,
2010-11-01-09:00:00--0500 +3h,
2010-11-01-13:00:00--0500 +5h { overtime 2 }
plan:booking accounting.software_testing.beta
2010-11-09-09:00:00--0600 +3h,
2010-11-09-13:00:00--0600 +5h,
2010-11-10-09:00:00--0600 +3h,
2010-11-10-13:00:00--0600 +5h,
2010-11-11-09:00:00--0600 +3h,
2010-11-11-13:00:00--0600 +5h,
2010-11-12-09:00:00--0600 +3h,
2010-11-12-13:00:00--0600 +5h,
2010-11-15-09:00:00--0600 +3h,
2010-11-15-13:00:00--0600 +5h,
2010-11-16-09:00:00--0600 +3h,
2010-11-16-13:00:00--0600 +5h,
2010-11-17-09:00:00--0600 +3h,
2010-11-17-13:00:00--0600 +5h,
2010-11-18-09:00:00--0600 +3h,
2010-11-18-13:00:00--0600 +5h,
2010-11-19-09:00:00--0600 +3h,
2010-11-19-13:00:00--0600 +5h,
2010-11-22-09:00:00--0600 +3h,
2010-11-22-13:00:00--0600 +5h
}
supplement resource seb {
plan:booking accounting.specification
2010-09-06-09:00:00--0500 +3h,
2010-09-06-13:00:00--0500 +5h,
2010-09-07-09:00:00--0500 +3h,
2010-09-07-13:00:00--0500 +5h,
2010-09-08-09:00:00--0500 +3h,
2010-09-08-13:00:00--0500 +5h,
2010-09-09-09:00:00--0500 +3h,
2010-09-09-13:00:00--0500 +5h,
2010-09-10-09:00:00--0500 +3h,
2010-09-10-13:00:00--0500 +5h,
2010-09-13-09:00:00--0500 +3h,
2010-09-13-13:00:00--0500 +5h,
2010-09-14-09:00:00--0500 +3h,
2010-09-14-13:00:00--0500 +3h { overtime 2 }
plan:booking accounting.software.database
2010-09-14-16:00:00--0500 +2h,
2010-09-15-09:00:00--0500 +3h,
2010-09-15-13:00:00--0500 +5h,
2010-09-16-09:00:00--0500 +3h,
2010-09-16-13:00:00--0500 +5h,
2010-09-17-09:00:00--0500 +3h,
2010-09-17-13:00:00--0500 +5h,
2010-09-20-09:00:00--0500 +3h,
2010-09-20-13:00:00--0500 +5h,
2010-09-21-09:00:00--0500 +3h,
2010-09-21-13:00:00--0500 +5h,
2010-09-22-09:00:00--0500 +3h,
2010-09-22-13:00:00--0500 +5h,
2010-09-23-09:00:00--0500 +3h,
2010-09-23-13:00:00--0500 +1h { overtime 2 }
plan:booking accounting.software.back_end
2010-09-23-14:00:00--0500 +4h,
2010-09-24-09:00:00--0500 +3h,
2010-09-24-13:00:00--0500 +5h,
2010-09-27-09:00:00--0500 +3h,
2010-09-27-13:00:00--0500 +5h,
2010-09-28-09:00:00--0500 +3h,
2010-09-28-13:00:00--0500 +5h,
2010-09-29-09:00:00--0500 +3h,
2010-09-29-13:00:00--0500 +5h,
2010-09-30-09:00:00--0500 +3h,
2010-09-30-13:00:00--0500 +5h,
2010-10-01-09:00:00--0500 +3h,
2010-10-01-13:00:00--0500 +5h,
2010-10-04-09:00:00--0500 +3h,
2010-10-04-13:00:00--0500 +5h,
2010-10-05-09:00:00--0500 +3h,
2010-10-05-13:00:00--0500 +5h,
2010-10-06-09:00:00--0500 +3h,
2010-10-06-13:00:00--0500 +5h,
2010-10-07-09:00:00--0500 +3h,
2010-10-07-13:00:00--0500 +1h { overtime 2 }
plan:booking accounting.software.graphical
2010-10-07-14:00:00--0500 +4h,
2010-10-08-09:00:00--0500 +3h,
2010-10-08-13:00:00--0500 +5h,
2010-10-11-09:00:00--0500 +3h,
2010-10-11-13:00:00--0500 +5h,
2010-10-12-09:00:00--0500 +3h,
2010-10-12-13:00:00--0500 +5h,
2010-10-13-09:00:00--0500 +3h,
2010-10-13-13:00:00--0500 +5h,
2010-10-14-09:00:00--0500 +3h,
2010-10-14-13:00:00--0500 +5h,
2010-10-15-09:00:00--0500 +3h,
2010-10-15-13:00:00--0500 +5h,
2010-10-18-09:00:00--0500 +3h,
2010-10-18-13:00:00--0500 +5h,
2010-10-19-09:00:00--0500 +3h,
2010-10-19-13:00:00--0500 +5h,
2010-10-20-09:00:00--0500 +3h,
2010-10-20-13:00:00--0500 +5h,
2010-10-21-09:00:00--0500 +3h,
2010-10-21-13:00:00--0500 +5h,
2010-10-22-09:00:00--0500 +3h,
2010-10-22-13:00:00--0500 +5h,
2010-10-25-09:00:00--0500 +3h,
2010-10-25-13:00:00--0500 +5h,
2010-10-26-09:00:00--0500 +3h,
2010-10-26-13:00:00--0500 +5h,
2010-10-27-09:00:00--0500 +3h,
2010-10-27-13:00:00--0500 +5h,
2010-10-28-09:00:00--0500 +3h,
2010-10-28-13:00:00--0500 +5h,
2010-10-29-09:00:00--0500 +3h,
2010-10-29-13:00:00--0500 +5h,
2010-11-01-09:00:00--0500 +3h,
2010-11-01-13:00:00--0500 +5h
}
supplement resource doc {
plan:booking accounting.manual
2010-09-06-09:00:00--0500 +3h,
2010-09-06-13:00:00--0500 +3h,
2010-09-07-09:00:00--0500 +3h,
2010-09-07-13:00:00--0500 +3h,
2010-09-08-09:00:00--0500 +3h,
2010-09-08-13:00:00--0500 +3h,
2010-09-09-09:00:00--0500 +3h,
2010-09-09-13:00:00--0500 +3h,
2010-09-10-09:00:00--0500 +3h,
2010-09-10-13:00:00--0500 +3h,
2010-09-13-09:00:00--0500 +3h,
2010-09-13-13:00:00--0500 +3h,
2010-09-14-09:00:00--0500 +3h,
2010-09-14-13:00:00--0500 +3h,
2010-09-15-09:00:00--0500 +3h,
2010-09-15-13:00:00--0500 +3h,
2010-09-16-09:00:00--0500 +3h,
2010-09-16-13:00:00--0500 +3h,
2010-09-17-09:00:00--0500 +3h,
2010-09-17-13:00:00--0500 +3h,
2010-09-20-09:00:00--0500 +3h,
2010-09-20-13:00:00--0500 +3h,
2010-09-21-09:00:00--0500 +3h,
2010-09-21-13:00:00--0500 +3h,
2010-09-22-09:00:00--0500 +3h,
2010-09-22-13:00:00--0500 +3h,
2010-09-23-09:00:00--0500 +3h,
2010-09-23-13:00:00--0500 +3h,
2010-09-24-09:00:00--0500 +3h,
2010-09-24-13:00:00--0500 +3h,
2010-09-27-09:00:00--0500 +3h,
2010-09-27-13:00:00--0500 +3h,
2010-09-28-09:00:00--0500 +3h,
2010-09-28-13:00:00--0500 +3h,
2010-09-29-09:00:00--0500 +3h,
2010-09-29-13:00:00--0500 +3h,
2010-09-30-09:00:00--0500 +3h,
2010-09-30-13:00:00--0500 +3h,
2010-10-01-09:00:00--0500 +3h,
2010-10-01-13:00:00--0500 +3h,
2010-10-04-09:00:00--0500 +3h,
2010-10-04-13:00:00--0500 +3h,
2010-10-05-09:00:00--0500 +3h,
2010-10-05-13:00:00--0500 +3h,
2010-10-06-09:00:00--0500 +3h,
2010-10-06-13:00:00--0500 +3h,
2010-10-07-09:00:00--0500 +3h,
2010-10-07-13:00:00--0500 +3h,
2010-10-08-09:00:00--0500 +3h,
2010-10-08-13:00:00--0500 +3h,
2010-10-11-09:00:00--0500 +3h,
2010-10-11-13:00:00--0500 +3h,
2010-10-12-09:00:00--0500 +3h,
2010-10-12-13:00:00--0500 +3h,
2010-10-13-09:00:00--0500 +3h,
2010-10-13-13:00:00--0500 +3h,
2010-10-14-09:00:00--0500 +3h,
2010-10-14-13:00:00--0500 +3h,
2010-10-15-09:00:00--0500 +3h,
2010-10-15-13:00:00--0500 +3h,
2010-10-18-09:00:00--0500 +3h,
2010-10-18-13:00:00--0500 +3h,
2010-10-19-09:00:00--0500 +3h,
2010-10-19-13:00:00--0500 +3h,
2010-10-20-09:00:00--0500 +3h,
2010-10-20-13:00:00--0500 +3h,
2010-10-21-09:00:00--0500 +3h,
2010-10-21-13:00:00--0500 +3h,
2010-10-22-09:00:00--0500 +3h,
2010-10-22-13:00:00--0500 +3h,
2010-10-25-09:00:00--0500 +3h,
2010-10-25-13:00:00--0500 +3h,
2010-10-26-09:00:00--0500 +3h,
2010-10-26-13:00:00--0500 +3h,
2010-10-27-09:00:00--0500 +3h,
2010-10-27-13:00:00--0500 +3h,
2010-10-28-09:00:00--0500 +3h,
2010-10-28-13:00:00--0500 +3h,
2010-10-29-09:00:00--0500 +3h,
2010-10-29-13:00:00--0500 +3h,
2010-11-01-09:00:00--0500 +3h,
2010-11-01-13:00:00--0500 +3h,
2010-11-02-09:00:00--0500 +3h,
2010-11-02-13:00:00--0500 +3h,
2010-11-03-09:00:00--0500 +3h,
2010-11-03-13:00:00--0500 +3h,
2010-11-04-09:00:00--0500 +3h,
2010-11-04-13:00:00--0500 +3h,
2010-11-05-09:00:00--0500 +3h,
2010-11-05-13:00:00--0500 +3h,
2010-11-08-09:00:00--0600 +3h,
2010-11-08-13:00:00--0600 +3h,
2010-11-09-09:00:00--0600 +3h,
2010-11-09-13:00:00--0600 +3h,
2010-11-10-09:00:00--0600 +3h,
2010-11-10-13:00:00--0600 +3h,
2010-11-11-09:00:00--0600 +3h,
2010-11-11-13:00:00--0600 +3h,
2010-11-12-09:00:00--0600 +3h,
2010-11-12-13:00:00--0600 +3h,
2010-11-15-09:00:00--0600 +3h,
2010-11-15-13:00:00--0600 +3h,
2010-11-16-09:00:00--0600 +3h,
2010-11-16-13:00:00--0600 +3h,
2010-11-17-09:00:00--0600 +3h,
2010-11-17-13:00:00--0600 +3h,
2010-11-18-09:00:00--0600 +3h,
2010-11-18-13:00:00--0600 +3h,
2010-11-19-09:00:00--0600 +3h,
2010-11-19-13:00:00--0600 +3h,
2010-11-22-09:00:00--0600 +3h,
2010-11-22-13:00:00--0600 +3h,
2010-11-23-09:00:00--0600 +3h,
2010-11-23-13:00:00--0600 +3h,
2010-11-24-09:00:00--0600 +3h,
2010-11-24-13:00:00--0600 +3h,
2010-11-25-09:00:00--0600 +3h,
2010-11-25-13:00:00--0600 +3h,
2010-11-26-09:00:00--0600 +3h,
2010-11-26-13:00:00--0600 +3h,
2010-11-29-09:00:00--0600 +3h,
2010-11-29-13:00:00--0600 +3h,
2010-11-30-09:00:00--0600 +3h,
2010-11-30-13:00:00--0600 +3h,
2010-12-01-09:00:00--0600 +3h,
2010-12-01-13:00:00--0600 +3h,
2010-12-02-09:00:00--0600 +3h,
2010-12-02-13:00:00--0600 +3h,
2010-12-03-09:00:00--0600 +3h,
2010-12-03-13:00:00--0600 +3h,
2010-12-06-09:00:00--0600 +3h,
2010-12-06-13:00:00--0600 +3h,
2010-12-07-09:00:00--0600 +3h,
2010-12-07-13:00:00--0600 +1h
}
supplement resource test {
plan:booking accounting.software_testing.alpha
2010-11-02-09:00:00--0500 +3h,
2010-11-02-13:00:00--0500 +5h,
2010-11-03-09:00:00--0500 +3h,
2010-11-03-13:00:00--0500 +5h,
2010-11-04-09:00:00--0500 +3h,
2010-11-04-13:00:00--0500 +5h,
2010-11-05-09:00:00--0500 +3h,
2010-11-05-13:00:00--0500 +5h,
2010-11-08-09:00:00--0600 +3h,
2010-11-08-13:00:00--0600 +5h { overtime 2 }
plan:booking accounting.software_testing.beta
2010-11-09-09:00:00--0600 +3h,
2010-11-09-13:00:00--0600 +5h,
2010-11-10-09:00:00--0600 +3h,
2010-11-10-13:00:00--0600 +5h,
2010-11-11-09:00:00--0600 +3h,
2010-11-11-13:00:00--0600 +5h,
2010-11-12-09:00:00--0600 +3h,
2010-11-12-13:00:00--0600 +5h,
2010-11-15-09:00:00--0600 +3h,
2010-11-15-13:00:00--0600 +5h,
2010-11-16-09:00:00--0600 +3h,
2010-11-16-13:00:00--0600 +5h,
2010-11-17-09:00:00--0600 +3h,
2010-11-17-13:00:00--0600 +5h,
2010-11-18-09:00:00--0600 +3h,
2010-11-18-13:00:00--0600 +5h,
2010-11-19-09:00:00--0600 +3h,
2010-11-19-13:00:00--0600 +5h,
2010-11-22-09:00:00--0600 +3h,
2010-11-22-13:00:00--0600 +5h
}
navigator navbar {
hidereport 0
}
macro TaskTip [
tooltip istask() -8<-
'''Start: ''' <-query attribute='start'->
'''End: ''' <-query attribute='end'->
----
'''Resources:'''
<-query attribute='resources'->
----
'''Precursors: '''
<-query attribute='precursors'->
----
'''Followers: '''
<-query attribute='followers'->
->8-
]
textreport frame "" {
header -8<-
== Accounting Software Project ==
----
<[navigator id="navbar"]>
----
->8-
footer "----"
textreport index "Overview" {
formats html
center '<[report id="overview"]>'
}
textreport "Status" {
formats html
center -8<-
<[report id="status.dashboard"]>
----
<[report id="status.completed"]>
----
<[report id="status.ongoing"]>
----
<[report id="status.future"]>
->8-
}
textreport development "Development" {
formats html
center '<[report id="development"]>'
}
textreport "Deliveries" {
formats html
center '<[report id="deliveries"]>'
}
textreport "ContactList" {
formats html
title "Contact List"
center '<[report id="contactList"]>'
}
textreport "ResourceGraph" {
formats html
title "Resource Graph"
center '<[report id="resourceGraph"]>'
}
}
# A traditional Gantt chart with a project overview.
taskreport overview "" {
header -8<-
=== Project Overview ===
The project is structured into 3 phases.
# Specification
# <-reportlink id='frame.development'->
# Testing
=== Original Project Plan ===
->8-
columns hierarchindex,
name, start, end, effort, duration, cost,
revenue, chart { ${TaskTip} }
# For this report we like to have the abbreviated weekday in front
# of the date. %a is the tag for this.
timeformat "%a %Y-%m-%d"
loadunit days
hideresource 1
caption 'All effort values are in man days.'
footer -8<-
=== Staffing ===
All project phases are properly staffed. See [[ResourceGraph]] for
detailed resource allocations.
=== Current Status ===
The project started off with a delay of 4 days. This slightly affected
the original schedule. See [[Deliveries]] for the impact on the
delivery dates.
->8-
}
# Macro to set the background color of a cell according to the alert
# level of the task.
macro AlertColor [
cellcolor plan.alert = 0 "#00D000" # green
cellcolor plan.alert = 1 "#D0D000" # yellow
cellcolor plan.alert = 2 "#D00000" # red
]
taskreport status "" {
columns wbs, name, start, end, effort, alert { tooltip plan.journal
!= '' "<-query attribute='journal'->" }, status
taskreport dashboard "" {
headline "Project Dashboard (<-query attribute='now'->)"
columns name { title "Task" ${AlertColor} },
resources { width 200 ${AlertColor}
start ${projectstart} end ${projectend} },
alerttrend { title "Trend" ${AlertColor} },
journalmessages { width 260 ${AlertColor} }
hidetask ~hasalert(0)
sorttasks alert.down
period %{${now} - 1w} +1w
}
taskreport completed "" {
headline "Already completed tasks"
}
taskreport ongoing "" {
headline "Ongoing tasks"
}
taskreport future "" {
headline "Future tasks"
}
}
# A list of tasks showing the resources assigned to each task.
taskreport development "" {
headline "Development - Resource Allocation Report"
columns hierarchindex, name, start, end, effort { title "Work" },
duration, chart { ${TaskTip} scale day width 500 }
timeformat "%Y-%m-%d"
hideresource ~(isleaf() & isleaf_())
sortresources name.up
}
# A list of all tasks with the percentage completed for each task
taskreport deliveries "" {
headline "Project Deliverables"
columns hierarchindex, name, start, end, note { width 150 }, complete,
chart { ${TaskTip} }
taskroot accounting.milestones
hideresource 1
}
# A list of all employees with their contact details.
resourcereport contactList "" {
headline "Contact list and duty plan"
columns name,
email { celltext 1 "[mailto:<-email-> <-email->]" },
chart { scale day }
hideresource ~isleaf()
sortresources name.up
hidetask 1
}
# A graph showing resource allocation. It identifies whether each
# resource is under- or over-allocated for.
resourcereport resourceGraph "" {
headline "Resource Allocation Graph"
columns no, name, effort, rate, weekly { ${TaskTip} }
loadunit shortauto
# We only like to show leaf tasks for leaf resources.
hidetask ~(isleaf() & isleaf_())
sorttasks plan.start.up
}
[-- Attachment #3: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread