[MacPorts] #22753: [derby] DERBY_HOME can not be proppery set
MacPorts
noreply at macports.org
Wed Dec 2 08:36:02 PST 2009
#22753: [derby] DERBY_HOME can not be proppery set
-------------------------------------+--------------------------------------
Reporter: martin.osx@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: derby
-------------------------------------+--------------------------------------
Hello,
one can not set the DERBY_HOME variable propperly in derby. See extract
from "/opt/local/bin/derby_common.sh":
{{{
[...]
# set DERBY_LIB location
DERBY_LIB="${DERBY_HOME}/lib"
[...]
# set local classpath, don't overwrite the user's
LOCALCLASSPATH=$DERBY_LIB/derby.jar:$DERBY_LIB/derbynet.jar:$DERBY_LIB/derbytools.jar:$DERBY_LIB/derbyclient.jar
[...]
}}}
As you can see it is expected that '''${DERBY_HOME}/lib/derby.jar'''
exits but '''derby.jar''' is installed in
'''/opt/local/share/java/derby.jar'''.
I suggest that installation is done similar to ant or maven2 which both
create a subdirectory in '''/opt/local/share/java/'''.
--
Ticket URL: <http://trac.macports.org/ticket/22753>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list