svn commit: r17340 - trunk/src/argouml-app/src/bin

Andreas Rueckert <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: andreas
Date: 2009-09-22 07:56:41-0700
New Revision: 17340

Added:
   trunk/src/argouml-app/src/bin/argouml2.bat
   trunk/src/argouml-app/src/bin/argouml2.sh   (contents, props changed)

Log:
Commandline scripts to start the UML2 version of ArgoUML.


Added: trunk/src/argouml-app/src/bin/argouml2.bat
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/bin/argouml2.bat?view=markup&pathrev=17340
==============================================================================
--- (empty file)
+++ trunk/src/argouml-app/src/bin/argouml2.bat	2009-09-22 07:56:41-0700
@@ -0,0 +1,4 @@
+@echo off
+java -Xms64m -Xmx512m -Dargouml.model.implementation=org.argouml.model.euml.EUMLModelImplementation -cp argouml.jar org.argouml.application.Main %1 %2 %3 %4 %5 %6 %7 %8
+
+if errorlevel 1 pause

Added: trunk/src/argouml-app/src/bin/argouml2.sh
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/bin/argouml2.sh?view=markup&pathrev=17340
==============================================================================
--- (empty file)
+++ trunk/src/argouml-app/src/bin/argouml2.sh	2009-09-22 07:56:41-0700
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+# Shell script to launch ArgoUML on Unix systems.  Mostly borrowed from
+# the Apache Ant project.
+#
+# The idea is that you can put a softlink in your "bin" directory back
+# to this file in the ArgoUML install directory and this script will
+# use the link to find the jars that it needs, e.g.:
+#
+# ln -s /usr/local/ArgoUML/argouml.sh /usr/local/bin/argo
+#
+# 2002-02-25 [email protected]
+
+## resolve links - $0 may be a link to ArgoUML's home
+PRG=$0
+progname=`basename $0`
+
+while [ -h "$PRG" ] ; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '.*/.*' > /dev/null; then
+      PRG="$link"
+  else
+      PRG="`dirname $PRG`/$link"
+  fi
+done
+
+java -Xms64m -Xmx512m -Dargouml.model.implementation=org.argouml.model.euml.EUMLModelImplementation -jar `dirname $PRG`/argouml.jar "$@"
+

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2398396

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.