summaryrefslogtreecommitdiffstats
path: root/winery/documentation/TOSCA specification/startplantuml.bat
diff options
context:
space:
mode:
Diffstat (limited to 'winery/documentation/TOSCA specification/startplantuml.bat')
-rw-r--r--winery/documentation/TOSCA specification/startplantuml.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/winery/documentation/TOSCA specification/startplantuml.bat b/winery/documentation/TOSCA specification/startplantuml.bat
new file mode 100644
index 0000000..9da178a
--- /dev/null
+++ b/winery/documentation/TOSCA specification/startplantuml.bat
@@ -0,0 +1,20 @@
+:/***********************************************************************
+: * Copyright (c) 2013-2014 University of Stuttgart.
+: * All rights reserved. This program and the accompanying materials
+: * are made available under the terms of the Eclipse Public License v1.0
+: * and Apache License v2.0 which accompanies this distribution.
+: * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
+: * and the Apache License v2.0 is available at
+: * http://www.opensource.org/licenses/apache2.0.php.
+: * You may elect to redistribute this code under either of these licenses.
+: * Contributors:
+: * Oliver Kopp - initial implementation
+: *************************************************************************
+
+@echo off
+echo Generating SVG...
+SET PLANTUML=C:\Users\Oliver\BTSync\plantuml.jar
+java -jar %PLANTUML% -tsvg TOSCA-v1.0-os-class-diagram.plantuml
+echo Generating PDF...
+inkscape -z -D --file=TOSCA-v1.0-os-class-diagram.svg --export-pdf=TOSCA-v1.0-os-class-diagram.pdf
+echo Done