From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Egli Subject: Re: org-taskjuggler export problems Date: Mon, 07 Nov 2011 17:27:26 +0100 Message-ID: <87mxc7lwy9.fsf@sbs.ch> References: <8739e5kwk6.fsf@gmx.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNS34-0002Rh-9Y for emacs-orgmode@gnu.org; Mon, 07 Nov 2011 11:27:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNS2w-0000OH-Mc for emacs-orgmode@gnu.org; Mon, 07 Nov 2011 11:27:50 -0500 Received: from lo.gmane.org ([80.91.229.12]:34138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNS2w-0000Nv-C9 for emacs-orgmode@gnu.org; Mon, 07 Nov 2011 11:27:42 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RNS2u-00034O-5i for emacs-orgmode@gnu.org; Mon, 07 Nov 2011 17:27:40 +0100 Received: from gateway01.sbszh.ch ([217.162.18.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Nov 2011 17:27:40 +0100 Received: from christian.egli by gateway01.sbszh.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Nov 2011 17:27:40 +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 Johnny writes: > I am trying to export a simple project plan from org to taskjuggler > through org-taskjuggler.el. I cannot get the behavour I expect and > need do some manual tweaks to get the taskjuggler file working. What > am I doing wrong? You're not doing anything wrong. You've hit some bugs in the taskjuggler exporter. > 1) The 'end' date specified in the ':taskjuggler_project' base is ignored and > the default 280d is used. Because the project duration is long this > throws an error. The 'start' date however seems properly picked up. Indeed the end date is not picked up. I remember to have tried to fix this once, but the problem is that the root task serves as both a container for the project attributes and is a task at the same time. So if you define the end, you'll both define the end of the project and the task, which might not be what you want. Can you try to increase the org-export-taskjuggler-default-project-duration instead? > 2) The 'task_id' fields are not exported properly. The taskjuggler exporter uses the task_ids you define just for dependency resolution. Other than that it creates automatic ids based on the title of the task. The assumption is that you are not that interested in defining ids. What do you need them for? > 3) The 'precedes' property is not exported at all Yes, this is not implemented. Could you use 'depends' instead? And possibly use alap scheduling? Hope that helps Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland