From 1618134d1b2f778ed79b7972043e290429933fcf Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 9 Feb 2013 13:49:07 +0100 Subject: [PATCH] org-taskjuggler: Fix commas in Org src blocks --- org-tutorials/org-taskjuggler.org | 408 ++++++++++++++++++------------------ 1 files changed, 204 insertions(+), 204 deletions(-) diff --git a/org-tutorials/org-taskjuggler.org b/org-tutorials/org-taskjuggler.org index 66b05fe..c51bdeb 100644 --- a/org-tutorials/org-taskjuggler.org +++ b/org-tutorials/org-taskjuggler.org @@ -30,26 +30,26 @@ tasks. Let's take the following example where you have a project to create an accounting software: #+BEGIN_SRC org - ,* Accounting Software - , - ,** Specification - , - ,** Software Development - ,*** Database coupling - ,*** Back-End Functions - ,*** Graphical User Interface - , - ,** Software testing - ,*** Alpha Test - ,*** Beta Test - , - ,** Manual - , - ,** Milestones - ,*** Project start - ,*** Technology Preview - ,*** Beta version - ,*** Ship Product to Customer +,* Accounting Software + +,** Specification + +,** Software Development +,*** Database coupling +,*** Back-End Functions +,*** Graphical User Interface + +,** Software testing +,*** Alpha Test +,*** Beta Test + +,** Manual + +,** Milestones +,*** Project start +,*** Technology Preview +,*** Beta version +,*** Ship Product to Customer #+END_SRC * Estimate the effort @@ -66,54 +66,54 @@ Your resulting Org mode project file will look somewhat like the following: #+BEGIN_SRC org - ,#+PROPERTY: Effort_ALL 2d 5d 10d 20d 30d 35d 50d - ,#+COLUMNS: %70ITEM(Task) %Effort - , - ,* Accounting Software - , - ,** Specification - , :PROPERTIES: - , :Effort: 20d - , :END: - , - ,** Software Development - , - ,*** Database coupling - , :PROPERTIES: - , :Effort: 20d - , :END: - , - ,*** Back-End Functions - , :PROPERTIES: - , :Effort: 30d - , :END: - , - ,*** Graphical User Interface - , :PROPERTIES: - , :Effort: 35d - , :END: - , - ,** Software testing - ,*** Alpha Test - , :PROPERTIES: - , :Effort: 5d - , :END: - , - ,*** Beta Test - , :PROPERTIES: - , :Effort: 20d - , :END: - , - ,** Manual - , :PROPERTIES: - , :Effort: 50d - , :END: - , - ,** Milestones - ,*** Project start - ,*** Technology Preview - ,*** Beta version - ,*** Ship Product to Customer +,#+PROPERTY: Effort_ALL 2d 5d 10d 20d 30d 35d 50d +,#+COLUMNS: %70ITEM(Task) %Effort + +,* Accounting Software + +,** Specification + :PROPERTIES: + :Effort: 20d + :END: + +,** Software Development + +,*** Database coupling + :PROPERTIES: + :Effort: 20d + :END: + +,*** Back-End Functions + :PROPERTIES: + :Effort: 30d + :END: + +,*** Graphical User Interface + :PROPERTIES: + :Effort: 35d + :END: + +,** Software testing +,*** Alpha Test + :PROPERTIES: + :Effort: 5d + :END: + +,*** Beta Test + :PROPERTIES: + :Effort: 20d + :END: + +,** Manual + :PROPERTIES: + :Effort: 50d + :END: + +,** Milestones +,*** Project start +,*** Technology Preview +,*** Beta version +,*** Ship Product to Customer #+END_SRC * Generate a Gantt chart @@ -152,30 +152,30 @@ with the tag ~taskjuggler_resource~ so that the exporter knows where to look for resource definitions[fn:2]. #+BEGIN_SRC org - ,* Resources :taskjuggler_resource: - ,** Developers - , :PROPERTIES: - , :resource_id: dev - , :END: - ,*** Paul Smith - , :PROPERTIES: - , :resource_id: paul - , :END: - ,*** Sébastien Bono - , :PROPERTIES: - , :resource_id: seb - , :END: - ,*** Klaus Müller - , - ,** Others - ,*** Peter Murphy - , :PROPERTIES: - , :resource_id: doc - , :END: - ,*** Dim Sung - , :PROPERTIES: - , :resource_id: test - , :END: +,* Resources :taskjuggler_resource: +,** Developers + :PROPERTIES: + :resource_id: dev + :END: +,*** Paul Smith + :PROPERTIES: + :resource_id: paul + :END: +,*** Sébastien Bono + :PROPERTIES: + :resource_id: seb + :END: +,*** Klaus Müller + +,** Others +,*** Peter Murphy + :PROPERTIES: + :resource_id: doc + :END: +,*** Dim Sung + :PROPERTIES: + :resource_id: test + :END: #+END_SRC As you'll note I also added some ~resource_id~ properties to some of @@ -242,118 +242,118 @@ to Customer" which is waiting until the Beta test and the Manual are done. #+BEGIN_SRC org - ,#+PROPERTY: Effort_ALL 2d 5d 10d 20d 30d 35d 50d - ,#+PROPERTY: allocate_ALL dev doc test - ,#+COLUMNS: %30ITEM(Task) %Effort %allocate %BLOCKER %ORDERED - , - ,* Accounting Software :taskjuggler_project: - , - ,** Specification - , :PROPERTIES: - , :Effort: 20d - , :BLOCKER: start - , :allocate: dev - , :END: - , - ,** Software Development - , :PROPERTIES: - , :ORDERED: t - , :BLOCKER: previous-sibling - , :priority: 1000 - , :allocate: dev - , :END: - , - ,*** Database coupling - , :PROPERTIES: - , :Effort: 20d - , :END: - , - ,*** Back-End Functions - , :PROPERTIES: - , :Effort: 30d - , :task_id: back_end - , :END: - , - ,*** Graphical User Interface - , :PROPERTIES: - , :Effort: 35d - , :allocate: paul, seb - , :END: - , - ,** Software testing - , :PROPERTIES: - , :ORDERED: t - , :BLOCKER: previous-sibling - , :allocate: test - , :END: - ,*** Alpha Test - , :PROPERTIES: - , :Effort: 5d - , :task_id: alpha - , :END: - , - ,*** Beta Test - , :PROPERTIES: - , :Effort: 20d - , :task_id: beta - , :allocate: test, paul - , :END: - , - ,** Manual - , :PROPERTIES: - , :Effort: 50d - , :task_id: manual - , :BLOCKER: start - , :allocate: doc - , :END: - , - ,** Milestones - ,*** Project start - , :PROPERTIES: - , :task_id: start - , :END: - , - ,*** Technology Preview - , :PROPERTIES: - , :BLOCKER: back_end - , :END: - , - ,*** Beta version - , :PROPERTIES: - , :BLOCKER: alpha - , :END: - , - ,*** Ship Product to Customer - , :PROPERTIES: - , :BLOCKER: beta manual - , :END: - , - , - ,* Resources :taskjuggler_resource: - ,** Developers - , :PROPERTIES: - , :resource_id: dev - , :END: - ,*** Paul Smith - , :PROPERTIES: - , :resource_id: paul - , :END: - ,*** Sébastien Bono - , :PROPERTIES: - , :resource_id: seb - , :END: - ,*** Klaus Müller - , - ,** Others - ,*** Peter Murphy - , :PROPERTIES: - , :resource_id: doc - , :limits: { dailymax 6.4h } - , :END: - ,*** Dim Sung - , :PROPERTIES: - , :resource_id: test - , :END: +,#+PROPERTY: Effort_ALL 2d 5d 10d 20d 30d 35d 50d +,#+PROPERTY: allocate_ALL dev doc test +,#+COLUMNS: %30ITEM(Task) %Effort %allocate %BLOCKER %ORDERED + +,* Accounting Software :taskjuggler_project: + +,** Specification + :PROPERTIES: + :Effort: 20d + :BLOCKER: start + :allocate: dev + :END: + +,** Software Development + :PROPERTIES: + :ORDERED: t + :BLOCKER: previous-sibling + :priority: 1000 + :allocate: dev + :END: + +,*** Database coupling + :PROPERTIES: + :Effort: 20d + :END: + +,*** Back-End Functions + :PROPERTIES: + :Effort: 30d + :task_id: back_end + :END: + +,*** Graphical User Interface + :PROPERTIES: + :Effort: 35d + :allocate: paul, seb + :END: + +,** Software testing + :PROPERTIES: + :ORDERED: t + :BLOCKER: previous-sibling + :allocate: test + :END: +,*** Alpha Test + :PROPERTIES: + :Effort: 5d + :task_id: alpha + :END: + +,*** Beta Test + :PROPERTIES: + :Effort: 20d + :task_id: beta + :allocate: test, paul + :END: + +,** Manual + :PROPERTIES: + :Effort: 50d + :task_id: manual + :BLOCKER: start + :allocate: doc + :END: + +,** Milestones +,*** Project start + :PROPERTIES: + :task_id: start + :END: + +,*** Technology Preview + :PROPERTIES: + :BLOCKER: back_end + :END: + +,*** Beta version + :PROPERTIES: + :BLOCKER: alpha + :END: + +,*** Ship Product to Customer + :PROPERTIES: + :BLOCKER: beta manual + :END: + + +,* Resources :taskjuggler_resource: +,** Developers + :PROPERTIES: + :resource_id: dev + :END: +,*** Paul Smith + :PROPERTIES: + :resource_id: paul + :END: +,*** Sébastien Bono + :PROPERTIES: + :resource_id: seb + :END: +,*** Klaus Müller + +,** Others +,*** Peter Murphy + :PROPERTIES: + :resource_id: doc + :limits: { dailymax 6.4h } + :END: +,*** Dim Sung + :PROPERTIES: + :resource_id: test + :END: #+END_SRC If you export the example above you'll TaskJuggler will schedule the -- 1.7.2.5