source: main/trunk/greenstone3/ext/ANT-START-CUSTOM.sh@ 37620

Last change on this file since 37620 was 37620, checked in by anupama, 13 months ago

Trying to get the running GS3 server to display the GS3 library home properly again by 1 moving the capitalised ANT-* scripts from toplevel GS3 into the ext subversion as hinted at in commit messages 37607-37609 and 2. Commenting out the element in servlets.xml that uses mydomain.org, as it is presently active and breaks the GS3 library home (with errors in the browser Javascript console). The comment in servlets.xml also indicated that this element by default ought to be in commented out state.

  • Property svn:executable set to *
File size: 920 bytes
Line 
1#!/bin/bash
2
3
4if test "x$gsopt_noexts" != "x1" ; then
5
6 echo ""
7 echo "----"
8 echo "Checking for custom ant-start extension settings (ant-start-settings.bash)"
9 echo "----"
10
11 # Check Greenstone3 extensions
12 if [ -d ext ] ; then
13 for gsdl_ext in ext/* ; do
14 if [ -d $gsdl_ext ] ; then
15 if [ -f $gsdl_ext/ant-start-settings.bash ]; then
16 cd $gsdl_ext > /dev/null
17 . ./ant-start-settings.bash
18 cd ../..
19 fi
20
21 fi
22 done
23 fi
24
25 # Check Greenstone2 extensions
26 if [ -d gs2build/ext ] ; then
27 for gsdl_ext in gs2build/ext/* ; do
28 if [ -d $gsdl_ext ] ; then
29 if [ -f $gsdl_ext/ant-start-settings.bash ]; then
30 cd $gsdl_ext > /dev/null
31 . ./ant-start-settings.bash
32 cd ../../..
33 fi
34 fi
35 done
36 fi
37fi
38
39
40# If needed, add any further customized code needed here, such as
41# environemnt variables
42
43
44ant start
45
46# Any customized clean up needed?
Note: See TracBrowser for help on using the repository browser.