emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Christian Egli <christian.egli@sbs.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: taskjuggler (tj3) export issues and proposals
Date: Wed, 1 Feb 2012 11:47:31 -0600	[thread overview]
Message-ID: <CA+M2ft8PZH3s_ro9-cBmoyhChfP8GBXmRZOuzntwtyJAqCL60A@mail.gmail.com> (raw)
In-Reply-To: <87pqdyr1lz.fsf@sbs.ch>

2012/2/1 Christian Egli <christian.egli@sbs.ch>:
> Rainer M Krug <r.m.krug@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.

Exports fine, but I get this error:
----------
$ tj3 foo.tjp
TaskJuggler III v3.0.0 - A Project Management Software

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011
              by Chris Schlaeger <chris@linux.com>

This program is free software; you can redistribute it and/or modify it under
the terms of version 2 of the GNU General Public License as published by the
Free Software Foundation.

./reports.tji:33: Error: Unexpected token 'gauge' found. Expecting one
of 'alert', 'alertmessages', 'alertsummaries', 'alerttrend', 'chart',
'complete', 'completed', 'criticalness', 'cost', 'daily',
'directreports', 'duration', 'duties', 'efficiency', 'effort',
'effortdone', 'effortleft', 'email', 'end', 'flags', 'followers',
'freetime', 'freework', 'fte', 'headcount', 'hierarchindex', 'hourly',
'id', 'index', 'inputs', 'journal', 'journal_sub', 'journalmessages',
'journalsummaries', 'line', 'managers', 'maxend', 'maxstart',
'minend', 'minstart', 'monthly', 'no', 'name', 'note',
'pathcriticalness', 'precursors', 'priority', 'quarterly', 'rate',
'reports', 'resources', 'responsible', 'revenue', 'scenario', 'seqno',
'start', 'status', 'targets', 'wbs', 'bsi', 'weekly', 'yearly'
          effort { width 75 }, status { width 75 }, gauge
----------

Commenting out your report.tji like so works:
----------
taskreport status "" {
  columns bsi, name { width 150 }, start { width 100 }, end { width 100 },
          effort { width 75 }, status { width 75 } # commented out ",
gauge {width 150 }"
[...]
----------

>
> 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.

Is gauge in your tweaks or is this a tj 2.x.x specific syntax?

By the way, nice report! I'm still trying to learn the syntax and how
to hide/show different things. Yours is great.


Thanks,
John

>
> Thanks
> Christian
>
>
>
> --
> 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
>

  reply	other threads:[~2012-02-01 17:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01  4:59 taskjuggler (tj3) export issues and proposals John Hendy
2012-02-01 14:09 ` Christian Egli
2012-02-01 14:18   ` Rainer M Krug
2012-02-01 15:20     ` John Hendy
2012-02-01 15:54     ` Christian Egli
2012-02-01 17:47       ` John Hendy [this message]
2012-02-02  7:10         ` Christian Egli
2012-02-02 15:49           ` John Hendy
2012-02-02 16:08             ` OT: taskjuggler question [was: Re: taskjuggler (tj3) export issues and proposals] Nick Dokos
2012-02-02 16:22               ` John Hendy
2012-02-02 16:24               ` OT: taskjuggler question Christian Egli
2012-02-02 17:13                 ` Nick Dokos
2012-02-01 18:36       ` taskjuggler (tj3) export issues and proposals Rainer M Krug
2012-02-01 15:07   ` John Hendy
2012-02-02  8:23     ` Christian Egli
2012-05-07  4:26 ` Eric S Fraga
2012-05-08  8:16   ` Bastien
2012-05-08  9:14     ` Eric Fraga
2012-05-08 14:36   ` John Hendy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+M2ft8PZH3s_ro9-cBmoyhChfP8GBXmRZOuzntwtyJAqCL60A@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=christian.egli@sbs.ch \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).