You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by ch...@apache.org on 2014/06/16 22:55:59 UTC
svn commit: r1603004 -
/uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install
Author: challngr
Date: Mon Jun 16 20:55:59 2014
New Revision: 1603004
URL: http://svn.apache.org/r1603004
Log:
UIMA-3892 Create state, log, and history empty directories on first install.
Modified:
uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install
Modified: uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install?rev=1603004&r1=1603003&r2=1603004&view=diff
==============================================================================
--- uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install (original)
+++ uima/sandbox/uima-ducc/trunk/src/main/admin/ducc_post_install Mon Jun 16 20:55:59 2014
@@ -237,6 +237,16 @@ class PostInstall(DuccUtil):
self.check_nodes()
self.check_activemq()
+ statedir = self.DUCC_HOME + "/state"
+ logdir = self.DUCC_HOME + "/logs"
+ historydir = self.DUCC_HOME + "/history"
+ if ( not os.path.exists(statedir) ):
+ os.mkdir(statedir)
+ if ( not os.path.exists(logdir) ):
+ os.mkdir(logdir)
+ if ( not os.path.exists(historydir) ):
+ os.mkdir(historydir)
+
# insure java is configured and installed
self.java_bindir = self.get_java_bindir()
self.keytool = self.get_java_keytool(self.java_bindir)