Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59799 - ant-optional package does not build optional jar bsf.jar in /usr/share/ant/lib
Summary: ant-optional package does not build optional jar bsf.jar in /usr/share/ant/lib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 68734
  Show dependency tree
 
Reported: 2004-08-08 13:09 UTC by Mark
Modified: 2005-03-29 08:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2004-08-08 13:09:09 UTC
I am trying to use some of the optional tasks in ant. In particular the script task. This relies on the bean scripting framework jar. When I emerge ant the ant-bsf.jar that is built in the lib directory is empty. Emerging ant-optional does buils some of the optional jars in /usr/share/ant/lib but not the bsf jar.

Reproducible: Always
Steps to Reproduce:
1.emerge ant-optional
2.
3.

Actual Results:  
some of the optional jars are built the bsf jar is not built.

Expected Results:  
The bsf..jar should be built.

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r1,
2.6.7-gentoo-r12)
=================================================================
System uname: 2.6.7-gentoo-r12 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acpi aim alsa apache2 apm arts audiofile avi bcel berkdb bidi
bluetooth bonobo bsh calendar cddb cdf cdinstall cdr cdrom chroot clamav cln
crypt cups curl db2 dga directfb dnd doc dvd encode esd ethereal evo exif fam
fbcon fbdev fdftk flash foomaticdb freetds freetype ftp gb gd gdbm geoip gif
gimp gimpprint ginac glade glgd glut gnome gnomedb gnuplot gphoto2 gpm gstreamer
gtk gtk2 gtkhtml icq imagemagick imap imlib innodb iodbc irda irmc jabber java
javacomm javamail javascript jboss jdepend jikes jmx jpeg jta junit jython lcd
lcms ldap libg++ libgda libwww lirc log4j mad mbox mcal mdb memlimit mikmod mmx
mono motif mozdomi mozilla mozsvg mpeg mpi msdav msn mssql mysql ncurses nls
oci8 odbc offensive oggvorbis opengl oro oscar oss pam pcmcia pcre pdflib perl
php plotutils png pnp posix postgres ppds prelude python quicktime quotes
readline regexp rhino samba scanner sdl servlet-2.4 slang slp snortsam soap
sockets speedo spell spl sse ssl stroke struts svg svga szip tcltk tcpd tidy
tiff tokenizer truetype trusted unicode usb vhosts virus-scan wifi wmf wxwin
wxwindows x86 xalan xerces xforms xine xinerama xml xml2 xmlrpc xmms xosd xprint
xsl xv xvid yahoo zeo zlib"
Comment 1 Al Maw 2004-09-01 11:59:39 UTC
This can be fixed by adding "bsf-2.3" to the packages="[...]" line of the ebuild.
Comment 2 Al Maw 2004-09-01 12:46:39 UTC
Once you've patched the ant-optional ebuild, make sure you add bsf-2.3 to the LOCALCLASSPATH line in the /usr/bin/ant script to make it all work.
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2004-11-30 13:05:12 UTC
maybe this one can be closed since the package 'ant-optional' disappeared?
Comment 4 Thomas Matthijs (RETIRED) gentoo-dev 2004-11-30 13:23:52 UTC
its named ant-tasks, but still has the problem
Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-29 08:07:51 UTC
re-added generation of the bsf.jar in the -r7 version, fixed in cvs. thanks