jekyll-plantuml
jekyll-plantuml copied to clipboard
Show an error when unable to invoke PlantUML
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.
I'll find a developer for the task soon...
thanks for the report, I topped your acc for 15 mins, payment ID 42589324
@yegor256 the task is yours
Closing this issue now...
I believe it was closed by mistake
@yegor256 the task is yours
@davvd assign someone else pls
@davvd assign someone else pls
@yegor256 deducted 30 from your rating :(
@davvd assign someone else pls
@yegor256 I will ask somebody else to pick this up