emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Proper settings for tj3 report directory/output?


From: John Hendy
Subject: [O] Proper settings for tj3 report directory/output?
Date: Wed, 29 Oct 2014 18:39:56 -0500

I just re-set up tj3 on a new work computer and am a bit puzzled by
the report directory structure.

Here's what I get when running C-e J j
~/working_dir/file.org
~/working_dir/file.tjp

If I use C-e J p instead, I get:
~/working_dir/file.org
~/working_dir/file.tjp
~/working_dir/reports/Overview.html
~/working_dir/reports/taskjuggler/{css,examples,icons,scripts}

Opening Overview.html doesn't pick up the css, though. I have to put
Overview.html inside of taskjuggler.

If I manuall run tj3 on the file, I get the same taskjuggler
directory, but Overview.html is generated inside of ~/working_dir
instead.

I'm a bit confused by both behaviors. The variables I've defined in .emacs are:

org-taskjuggler-target-version: 3.5
org-taskjuggler-default-reports: include "reports.tji" (custom report
I've defined)

As far as I know, these are relevant but left as the default that came with org:
org-taskjuggler-proces-command: "tj3 --silent --no-color --output-dir %o %f"
org-taskjuggler-reports-directory: "reports"

I don't think it matters... but here's my pretty simple gantt chart
reports.tji file used above:

#+begin_src reports.tji

textreport frame "" {
  header -8<-
    == Example report ==
    <[navigator id="navbar"]>
  ->8-
  footer "----"

 textreport index "Overview" {
    formats html
    center '<[report id="overview"]>'
  }

}

taskreport overview "" {
  header -8<-
    === Timeline/Deliverables ===
  ->8-
  columns bsi { title 'WBS' },
          name, start, duration, chart { width 1200 ${TaskTip} scale hour}

  # For this report we like to have the abbreviated weekday in front
  # of the date. %a is the tag for this.
  timeformat "%d %H:%M"
  period 2014-11-03-06:00 + 72h
  loadunit minutes
  hideresource 1
  sorttasks tree

}

#+end_src


Thanks for any suggestions,
John



reply via email to

[Prev in Thread] Current Thread [Next in Thread]