/[gentoo-x86]/eclass/java-ant-2.eclass
Gentoo

Contents of /eclass/java-ant-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.40 - (hide annotations) (download)
Wed Oct 1 15:23:17 2008 UTC (5 years, 11 months ago) by betelgeuse
Branch: MAIN
Changes since 1.39: +19 -1 lines
Move build.xml rewriting from eant to java-ant-2_src_configure and bundled jar checking to java-utils-2_src_prepare.

1 nichoj 1.1 # eclass for ant based Java packages
2     #
3     # Copyright (c) 2004-2005, Thomas Matthijs <axxo@gentoo.org>
4     # Copyright (c) 2004-2005, Gentoo Foundation
5 betelgeuse 1.10 # Changes:
6 betelgeuse 1.22 # May 2007:
7     # Made bsfix make one pass for all things and add some glocal targets for
8     # setting up the whole thing. Contributed by kiorky
9     # (kiorky@cryptelium.net).
10 betelgeuse 1.10 # December 2006:
11     # I pretty much rewrote the logic of the bsfix functions
12     # and xml-rewrite.py because they were so slow
13     # Petteri R├Ąty (betelgeuse@gentoo.org)
14 nichoj 1.1 #
15     # Licensed under the GNU General Public License, v2
16     #
17 betelgeuse 1.40 # $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.39 2008/09/28 15:47:48 caster Exp $
18 nichoj 1.1
19     inherit java-utils-2
20    
21     # This eclass provides functionality for Java packages which use
22     # ant to build. In particular, it will attempt to fix build.xml files, so that
23     # they use the appropriate 'target' and 'source' attributes.
24    
25 caster 1.14 # -----------------------------------------------------------------------------
26     # @variable-preinherit WANT_ANT_TASKS
27     # @variable-default ""
28     #
29     # Please see the description in java-utils-2.eclass.
30     #WANT_ANT_TASKS
31    
32 caster 1.17 # -----------------------------------------------------------------------------
33     # @variable-preinherit JAVA_ANT_DISABLE_ANT_CORE_DEP
34     # @variable-default unset for java-pkg-2, true for java-pkg-opt-2
35     #
36     # Setting this variable non-empty before inheriting java-ant-2 disables adding
37     # dev-java/ant-core into DEPEND.
38 betelgeuse 1.15
39 caster 1.17 # construct ant-speficic DEPEND
40 betelgeuse 1.38 JAVA_ANT_E_DEPEND=""
41 caster 1.25 # add ant-core into DEPEND, unless disabled
42 caster 1.17 if [[ -z "${JAVA_ANT_DISABLE_ANT_CORE_DEP}" ]]; then
43     JAVA_ANT_E_DEPEND="${JAVA_ANT_E_DEPEND} >=dev-java/ant-core-1.7.0"
44     fi
45 betelgeuse 1.15
46 caster 1.14 # add ant tasks specified in WANT_ANT_TASKS to DEPEND
47     local ANT_TASKS_DEPEND;
48     ANT_TASKS_DEPEND="$(java-pkg_ant-tasks-depend)"
49     # check that java-pkg_ant-tasks-depend didn't fail
50     if [[ $? != 0 ]]; then
51     eerror "${ANT_TASKS_DEPEND}"
52     die "java-pkg_ant-tasks-depend() failed"
53     fi
54 betelgeuse 1.38 JAVA_ANT_E_DEPEND="${JAVA_ANT_E_DEPEND} ${ANT_TASKS_DEPEND}"
55 caster 1.17
56     # this eclass must be inherited after java-pkg-2 or java-pkg-opt-2
57     # if it's java-pkg-opt-2, ant dependencies are pulled based on USE flag
58     if hasq java-pkg-opt-2 ${INHERITED}; then
59     JAVA_ANT_E_DEPEND="${JAVA_PKG_OPT_USE}? ( ${JAVA_ANT_E_DEPEND} )"
60     elif ! hasq java-pkg-2 ${INHERITED}; then
61     eerror "java-ant-2 eclass can only be inherited AFTER java-pkg-2 or java-pkg-opt-2"
62     fi
63    
64 betelgeuse 1.38 # We need some tools from javatoolkit. We also need portage 2.1 for phase hooks
65     # and ant dependencies constructed above
66 caster 1.39 DEPEND=">=dev-java/javatoolkit-0.3.0-r2 ${JAVA_PKG_PORTAGE_DEP} ${JAVA_ANT_E_DEPEND}"
67 nichoj 1.1
68     # ------------------------------------------------------------------------------
69 nichoj 1.7 # @global JAVA_PKG_BSFIX
70 nichoj 1.1 #
71     # Should we attempt to 'fix' ant build files to include the source/target
72     # attributes when calling javac?
73     #
74     # default: on
75     # ------------------------------------------------------------------------------
76 nichoj 1.7 JAVA_PKG_BSFIX=${JAVA_PKG_BSFIX:-"on"}
77 nichoj 1.1
78     # ------------------------------------------------------------------------------
79 nichoj 1.7 # @global JAVA_PKG_BSFIX_ALL
80 nichoj 1.1 #
81     # If we're fixing build files, should we try to fix all the ones we can find?
82     #
83     # default: yes
84     # ------------------------------------------------------------------------------
85 nichoj 1.7 JAVA_PKG_BSFIX_ALL=${JAVA_PKG_BSFIX_ALL:-"yes"}
86 nichoj 1.1
87     # ------------------------------------------------------------------------------
88 nichoj 1.5 # @global JAVA_PKG_BSFIX_NAME
89 nichoj 1.1 #
90     # Filename of build files to fix/search for
91     #
92     # default: build.xml
93     # ------------------------------------------------------------------------------
94 nichoj 1.7 JAVA_PKG_BSFIX_NAME=${JAVA_PKG_BSFIX_NAME:-"build.xml"}
95 nichoj 1.1
96     # ------------------------------------------------------------------------------
97 nichoj 1.7 # @global JAVA_PKG_BSFIX_TARGETS_TAGS
98 nichoj 1.1 #
99     # Targets to fix the 'source' attribute in
100     #
101     # default: javac xjavac javac.preset
102     # ------------------------------------------------------------------------------
103 nichoj 1.7 JAVA_PKG_BSFIX_TARGET_TAGS=${JAVA_PKG_BSFIX_TARGET_TAGS:-"javac xjavac javac.preset"}
104 nichoj 1.1
105     # ------------------------------------------------------------------------------
106 nichoj 1.7 # @global JAVA_PKG_BSFIX_SOURCE_TAGS
107 nichoj 1.1 #
108     # Targets to fix the 'target' attribute in
109     #
110     # default: javacdoc javac xjavac javac.preset
111     # ------------------------------------------------------------------------------
112 nichoj 1.7 JAVA_PKG_BSFIX_SOURCE_TAGS=${JAVA_PKG_BSFIX_SOURCE_TAGS:-"javadoc javac xjavac javac.preset"}
113 nichoj 1.1
114     # ------------------------------------------------------------------------------
115 betelgeuse 1.30 # @global JAVA_ANT_CLASSPATH_TAGS
116     #
117     # Targets to add the classpath attribute to
118     #
119     # default: javac xjavac
120     # ------------------------------------------------------------------------------
121     JAVA_ANT_CLASSPATH_TAGS="javac xjavac"
122    
123     # ------------------------------------------------------------------------------
124 betelgeuse 1.23 # @global JAVA_ANT_IGNORE_SYSTEM_CLASSES
125 nichoj 1.1 #
126 betelgeuse 1.23 # Rewrites available tasks to ignore ant classpath.
127 nichoj 1.1 #
128 betelgeuse 1.23 # default: off
129 nichoj 1.1 # ------------------------------------------------------------------------------
130    
131 betelgeuse 1.40 [[ "${EAPI}" == "2" ]] && EXPORT_FUNCTIONS src_configure
132    
133     # ------------------------------------------------------------------------------
134     # @eclass-src_configure
135     #
136     # src_configure rewrites the build.xml files
137     # ------------------------------------------------------------------------------
138     java-ant-2_src_configure() {
139     # eant will call us unless called by Portage
140     [[ -e "${T}/java-ant-2_src_configure-run" ]] && return
141    
142     [[ "${JAVA_ANT_IGNORE_SYSTEM_CLASSES}" ]] \
143     && java-ant_ignore-system-classes "${S}/build.xml"
144    
145     java-ant_bsfix
146     touch "${T}/java-ant-2_src_configure-run"
147     }
148    
149 nichoj 1.1 # ------------------------------------------------------------------------------
150     # @private java-ant_bsfix
151     #
152     # Attempts to fix build files. The following variables will affect its behavior
153     # as listed above:
154     # JAVA_PKG_BSFIX
155     # JAVA_PKG_BSFIX_ALL
156     # JAVA_PKG_BSFIX_NAME,
157     # ------------------------------------------------------------------------------
158     java-ant_bsfix() {
159     debug-print-function ${FUNCNAME} $*
160    
161 nelchael 1.4 [[ "${JAVA_PKG_BSFIX}" != "on" ]] && return
162     if ! java-pkg_needs-vm; then
163 nichoj 1.1 echo "QA Notice: Package is using java-ant, but doesn't depend on a Java VM"
164     fi
165    
166 betelgeuse 1.10 pushd "${S}" >/dev/null
167 nelchael 1.4
168 nichoj 1.7 local find_args=""
169     [[ "${JAVA_PKG_BSFIX_ALL}" == "yes" ]] || find_args="-maxdepth 1"
170 swegener 1.8
171 nichoj 1.7 find_args="${find_args} -type f -name ${JAVA_PKG_BSFIX_NAME// / -o -name } "
172 nichoj 1.1
173 betelgeuse 1.10 # This voodoo is done for paths with spaces
174     local bsfix_these
175 nichoj 1.1 while read line; do
176     [[ -z ${line} ]] && continue
177 betelgeuse 1.10 bsfix_these="${bsfix_these} '${line}'"
178 swegener 1.8 done <<-EOF
179 flameeyes 1.3 $(find . ${find_args})
180 nichoj 1.1 EOF
181    
182 betelgeuse 1.10 [[ "${bsfix_these// /}" ]] && eval java-ant_bsfix_files ${bsfix_these}
183    
184     popd > /dev/null
185 nelchael 1.4 }
186    
187 betelgeuse 1.11 _bsfix_die() {
188     if has_version dev-python/pyxml; then
189     eerror "If the output above contains:"
190     eerror "ImportError:"
191     eerror "/usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so:"
192     eerror "undefined symbol: PyUnicodeUCS2_DecodeUTF8"
193     eerror "Try re-emerging dev-python/pyxml"
194     die ${1} " Look at the eerror message above"
195     else
196     die ${1}
197     fi
198     }
199    
200 nelchael 1.4 # ------------------------------------------------------------------------------
201 betelgeuse 1.10 # @public java-ant_bsfix_files
202 nelchael 1.4 #
203 betelgeuse 1.10 # Attempts to fix named build files. The following variables will affect its behavior
204 nelchael 1.4 # as listed above:
205     # JAVA_PKG_BSFIX_SOURCE_TAGS
206     # JAVA_PKG_BSFIX_TARGET_TAGS
207 betelgeuse 1.22 # JAVA_ANT_REWRITE_CLASSPATH
208     # JAVA_ANT_JAVADOC_INPUT_DIRS: Where we can find java sources for javadoc
209     # input. Can be a space separated list of
210     # directories
211     # JAVA_ANT_BSFIX_EXTRA_ARGS: You can use this to pass extra variables to the
212     # rewriter if you know what you are doing.
213     #
214     # If JAVA_ANT_JAVADOC_INPUT_DIRS is set, we will turn on the adding of a basic
215     # javadoc target to the ant's build.xml with the javadoc xml-rewriter feature.
216     # Then we will set EANT DOC TARGET to the added javadoc target
217     # NOTE: the variable JAVA_ANT_JAVADOC_OUTPUT_DIR points where we will
218     # generate the javadocs. This is a read-only variable, dont change it.
219    
220 betelgeuse 1.10 # When changing this function, make sure that it works with paths with spaces in
221     # them.
222 nelchael 1.4 # ------------------------------------------------------------------------------
223 betelgeuse 1.10 java-ant_bsfix_files() {
224 nelchael 1.4 debug-print-function ${FUNCNAME} $*
225    
226 betelgeuse 1.10 [[ ${#} = 0 ]] && die "${FUNCNAME} called without arguments"
227 nelchael 1.4
228 nichoj 1.1 local want_source="$(java-pkg_get-source)"
229     local want_target="$(java-pkg_get-target)"
230    
231 betelgeuse 1.10 debug-print "${FUNCNAME}: target: ${want_target} source: ${want_source}"
232 nichoj 1.1
233     if [ -z "${want_source}" -o -z "${want_target}" ]; then
234     eerror "Could not find valid -source/-target values"
235     eerror "Please file a bug about this on bugs.gentoo.org"
236     die "Could not find valid -source/-target values"
237     else
238 betelgeuse 1.10 local files
239 nelchael 1.4
240 betelgeuse 1.10 for file in "${@}"; do
241     debug-print "${FUNCNAME}: ${file}"
242 nelchael 1.4
243 betelgeuse 1.10 if [[ -n "${JAVA_PKG_DEBUG}" ]]; then
244     cp "${file}" "${file}.orig" || die "failed to copy ${file}"
245     fi
246    
247     if [[ ! -w "${file}" ]]; then
248     chmod u+w "${file}" || die "chmod u+w ${file} failed"
249     fi
250    
251     files="${files} -f '${file}'"
252     done
253    
254 betelgeuse 1.28 # Play nice with paludis
255     if [[ $(type -t quiet_mode) = function ]] && quiet_mode; then
256     local output=">/dev/null"
257     fi
258 betelgeuse 1.22
259 betelgeuse 1.28 # for javadoc target and all in one pass, we need the new rewriter.
260     local rewriter3="/usr/share/javatoolkit/xml-rewrite-3.py"
261 ali_bush 1.33 if [[ ! -f ${rewriter3} ]]; then
262     rewriter3="/usr/$(get_libdir)/javatoolkit/bin/xml-rewrite-3.py"
263     fi
264    
265 betelgeuse 1.36 local rewriter4="/usr/$(get_libdir)/javatoolkit/bin/build-xml-rewrite"
266    
267     if [[ -x ${rewriter4} && ${JAVA_ANT_ENCODING} ]]; then
268     [[ ${JAVA_ANT_REWRITE_CLASSPATH} ]] && local gcp="-g"
269     [[ ${JAVA_ANT_ENCODING} ]] && local enc="-e ${JAVA_ANT_ENCODING}"
270     eval echo "cElementTree rewriter" ${output}
271     debug-print "${rewriter4} extra args: ${gcp} ${enc}"
272     ${rewriter4} ${gcp} ${enc} \
273     -c "${JAVA_PKG_BSFIX_SOURCE_TAGS}" source ${want_source} \
274     -c "${JAVA_PKG_BSFIX_TARGET_TAGS}" target ${want_target} \
275     "${@}" || die "build-xml-rewrite failed"
276     elif [[ ! -f ${rewriter3} ]]; then
277 betelgeuse 1.28 debug-print "Using second generation rewriter"
278     eval echo "Rewriting source attributes" ${output}
279 ali_bush 1.32 eval xml-rewrite-2.py ${files} \
280 betelgeuse 1.28 -c -e ${JAVA_PKG_BSFIX_SOURCE_TAGS// / -e } \
281 ali_bush 1.32 -a source -v ${want_source} ${output} || _bsfix_die "xml-rewrite2 failed: ${file}"
282 betelgeuse 1.28
283     eval echo "Rewriting target attributes" ${output}
284 ali_bush 1.32 eval xml-rewrite-2.py ${files} \
285 betelgeuse 1.28 -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \
286 ali_bush 1.32 -a target -v ${want_target} ${output} || _bsfix_die "xml-rewrite2 failed: ${file}"
287 betelgeuse 1.28
288     eval echo "Rewriting nowarn attributes" ${output}
289 ali_bush 1.32 eval xml-rewrite-2.py ${files} \
290 betelgeuse 1.28 -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \
291 ali_bush 1.32 -a nowarn -v yes ${output} || _bsfix_die "xml-rewrite2 failed: ${file}"
292 betelgeuse 1.22
293 betelgeuse 1.28 if [[ ${JAVA_ANT_REWRITE_CLASSPATH} ]]; then
294     eval echo "Adding gentoo.classpath to javac tasks" ${output}
295 ali_bush 1.32 eval xml-rewrite-2.py ${files} \
296 betelgeuse 1.28 -c -e javac -e xjavac -a classpath -v \
297 ali_bush 1.32 '\${gentoo.classpath}' \
298     || _bsfix_die "xml-rewrite2 failed"
299 betelgeuse 1.28 fi
300     else
301     debug-print "Using third generation rewriter"
302     eval echo "Rewriting attributes" ${output}
303     local bsfix_extra_args=""
304     # WARNING KEEP THE ORDER, ESPECIALLY FOR CHANGED ATTRIBUTES!
305     if [[ -n ${JAVA_ANT_REWRITE_CLASSPATH} ]]; then
306     bsfix_extra_args="${bsfix_extra_args} -g -e javac -e xjavac "
307     bsfix_extra_args="${bsfix_extra_args} -a classpath -v '\${gentoo.classpath}'"
308     fi
309     if [[ -n ${JAVA_ANT_JAVADOC_INPUT_DIRS} ]]; then
310     if [[ -n ${JAVA_ANT_JAVADOC_OUTPUT_DIR} ]]; then
311     die "Do not define JAVA_ANT_JAVADOC_OUTPUT_DIR!"
312     fi
313     # Where will our generated javadoc go.
314 betelgeuse 1.29 readonly JAVA_ANT_JAVADOC_OUTPUT_DIR="${WORKDIR}/gentoo_javadoc"
315 betelgeuse 1.28 mkdir -p "${JAVA_ANT_JAVADOC_OUTPUT_DIR}" || die
316    
317     if hasq doc ${IUSE}; then
318     if use doc; then
319     if [[ -z ${EANT_DOC_TARGET} ]]; then
320     EANT_DOC_TARGET="gentoojavadoc"
321     else
322     die "You can't use javadoc adding and set EANT_DOC_TARGET too."
323     fi
324 betelgeuse 1.22
325 betelgeuse 1.28 for dir in ${JAVA_ANT_JAVADOC_INPUT_DIRS};do
326     if [[ ! -d ${dir} ]]; then
327     eerror "This dir: ${dir} doesnt' exists"
328     die "You must specify directories for javadoc input/output dirs."
329 betelgeuse 1.22 fi
330 betelgeuse 1.28 done
331     bsfix_extra_args="${bsfix_extra_args} --javadoc --source-directory "
332     # filter third/double spaces
333     JAVA_ANT_JAVADOC_INPUT_DIRS=${JAVA_ANT_JAVADOC_INPUT_DIRS// /}
334     JAVA_ANT_JAVADOC_INPUT_DIRS=${JAVA_ANT_JAVADOC_INPUT_DIRS// /}
335     bsfix_extra_args="${bsfix_extra_args} ${JAVA_ANT_JAVADOC_INPUT_DIRS// / --source-directory }"
336     bsfix_extra_args="${bsfix_extra_args} --output-directory ${JAVA_ANT_JAVADOC_OUTPUT_DIR}"
337 betelgeuse 1.22 fi
338 betelgeuse 1.28 else
339     die "You need to have doc in IUSE when using JAVA_ANT_JAVADOC_INPUT_DIRS"
340 betelgeuse 1.22 fi
341 betelgeuse 1.28 fi
342 betelgeuse 1.22
343 betelgeuse 1.28 [[ -n ${JAVA_ANT_BSFIX_EXTRA_ARGS} ]] \
344     && bsfix_extra_args="${bsfix_extra_args} ${JAVA_ANT_BSFIX_EXTRA_ARGS}"
345 betelgeuse 1.22
346 betelgeuse 1.28 eval ${rewriter3} ${files} \
347     -c --source-element ${JAVA_PKG_BSFIX_SOURCE_TAGS// / --source-element } \
348     --source-attribute source --source-value ${want_source} \
349     --target-element ${JAVA_PKG_BSFIX_TARGET_TAGS// / --target-element } \
350     --target-attribute target --target-value ${want_target} \
351     --target-attribute nowarn --target-value yes \
352     ${bsfix_extra_args} \
353     ${output} || _bsfix_die "xml-rewrite2 failed: ${file}"
354 betelgeuse 1.10 fi
355 nelchael 1.4
356     if [[ -n "${JAVA_PKG_DEBUG}" ]]; then
357 betelgeuse 1.10 for file in "${@}"; do
358     diff -NurbB "${file}.orig" "${file}"
359     done
360 nelchael 1.4 fi
361 nichoj 1.1 fi
362 betelgeuse 1.24 return 0 # so that the 1 for diff doesn't get reported
363 nichoj 1.1 }
364 nelchael 1.6
365 betelgeuse 1.10
366     # ------------------------------------------------------------------------------
367     # @public java-ant_bsfix_one
368     #
369     # Attempts to fix named build file. The following variables will affect its behavior
370     # as listed above:
371     # JAVA_PKG_BSFIX_SOURCE_TAGS
372     # JAVA_PKG_BSFIX_TARGET_TAGS
373     # ------------------------------------------------------------------------------
374     java-ant_bsfix_one() {
375     debug-print-function ${FUNCNAME} $*
376    
377     if [ -z "${1}" ]; then
378     eerror "${FUNCNAME} needs one argument"
379     die "${FUNCNAME} needs one argument"
380     fi
381    
382     java-ant_bsfix_files "${1}"
383     }
384    
385 nelchael 1.6 # ------------------------------------------------------------------------------
386     # @public java-ant_rewrite-classpath
387     #
388     # Adds 'classpath="${gentoo.classpath}"' to specified build file.
389 betelgeuse 1.30 # Affected by:
390     # JAVA_ANT_CLASSPATH_TAGS
391 betelgeuse 1.12 # @param $1 - the file to rewrite (defaults to build.xml)
392 nelchael 1.6 # ------------------------------------------------------------------------------
393     java-ant_rewrite-classpath() {
394     debug-print-function ${FUNCNAME} $*
395    
396 betelgeuse 1.12 local file="${1}"
397     [[ -z "${1}" ]] && file=build.xml
398 betelgeuse 1.24 [[ ${#} -gt 1 ]] && die "${FUNCNAME} currently can only rewrite one file."
399 nelchael 1.6
400     echo "Adding gentoo.classpath to ${file}"
401     debug-print "java-ant_rewrite-classpath: ${file}"
402    
403     cp "${file}" "${file}.orig" || die "failed to copy ${file}"
404    
405     chmod u+w "${file}"
406    
407 betelgeuse 1.30 java-ant_xml-rewrite -f "${file}" --change \
408     -e ${JAVA_ANT_CLASSPATH_TAGS// / -e } -a classpath -v '${gentoo.classpath}'
409 nelchael 1.6
410     if [[ -n "${JAVA_PKG_DEBUG}" ]]; then
411     diff -NurbB "${file}.orig" "${file}"
412     fi
413     }
414 betelgeuse 1.12
415     # ------------------------------------------------------------------------------
416     # @public java-ant_ignore-system-classes
417     #
418     # Makes the available task ignore classes in the system classpath
419     # @param $1 - the file to rewrite (defaults to build.xml)
420     # ------------------------------------------------------------------------------
421     java-ant_ignore-system-classes() {
422     debug-print-function ${FUNCNAME} $*
423 betelgeuse 1.36 local file=${1:-build.xml}
424     echo "Changing ignoresystemclasses to true for available tasks in ${file}"
425 betelgeuse 1.12 java-ant_xml-rewrite -f "${file}" --change \
426     -e available -a ignoresystemclasses -v "true"
427     }
428    
429     # ------------------------------------------------------------------------------
430     # @public java-ant_xml-rewrite
431     # Run the right xml-rewrite binary with the given arguments
432     # ------------------------------------------------------------------------------
433     java-ant_xml-rewrite() {
434 ali_bush 1.32 local gen2="/usr/bin/xml-rewrite-2.py"
435 ali_bush 1.33 local gen2_1="/usr/$(get_libdir)/javatoolkit/bin/xml-rewrite-2.py"
436 ali_bush 1.31 # gen1 is deprecated
437 betelgeuse 1.12 if [[ -x "${gen2}" ]]; then
438 ali_bush 1.32 ${gen2} "${@}" || die "${gen2} failed"
439 ali_bush 1.34 elif [[ -x "${gen2_1}" ]]; then
440 ali_bush 1.35 ${gen2_1} "${@}" || die "${gen2_1} failed"
441 betelgeuse 1.12 else
442     eerror "No binary for rewriting found."
443     eerror "Do you have dev-java/javatoolkit installed?"
444     die "xml-rewrite not found"
445     fi
446     }

  ViewVC Help
Powered by ViewVC 1.1.20