emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ciaran Mulloy <crmulloy@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: PlantUML
Date: Mon, 15 Dec 2014 23:59:09 +0000	[thread overview]
Message-ID: <548F75CD.7010300@gmail.com> (raw)
In-Reply-To: <87a92o21es.fsf@alphaville.usersys.redhat.com>

On 15/12/14 18:50, Nick Dokos wrote:
> Ciaran Mulloy <crmulloy@gmail.com> 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	other threads:[~2014-12-15 23:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 17:23 PlantUML Ciaran Mulloy
2014-12-15 18:50 ` PlantUML Nick Dokos
2014-12-15 23:59   ` Ciaran Mulloy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=548F75CD.7010300@gmail.com \
    --to=crmulloy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).