From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Egli Subject: Re: [taskjuggler] small edits to org-taskjuggler.el for tj3 Date: Tue, 05 Apr 2011 09:43:31 +0200 Message-ID: <87fwpxnnx8.fsf@sbs.ch> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=40649 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q70vX-0005tY-8E for emacs-orgmode@gnu.org; Tue, 05 Apr 2011 03:43:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q70vV-0001pU-R5 for emacs-orgmode@gnu.org; Tue, 05 Apr 2011 03:43:51 -0400 Received: from lo.gmane.org ([80.91.229.12]:59360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q70vV-0001p0-Di for emacs-orgmode@gnu.org; Tue, 05 Apr 2011 03:43:49 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q70vT-0008Im-Dy for emacs-orgmode@gnu.org; Tue, 05 Apr 2011 09:43:47 +0200 Received: from gateway01.sbszh.ch ([217.162.18.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Apr 2011 09:43:47 +0200 Received: from christian.egli by gateway01.sbszh.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Apr 2011 09:43:47 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Gregory "Sullivan, Gregory (US SSA)" writes: > Appended is a patch with a couple of small changes to > org-taskjuggler.el, addressing the following issues: Thanks for your patch. > General: > > * in org-taskjuggler-open-project, the duration is never calculated > (default is always used). Good catch and thanks for your patch. Unfortunately the patch causes problems with my export. The duration is now correctly calculated, however the root task now also has an end attribute which causes problems down the road and TJ2 tells me that "End of task foo does not fit into the project time frame. Try using a later project end date". But no matter how much I put the end date into the future the issue remains. If I remove the end attribute from the root task it seems to work. This might be an inherent problem with the fact that the exporter uses the root task also as a container for project specific information. > Specific to tj3: > * the reports need a "formats" attribute > * I wasn't sure about how best to maintain backwards compatibility > with the default report strings, as I override the taskjuggler version > in the .org file (not in my .emacs file). The reports are a problem. Right now they are defined in a custom definition. To maintain backwards compatibility we could probably just add a new custom definition for tj3 reports and use that one if we're exporting to tj3. > * for tj3, I found that I needed to put a "scheduling" property in the > top level task, with value "asap". TaskJuggler III v0.0.11 Are you suggesting we should insert this automatically? Shouldn't this be at the users discretion? Thanks -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland