The ant-wrapper script was removed in package 2.4.1-1, and even before
removal it doesn't look like it was using explicit paths anymore. As
such, marking as fixed, feel free to reopen.
** Changed in: protobuf (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to protobuf in Ubuntu.
https://bugs.launchpad.net/bugs/397287
Title:
Using java wrapper package instead of explicit java-6-openjdk
Status in protobuf package in Ubuntu:
Fix Released
Bug description:
The protobuf package uses explicit paths to openjdk. Instead it should
use path names and package names to java wrapper packages.
As an example the ant-wrapper script should be:
#!/bin/sh
JAVA_HOME=`readlink -f /usr/bin/javac|xargs dirname| xargs dirname`
echo $JAVA_HOME
if [ ! -d "$JAVA_HOME" ]; then
echo "Can't find java-6-openjdk, please check the build-depends" 1>&2
exit 1
fi
export JAVA_HOME
# workaround for openjdk bug, see http://bugs.debian.org/491074
export ANT_OPTS="-client"
exec ant "$@"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/protobuf/+bug/397287/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp