emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] PlantUML


From: Ciaran Mulloy
Subject: Re: [O] PlantUML
Date: Mon, 15 Dec 2014 23:59:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 15/12/14 18:50, Nick Dokos wrote:
Ciaran Mulloy <address@hidden> writes:

Hi,
I just tried evaluating plantUML source code in babel and get the following
error message: "Error: Invalid or corrupt jarfile
/home/cmulloy/.emacs.d/elpa/contrib/scripts/"

I'm currently in the latest stable release of org-mode 8.2.10
and have downloaded the plantuml.jar application in the
/home/cmulloy/.emacs.d/elpa/contrib/scripts/ directory.

I did manage to test the plantuml.jar application and validate that it
wasn't corrupt by successfully running plantuml directly and building .png
files directly:

java -jar plantuml.jar -verbose sequenceDiagram1.txt


I tried was able to use babel to execute both ditaa and dot code
successfully so it seems the problem is with plantuml!

I had a look at the ob-plantuml.el file but could see nothing of relevance
and am still learning elisp.

Any thoughts?

This maybe:

org-plantuml-jar-path needs the complete pathname of your plantuml.jar.
Customize appropriately.

Nick



Hi Nick,
Yes!
The instructions in the ob-plantuml file state: ;; plantuml.jar | `org-plantuml-jar-path' should point to the jar file, I had just put in the path. I amended to "(setq org-plantuml-jar-path "~/.emacs.d/elpa/contrib/scripts/plantuml.jar")" and it works!

Many thanks
Ciaran



reply via email to

[Prev in Thread] Current Thread [Next in Thread]