Project

General

Profile

« Previous | Next » 

Revision 4819

Added by daigle over 15 years ago

distribute perl autosplit.ix file with metacat. change tomcat startup script output to echos.

View differences:

src/scripts/debian/tomcat5.5
21 21
	export LANG
22 22
fi
23 23

  
24
. /lib/lsb/init-functions
25
. /etc/default/rcS
26

  
27 24
function start {
28 25
	if [ -z "$JAVA_HOME" ]; then
29
		log_failure_msg "no JDK found - please set JAVA_HOME"
26
		echo "no JDK found - please set JAVA_HOME"
30 27
		exit 1
31 28
	fi
32 29

  
33 30
	if [ ! -d "$CATALINA_HOME/conf" ]; then
34
		log_failure_msg "invalid CATALINA_HOME specified"
31
		echo "invalid CATALINA_HOME specified"
35 32
		exit 1
36 33
	fi
37 34

  
38 35
	log_daemon_msg "Starting $DESC" 
39 36
	$CATALINA_HOME/bin/startup.sh
40
	log_end_msg 0
37
	echo 0
41 38
}  
42 39

  
43 40
function stop {
44
	log_daemon_msg "Stopping $DESC"
41
	echo "Stopping $DESC"
45 42
	$CATALINA_HOME/bin/shutdown.sh
46
	log_end_msg 0
43
	echo 0
47 44
}
48 45
	
49 46
case "$1" in
......
59 56
	start
60 57
	;;
61 58
  *)
62
	log_success_msg "Usage: $0 {start|stop|restart}"
59
	echo "Usage: $0 {start|stop|restart}"
63 60
	exit 1
64 61
	;;
65 62
esac
build.xml
315 315
   <target name="getpeerutilities" depends="prepare" if="peer.utilities.required"
316 316
	description="Checks utilities out of cvs and copies it to your utilitiesdir if it does not already exist">
317 317
     <echo>Enter CVS password: </echo>
318
     <cvs cvsRoot="${cvsroot}"
319
         package="${util-module}"
320
     	 tag="${utilities-tag}"
321
         dest="${utilitiesdir}/.." />
318
     <cvs cvsRoot="${cvsroot}" package="${util-module}"
319
     	tag="${utilities-tag}" dest="${utilitiesdir}/.." />
322 320
   </target>
323 321

  
324 322
   <target name="getutilities" depends="prepare"
......
731 729
       <property name="war.webinf" value="${build.war}/WEB-INF" />
732 730
       <property name="war.context" value="${build.war}/${metacat.context}" />
733 731
   	   <property name="war.webinf.sql" value="${war.webinf}/sql" />
732
   	   <property name="war.webinf.scripts" value="${war.webinf}/scripts" />
734 733
	   <property name="war.context.cgi" value="${war.context}/cgi-bin" />
735 734
   	   <property name="war.context.docs" value="${war.context}/docs" />
736 735
   	   <property name="war.context.temp" value="${war.context}/temp" />
......
821 820
	           <include name="**/*.sql"/>
822 821
	         </fileset>
823 822
	   </copy>
823
	   <copy todir="${war.webinf.scripts}" filtering="yes">
824
	         <fileset dir="src/scripts"/>
825
	   </copy>
826
	   
827
       <copy todir="${war.webinf.scripts}" 
828
             file="src/perl/Metacat/blib/lib/auto/Metacat/autosplit.ix"
829
             failonerror="false"/>
824 830
   	
825 831
   	   <copy file="src/perl/register-dataset.cgi" todir="${war.context.cgi}"/>
826 832
	   <copy file="src/perl/ldapweb.cgi" todir="${war.context.cgi}" />

Also available in: Unified diff