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>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [Taskjuggler] Status of exporter
Date: Thu, 2 May 2013 16:56:47 -0500	[thread overview]
Message-ID: <CA+M2ft8oj_sNByEAQcwjYf62rR-EOpPJkn+ciy60rwSUwW8ViA@mail.gmail.com> (raw)
In-Reply-To: <8761z1gmps.fsf@ucl.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 2313 bytes --]

On Thu, May 2, 2013 at 3:18 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> Christian,
>
> I must be doing something really silly (not unheard of ;-) but I just
> cannot get the new tj3 exporter to work.  With an up to date org (as of
> a few minutes ago), using the example from the tutorial but also an
> example from Baptiste from last week, I get the following error message
> when I try to export and open:
>
> ,----
> | Saving file /tmp/x.tjp...
> | Wrote /tmp/x.tjp
> | Processing TaskJuggler file ./x.tjp...
> | /tmp/x.tjp:26: Error: Unexpected token '==' found. Expecting one of :HTMLBLOB, :WORD, :REF, :HREF, :INLINEFUNCSTART, :ITALIC, :BOLD, :CODE, :BOLDITALIC, :FCOLSTART
> | ==  ==
> | if: TaskJuggler failed with errors: Error: Unexpected token '==' found. Expecting one of :HTMLBLOB, :WORD, :REF, :HREF, :INLINEFUNCSTART, :ITALIC, :BOLD, :CODE, :BOLDITALIC, :FCOLSTART
> `----
>
> I have TJ 3.4.0 and Ruby 1.9.1 installed on an Ubuntu system.
>
> I have attached the x.org and x.tjp files in case they prove useful.
>

Yeah, something's goofy with your report syntax, but I've just kind of
used the TJ3 report from their tutorial and tweaked it. I attached my
default report file which just gives me a gantt chart. I don't really
use the resource allocation much since I'm on a team for which I'm not
the manager of people's time and don't really have an idea of what %
of their overall load is dedicated to the project we work on together.
I'm interested in those assigned to a task and durations/estimates...
but not really what their overall load is.

Anyway, the .tji attached has a lot of stuff commented out that was in
the actual tj3 tutorial file. I left it for you so you can see some of
the other functionality they use, but I've turned it off as I'm just
not there yet and don't have time to learn more at the moment.


Hope that helps!
John

> Any pointers would be most welcome.  I find that I need to create a
> GANTT chart and, although I could use code I posted here a long time ago
> for creating charts from org tables, I thought I'd revisit TJ...  the
> aim would be to actually use TJ eventually for some of the project
> management, from org obviously.
>
> Thanks,
> eric
>
> --
> : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
> : in Emacs 24.3.50.1 and Org release_8.0.2-60-g713208

[-- Attachment #2: reports.tji --]
[-- Type: application/octet-stream, Size: 3611 bytes --]

### begin report definition
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'->
    ----
    '''Notes: '''

    <-query attribute='note'->
    ->8-
]

navigator navbar {
  hidereport 0
}

textreport frame "" {
  header -8<-
    == Project Plan ==
    <[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-
#  }

}


    # === Project Overview ===

    # Project Areas

    # * Technical Development
    # * Business Items
    # * NPI Deliverables
    # * Milestones


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

#  columns bsi { title 'WBS' },
#          name, start, end, duration, status, chart { ${TaskTip} }

  # For this report we like to have the abbreviated weekday in front
  # of the date. %a is the tag for this.
  timeformat "%Y-%m-%d"
  loadunit days
  hideresource 1
  sorttasks tree
  #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-
}

# taskreport printout "Print" {
#            formats csv
#            columns id, name, duration, start, complete, precursors
#       }


#macro AlertColor [
#  cellcolor plan.alert = 0 "#00D000" # green
#  cellcolor plan.alert = 1 "#D0D000" # yellow
#  cellcolor plan.alert = 2 "#D00000" # red
#]

#taskreport status "" {
#  columns bsi { width 50 title 'WBS' }, name { width 150 },
#          start { width 100 }, end { width 100 },
#          duration { width 100 },
#          alert { tooltip plan.journal
#                          != '' "<-query attribute='journal'->" width 150 },
#          status { width 150 }

#  taskreport dashboard "" {
#    headline "Project Dashboard (<-query attribute='now'->)"
#    columns name { title "Task" ${AlertColor} width 200},
#            resources { width 200 ${AlertColor}
#                        listtype bullets
#                        listitem "<-query attribute='name'->"
#                        start ${projectstart} end ${projectend} },
#            alerttrend { title "Trend" ${AlertColor} width 50 },
#            journal { width 350 ${AlertColor} }
#    journalmode status_up
#    journalattributes headline, author, date, summary, details
#    hidetask ~hasalert(0)
#    sorttasks alert.down, plan.end.up
#    period %{${now} - 1w} +1w
#  }
#  taskreport completed "" {
#    headline "Already completed tasks"
#    hidetask ~(plan.end <= ${now})
#  }
#  taskreport ongoing "" {
#    headline "Ongoing tasks"
#    hidetask ~((plan.start <= ${now}) & (plan.end > ${now}))
#  }
#  taskreport future "" {
#    headline "Future tasks"
#    hidetask ~(plan.start > ${now})
#  }
#}


### end report definition 

  reply	other threads:[~2013-05-02 21:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-29 20:52 [Taskjuggler] Status of exporter Christian Egli
2013-05-01 20:54 ` Carsten Dominik
2013-05-02 20:18 ` Eric S Fraga
2013-05-02 21:56   ` John Hendy [this message]
2013-05-03  7:41     ` Eric S Fraga
2013-05-03 10:20   ` Christian Egli
2013-05-03 14:38     ` Eric S Fraga
2013-05-03 15:19       ` Christian Egli
2013-05-03 19:46         ` Eric S Fraga
2013-05-03 20:40         ` Christian Egli
     [not found]           ` <51B5F967.1040905@dayspringpublisher.com>
2013-06-10 16:09             ` Org-mode and Taskjuggler Louis Turk
2013-06-11  8:46             ` Christian Egli
2013-06-11 12:20               ` John Hendy
2013-06-13  4:38               ` Louis Turk
2013-06-13  5:21                 ` Nick Dokos
2013-06-14 20:21                   ` Louis Turk
2013-06-14 20:31                     ` Nick Dokos
2013-06-13 13:06                 ` John Hendy
2013-06-13 15:06                   ` Christian Egli
2013-06-14 21:29                   ` Louis Turk
2013-05-03 15:53     ` [Taskjuggler] Status of exporter Eric S Fraga

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+M2ft8oj_sNByEAQcwjYf62rR-EOpPJkn+ciy60rwSUwW8ViA@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).