ox-taskjuggler.el: Add a command to process and open an exported file for tj3
commitd0ea76fe19b3e90c495e6e7dfea7ff81d0547326
authorChristian Egli <christian.egli@sbs.ch>
Tue, 23 Apr 2013 09:49:43 +0000 (23 11:49 +0200)
committerChristian Egli <christian.egli@sbs.ch>
Tue, 23 Apr 2013 09:49:43 +0000 (23 11:49 +0200)
tree3917384dd582dece0882696ba8f27d9bbf703c5f
parent9655a18d885e5ddde003dc68a2a65beace11d349
ox-taskjuggler.el: Add a command to process and open an exported file for tj3

* ox-taskjuggler.el (org-taskjuggler-process-command)
(org-taskjuggler-reports-directory): Add a defcustom to define
the tj3 command and the directory where the reports are to be
generated.
(org-taskjuggler-export-and-process)
(org-taskjuggler-export-process-and-open): Split the command
so that you can now process and open in separate commands.
(org-taskjuggler-compile): New function to process a tjp file
using org-taskjuggler-process-command.

Finally we have support for processing and opening the exported file
with tj3.  For TaskJuggler 2.4 this always worked. Now it also works
for tj3.  `org-taskjuggler-export-and-process' exports the file and
runs it through tj3.  `org-taskjuggler-export-process-and-open'
additionally opens the reports in a browser.
contrib/lisp/ox-taskjuggler.el