Re: [O] taskjuggler3 export

2012-02-29 Thread d . tchin
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.






Re: [O] taskjuggler3 export

2012-02-29 Thread Thorsten
d.tchin d.tc...@voila.fr writes:

Hi, 

 |
 |# 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.

Great, thats exactly what I was looking for!
Thanks a lot

-- 
cheers,
Thorsten




[O] taskjuggler3 export

2012-02-26 Thread Thorsten
Hi list, 
I tried to write an org file for a project plan with the aim to export
it using taskjuggler 3.1.0. 

besides following the advice from these two source:

,--
| http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00058.html
| https://github.com/alander/org-taskjuggler3
`--

and deleting some redundant braces in the exported .tjp file, the
resulting html files were less than satisfying (e.g. no gantt chart
created).  

The problem seems to be the reporting part. Does anyone has sample
report templates that can be used in
org-export-taskjuggler-default-reports when using taskjuggler3?

Or, more generally asked, did anyone recently successfully exported to
taskjuggler3?

Thanks for any hints. 

-- 
cheers,
Thorsten





Re: [O] taskjuggler3 export

2012-02-26 Thread Thorsten
Erik Butz erik.b...@googlemail.com writes:

Hi,

 I didn't use the org-taskjuggler3 resource, but below[1] are some
 changes that I made in the org-taskjuggler.el file. With these I can
 export e.g. the default example file at:
 http://orgmode.org/worg/org-tutorials/org-taskjuggler.html to a
 taskjuggler file and have tj3 produce a Gantt_Chart web page, see
 screenshot attached.

 Caveat: In the standard example file I changed all efforts from xxd to
 xx.0 and resource_id to ID.

 Hope this helps.

thanks for your answer, I could not really make it work, I think I will
install taskjuggler 2.4 and just wait untill orgmode is ready for
taskjuggler3

The estimated efford for my little gantt chart was 1h,
now its almost 1d ;)
-- 
cheers,
Thorsten