On Monday 14 December 2015 16:11:28 you wrote:
> Hello,
> 
> About PDF generations, you have to install several supplementary jar files:
>     avalon-framework-4.2.0.jar
>     batik-all-1.7.jar
>     commons-io-1.3.1.jar
>     commons-logging-1.0.4.jar
>     fop.jar
>     xml-apis-ext-1.3.04.jar
>     xmlgraphics-commons-1.4.jar
> 
> You will find some details on http://plantuml.com/pdf.html
> 
> Tell us if it's working for you.
> 
> Regards,
> 
> Arnaud Roques

Hi,

it's the same whether I explicitly set the classpath to the local location 
(shouldn't that be found automatically?) or a folder with the jars from your 
site.

System jars:

$ java -jar /usr/share/plantuml/plantuml.jar -cp /usr/share/java/ -tpdf 
data_model.plant_uml.pu
Exception in thread "main" java.lang.UnsupportedOperationException: PDF
        at 
net.sourceforge.plantuml.ugraphic.ImageBuilder.createUGraphic(Unknown Source)
        at 
net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(Unknown 
Source)
        at 
net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(Unknown 
Source)
        at net.sourceforge.plantuml.PSystemError.exportDiagram(Unknown Source)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagramsDefault(Unknown 
Source)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(Unknown 
Source)
        at 
net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(Unknown Source)
        at net.sourceforge.plantuml.Run.manageFileInternal(Unknown Source)
        at net.sourceforge.plantuml.Run.processArgs(Unknown Source)
        at net.sourceforge.plantuml.Run.manageAllFiles(Unknown Source)
        at net.sourceforge.plantuml.Run.main(Unknown Source)

Local jars, from the zip file:

$ java -jar /usr/share/plantuml/plantuml.jar -cp ./jars/ -tpdf 
data_model.plant_uml.pu
Exception in thread "main" java.lang.UnsupportedOperationException: PDF
        at 
net.sourceforge.plantuml.ugraphic.ImageBuilder.createUGraphic(Unknown Source)
        at 
net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(Unknown 
Source)
        at 
net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageTOBEMOVED(Unknown 
Source)
        at net.sourceforge.plantuml.PSystemError.exportDiagram(Unknown Source)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagramsDefault(Unknown 
Source)
        at net.sourceforge.plantuml.PSystemUtils.exportDiagrams(Unknown 
Source)
        at 
net.sourceforge.plantuml.SourceFileReader.getGeneratedImages(Unknown Source)
        at net.sourceforge.plantuml.Run.manageFileInternal(Unknown Source)
        at net.sourceforge.plantuml.Run.processArgs(Unknown Source)
        at net.sourceforge.plantuml.Run.manageAllFiles(Unknown Source)
        at net.sourceforge.plantuml.Run.main(Unknown Source)

The problem that the library can not be found goes away in both cases, but the 
second exception remains.



-- 
Max-Planck-Institute for Dynamics and Self-Organization
Research Group Biomedical Physics

Am Fassberg 17
D-37077 Goettingen
(+49) 551 5176 373

You can obtain my public key 0xF197B128 from all keyservers, e.g. pgp.mit.edu
Fingerprint: 9698 BDD4 71CC 1274 B7E2  2049 1EDD 012D F197 B128

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to