Permalink
Browse files

Adding a dev tool to quickly quit umpleonline server

  • Loading branch information...
TimLethbridge committed Oct 20, 2017
1 parent 0003426 commit 1f1c078fa5fbb343a104a7a026e064b991ef0b29
Showing with 19 additions and 3 deletions.
  1. +14 −3 build/_versionNew.xml
  2. +1 −0 dev-tools/pumple
  3. +4 −0 dev-tools/quitserver
View
@@ -4,14 +4,25 @@
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
<property prefix="base" file="build/umpleversion.txt"/>
<condition property="gitrevtoget" value="origin/master" else="master">
<equals arg1="${myenv}" arg2="cc" />
</condition>
<!-- Use Git to get the most recent commit -->
<exec executable="git" outputproperty="git.revision">
<arg value="describe" />
<arg value="--always" />
<arg value="rev-parse" />
<arg value="--short" />
<arg value="${gitrevtoget}" />
</exec>
<property name="umple.version" value="${base.version}-${git.revision}" />
<exec executable="git" outputproperty="git.commitnum">
<arg value="rev-list" />
<arg value="--count" />
<arg value="${gitrevtoget}" />
</exec>
<property name="umple.version" value="${base.version}-${git.revision}-${git.commitnum}" />
<echo message="Current Version: ${umple.version}" />
</project>
View
@@ -6,4 +6,5 @@ cd $UMPLEROOT/build
echo Copying jars from dist director to the umpleonline scripts directory
echo Do this after qfbumple when resting umpleonline
ant -DshouldPackageUmpleOnline=true -Dmyenv=local -f build.umple.xml packageUmpleonline
quitserver
View
@@ -0,0 +1,4 @@
#!/bin/csh -fb
echo Quitting any umpleonline server that is running
cd ~/umple/umpleonline/scripts
php UmpleServerTest.php server -quit

0 comments on commit 1f1c078

Please sign in to comment.