Rainer M Krug <r.m.k...@gmail.com> writes: > But I am not clear about > > 1) how your .org file looks > 2) your reports.tji looks > 3) what I have to set in emacs / org variables to use tj3. > > Would it be possible to post a small basic example so that one has > something to start working with? I still feel lost.
I attached a sample org file (basically the one from the worg page) that also sets (as file variables) the two variables that you need to set. Also I attached the reports.tji that I'm using. This should answer your question 1 and 2. As for question 3: If you take the attached org files all the relevant variables are set for you. If you do it manually you'll have to set org-export-taskjuggler-target-version and org-export-taskjuggler-default-reports. Let me know if the attached files work for you out of the box. I have some small local changes to the taskjuggler exporter but AFAIK they should not influence this. Thanks Christian
#+PROPERTY: Effort_ALL 2d 5d 10d 20d 30d 35d 50d #+PROPERTY: allocate_ALL dev doc test #+COLUMNS: %30ITEM(Task) %Effort %allocate %BLOCKER %ORDERED * Accounting Software :taskjuggler_project: ** Specification :PROPERTIES: :Effort: 20d :BLOCKER: start :allocate: dev :END: ** Software Development :PROPERTIES: :ORDERED: t :BLOCKER: previous-sibling :priority: 1000 :allocate: dev :END: *** Database coupling :PROPERTIES: :Effort: 20d :END: *** Back-End Functions :PROPERTIES: :Effort: 30d :task_id: back_end :END: *** Graphical User Interface :PROPERTIES: :Effort: 35d :allocate: paul, seb :END: ** Software testing :PROPERTIES: :ORDERED: t :BLOCKER: previous-sibling :allocate: test :END: *** Alpha Test :PROPERTIES: :Effort: 5d :task_id: alpha :END: *** Beta Test :PROPERTIES: :Effort: 20d :task_id: beta :allocate: test, paul :END: ** Manual :PROPERTIES: :Effort: 50d :task_id: manual :BLOCKER: start :allocate: doc :END: ** Milestones *** Project start :PROPERTIES: :task_id: start :END: *** Technology Preview :PROPERTIES: :BLOCKER: back_end :END: *** Beta version :PROPERTIES: :BLOCKER: alpha :END: *** Ship Product to Customer :PROPERTIES: :BLOCKER: beta manual :END: * Resources :taskjuggler_resource: ** Developers :PROPERTIES: :resource_id: dev :END: *** Paul Smith :PROPERTIES: :resource_id: paul :END: *** Sébastien Bono :PROPERTIES: :resource_id: seb :END: *** Klaus Müller ** Others *** Peter Murphy :PROPERTIES: :resource_id: doc :limits: { dailymax 6.4h } :END: *** Dim Sung :PROPERTIES: :resource_id: test :END: * File Variables # Local Variables: # org-export-taskjuggler-target-version: 3.0 # org-export-taskjuggler-default-reports: ("include \"reports.tji\"") # compile-command: "~/.gem/ruby/1.9.1/bin/tj3 foo.tjp" # End:
textreport report "Plan" { formats html header '== <-query attribute="name"-> ==' center -8<- [#Plan Plan] | [#Status Status] | [#Resource_Allocation Resource Allocation] ---- === Plan === <[report id="plan"]> ---- === Status === <[report id="status.completed"]> ---- <[report id="status.ongoing"]> ---- <[report id="status.future"]> ---- === Resource Allocation === <[report id="resourceGraph"]> ->8- } # A traditional Gantt chart with a project overview. taskreport plan "" { headline "Project Plan" columns bsi, name, start, end, effort, chart loadunit shortauto hideresource 1 } taskreport status "" { columns bsi, name { width 150 }, start { width 100 }, end { width 100 }, effort { width 75 }, status { width 75 }, gauge {width 150 } loadunit shortauto taskreport completed "" { headline "Completed tasks" hidetask plan.complete < 100.0 sorttasks plan.start.up } taskreport ongoing "" { headline "Ongoing tasks" hidetask ~(isleaf() & (plan.start <= ${now}) & (plan.complete < 100.0)) } taskreport future "" { headline "Future tasks" hidetask ~(plan.start > ${now} & (plan.complete < 100.0)) } } # 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, weekly loadunit shortauto hidetask ~(isleaf() & isleaf_()) sorttasks plan.start.up }
-- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland ----- Neu bei der SBS: 9000 Buecher kaufen oder schenken. Mehr dazu finden Sie unter http://www.sbs.ch/verkauf