jekyll-plantuml icon indicating copy to clipboard operation
jekyll-plantuml copied to clipboard

Show an error when unable to invoke PlantUML

Open carlosmiranda opened this issue 10 years ago • 9 comments

I was trying to generate the site for the Thindeck project. I had Ruby installed, but the Maven build failed with the following error:

[INFO] --- exec-maven-plugin:1.3:exec (jekyll-build) @ thindeck ---
Configuration file: C:\Users\Carlos Miranda\git\thindeck/src/jekyll/_config.yml
            Source: C:\Users\Carlos Miranda\git\thindeck/src/jekyll
       Destination: C:\Users\Carlos Miranda\git\thindeck\target/site
      Generating...
jekyll 2.1.1 | Error:  No such file or directory - C:/Users/Carlos Miranda/git/thindeck/src/jekyll/uml/1665d464109d1a4a3c4ca71c9
c856c4f.svg

I couldn't trace the error, until I visited this project's site and saw the following in the README:

Then, make sure PlantUML is installed on your build machine, and can be executed with a simple plantuml command.

So I created a batch file which executed the plantuml.jar by the simple command plantuml and ensured that it was available in my PATH environment variable. After that, the build completed successfully.

It would be very helpful if the plugin raised an error indicating that it couldn't find and execute plantuml, instead of silently failing and causing Jekyll to throw a vague error.

carlosmiranda avatar Jul 28 '14 06:07 carlosmiranda

I'll find a developer for the task soon...

davvd avatar Jul 28 '14 16:07 davvd

thanks for the report, I topped your acc for 15 mins, payment ID 42589324

davvd avatar Jul 28 '14 16:07 davvd

@yegor256 the task is yours

davvd avatar Jul 29 '14 12:07 davvd

Closing this issue now...

davvd avatar Aug 12 '14 17:08 davvd

I believe it was closed by mistake

yegor256 avatar Aug 13 '14 17:08 yegor256

@yegor256 the task is yours

davvd avatar Aug 14 '14 14:08 davvd

@davvd assign someone else pls

yegor256 avatar Oct 15 '15 18:10 yegor256

@davvd assign someone else pls

@yegor256 deducted 30 from your rating :(

davvd avatar Oct 16 '15 09:10 davvd

@davvd assign someone else pls

@yegor256 I will ask somebody else to pick this up

davvd avatar Oct 16 '15 09:10 davvd