summaryrefslogtreecommitdiffstats
path: root/winery/documentation/TOSCA specification/startplantuml.bat
diff options
context:
space:
mode:
authorhuangjian <huang.jian12@zte.com.cn>2016-08-31 16:47:33 +0800
committerhuangjian <huang.jian12@zte.com.cn>2016-08-31 16:47:33 +0800
commitfa49e78cc199526a9e33b59c5194f8e3bf0f0952 (patch)
tree3478e867a8f304266dbceca6e992cceca410ede4 /winery/documentation/TOSCA specification/startplantuml.bat
parent159d40f0011559c8f82338b29dca1bffd700f2c8 (diff)
Add winery source code
Change-Id: I1c5088121d79b71098c3cba1996c6f784737532e Issue-id: TOSCA-49 Signed-off-by: huangjian <huang.jian12@zte.com.cn>
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