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)