From mboxrd@z Thu Jan 1 00:00:00 1970 From: d.tchin Subject: Re: taskjuggler3 export Date: Wed, 29 Feb 2012 19:11:35 +0000 (UTC) Message-ID: References: <8762ete3xg.fsf@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2owQ-0004d6-Dm for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 14:12:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2owK-00086N-6H for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 14:11:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:44735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2owJ-000868-VU for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 14:11:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S2owF-0001TY-UF for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 20:11:47 +0100 Received: from APuteaux-651-1-31-15.w81-249.abo.wanadoo.fr ([81.249.70.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Feb 2012 20:11:47 +0100 Received: from d.tchin by APuteaux-651-1-31-15.w81-249.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Feb 2012 20:11:47 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I use the following testtj3.org file that I export to taskjuggler 3.0 : ,---------------------------------------------------------------------------- |#+TITLE: testtj3.org |#+PROPERTY: Effort_ALL 2d 5d 10d 20d 30d 35d 50d | |* Action list :taskjuggler_project: |** TODO Test tj3 A | :PROPERTIES: | :Effort: 1w | :allocate: toA | :END: |** TODO Test tj3 B | :PROPERTIES: | :Effort: 1w | :allocate: toB | :BLOCKER: previous-sibling | :END: |** TODO Test 2 tj3 | :PROPERTIES: | :Effort: 2w | :allocate: toA | :BLOCKER: previous-sibling | :END: |** TODO Test 2 tj3 B | :PROPERTIES: | :Effort: 2w | :allocate: toB | :BLOCKER: previous-sibling | :END: |* Ressources :taskjuggler_resource: |** A | :PROPERTIES: | :resource_id: toA | :END: |** B | :PROPERTIES: | :resource_id: toB | :END: | |# Local Variables: |# org-export-taskjuggler-target-version: 3.0 |# org-export-taskjuggler-default-reports: ("include \"gantexport.tji\"") |# End: `---------------------------------------------------------------------------- As you can see, I define in the org-export-taskjuggler-default-reports variable at the end of the file that I want to use gantexport.tji where the gant output directives are defined. This file is in the same directory as org file. The gantexport.tji is the following : ,----------------------------------------------------------------------------- |### begin report definition | |taskreport "Gantt Chart" { | headline "Project Gantt Chart" | columns hierarchindex, name, start, end, effort, duration, completed, chart | timeformat "%Y-%m-%d" | hideresource 1 | formats html | loadunit shortauto |} `----------------------------------------------------------------------------- Then the instruction tj3 testtj3.tjp generate the gant chart accessible in "Gantt Chart.html" file. Hope that can help.