Ignore:
Timestamp:
2017-10-20T15:50:51+13:00 (6 years ago)
Author:
ak19
Message:

User on mailing list found it frustrating that GLI stops the GS3 Server on exit. Gli tends to launch and stop the GS3 server on GLI start and quit. Now it first checks if the server was already running on startup (launched externally) and only launches and stops the GS3 server if a server had not been launched external to GLI on GLI startup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r31508 r32049  
    17241724    </condition>
    17251725  </target>
     1726 
     1727  <!--
     1728      <target name="verbose-check-tomcat-running">
     1729      <condition property="tomcat.isrunning" value="true" else="false">
     1730      <http url="${server.protocol}://${tomcat.server}:${tomcat.port}"/>
     1731      </condition>
     1732      <echo>Tomcat is running: ${tomcat.isrunning}</echo>
     1733      </target>
     1734  -->
     1735  <target name="verbose-check-tomcat-running" depends="check-tomcat-running">   
     1736    <if>
     1737      <bool>
     1738    <istrue value="${tomcat.isrunning}"/>
     1739      </bool>     
     1740      <echo>Tomcat is running: ${tomcat.isrunning}</echo>
     1741      <else><echo>Tomcat is running: false</echo></else><!-- tomcat.isrunning not set -->
     1742    </if>
     1743  </target> 
    17261744 
    17271745  <!-- Need a copy of the check-tomcat-running target with a distinct property, because ant restart runs
Note: See TracChangeset for help on using the changeset viewer.