View | Details | Raw Unified | Return to bug 34191
Collapse All | Expand All

(-)build.sh (-1 / +9 lines)
Lines 24-33 Link Here
24
else
24
else
25
  S=':'
25
  S=':'
26
fi
26
fi
27
28
# ----- Cocoon libs
29
#COCOON_HOME="../cocoon-2.1.x"
30
COCOON_HOME=""
31
[ -f build.properties ] && grep -q cocoon.src.dir= build.properties && COCOON_HOME="`grep cocoon.src.dir= build.properties | grep -v '#' | sed -e 's/cocoon\.src\.dir=//'`"
32
[ -f local.build.properties ] && grep -q cocoon.src.dir= local.build.properties && COCOON_HOME="`grep cocoon.src.dir= local.build.properties | grep -v '#' | sed -e 's/cocoon\.src\.dir=//'`"
33
COCOON_ENDORSED_DIR="${COCOON_HOME}/lib/endorsed"
27
                                                                                                                                                             
34
                                                                                                                                                             
28
# ----- Ignore system CLASSPATH variable
35
# ----- Ignore system CLASSPATH variable
29
OLD_CLASSPATH="$CLASSPATH"
36
OLD_CLASSPATH="$CLASSPATH"
30
unset CLASSPATH
37
unset CLASSPATH
38
#CLASSPATH="`echo lib/*.jar | tr ' ' $S`:`echo ${COCOON_ENDORESED_DIR}*.jar | tr ' ' $S`"
31
CLASSPATH="`echo lib/*.jar | tr ' ' $S`"
39
CLASSPATH="`echo lib/*.jar | tr ' ' $S`"
32
export CLASSPATH
40
export CLASSPATH
33
41
Lines 35-41 Link Here
35
OLD_ANT_HOME="$ANT_HOME"
43
OLD_ANT_HOME="$ANT_HOME"
36
ANT_HOME=tools
44
ANT_HOME=tools
37
OLD_ANT_OPTS="$ANT_OPTS"
45
OLD_ANT_OPTS="$ANT_OPTS"
38
ANT_OPTS="-Xms32M -Xmx512M -Djava.endorsed.dirs=lib/endorsed"
46
ANT_OPTS="-Xms32M -Xmx512M -Djava.endorsed.dirs=${COCOON_ENDORSED_DIR}"
39
export ANT_HOME ANT_OPTS
47
export ANT_HOME ANT_OPTS
40
48
41
"$ANT_HOME/bin/ant" -logger org.apache.tools.ant.NoBannerLogger -emacs  $@
49
"$ANT_HOME/bin/ant" -logger org.apache.tools.ant.NoBannerLogger -emacs  $@

Return to bug 34191