1 Feb 2003 02:22
/usr/bin/ant and ant-optional-full
I use the ant-optional-full package instead of ant-optional, and
have recently had problems building packages with certain tasks,
such as <style_0 in them. This is because the script /usr/bin/ant
doesn't search for and use the /usr/share/java/ant-optional-full.jar
link. I haven't tried the trivial-looking patch below with
ant-optional, only with -full.
[mikael <at> gumidesk javalodm]$ rpm -qa | grep ant-
ant-1.5.1-7jpp
ant-optional-full-1.5.1-7jpp
ant-manual-1.5.1-7jpp
--- /tmp/oldant 2003-02-01 03:11:50.000000000 +0200
+++ /usr/bin/ant 2003-02-01 03:13:23.000000000 +0200
<at> <at> -116,7 +116,8 <at> <at>
#
if $rpm_mode; then
JAVALIBDIR=/usr/share/java
- for i in ant ant-optional jaxp_parser_impl xml-commons-apis
+ for i in ant ant-optional ant-optional-full \
+ jaxp_parser_impl xml-commons-apis
do
if [ -z "$LOCALCLASSPATH" ] ; then
LOCALCLASSPATH="$JAVALIBDIR/$i.jar"
--
--
:) MG - http://www.gueck.com/
RSS Feed