Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142048 - New tomcat-5.5 layout incompatible with Eclipse WST/JST
Summary: New tomcat-5.5 layout incompatible with Eclipse WST/JST
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-28 17:31 UTC by Nicolas Laplante
Modified: 2006-07-28 20:26 UTC (History)
0 users

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 Nicolas Laplante 2006-07-28 17:31:07 UTC
After emerging tomcat-5.5 (with LSF-compliant layout), Eclipse SDK 3.2 and installing the Web tools platorm via update manager, there is no way to add a Tomcat server runtime to Eclipse.

Pointint it to /var/lib/tomcat-5.5 does not work (the location of the server runtime is incorrect), nor pointing it to /usr/share/tomcat-5.5.

I think it's because there is no lib/ subdir in /var/lib/tomcat-5.5 and /usr/share/tomcat-5.5.

Emerge --info:
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -ftree-vectorize -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -ftree-vectorize -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/"
LINGUAS="en fr es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl acpi alsa apache2 apm arts avi berkdb bitmap-fonts browserplugin cairo caps cdr cli crypt cups dlloader dri dvd dvdr eds emboss encode esd foomaticdb fortran gdbm gif glibc-omitfp gnome gpm gstreamer gtk gtk2 imlib isdnlog java jpeg libclamav libg++ libwww mad mikmod mmx mono mozdevelop mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin oav ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection samba sdl session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xprint xv zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_en linguas_fr linguas_es userland_GNU video_cards_nv video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Nicolas Laplante 2006-07-28 20:26:25 UTC
I tried adding the following symlinks in /var/lib/tomcat-5.5:

/var/lib/tomcat-5.5/common --> /usr/share/tomcat-5.5/common
/var/lib/tomcat-5.5/bin --> /usr/share/tomcat-5.5/bin
/var/lib/tomcat-5.5/lib --> /usr/share/tomcat-5.5/lib
/var/lib/tomcat-5.5/server --> /usr/share/tomcat-5.5/server

Eclipse 3.2 WST was able to use /var/lib/tomcat-5.5 as a server runtime after the modifications.