Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 231673
Collapse All | Expand All

(-)java-utils-2.eclass.orig (+3 lines)
Lines 1819-1824 Link Here
1819
# EANT_GENTOO_CLASSPATH - calls java-pkg_getjars for the value and adds to the
1819
# EANT_GENTOO_CLASSPATH - calls java-pkg_getjars for the value and adds to the
1820
#                         gentoo.classpath property. Be sure to call
1820
#                         gentoo.classpath property. Be sure to call
1821
#                         java-ant_rewrite-classpath in src_unpack.
1821
#                         java-ant_rewrite-classpath in src_unpack.
1822
# EANT_NEEDS_TOOLS - add tools.jar to the classpath.
1822
# JAVA_PKG_NO_BUNDLED_SEARCH - Don't search for bundled jars or class files
1823
# JAVA_PKG_NO_BUNDLED_SEARCH - Don't search for bundled jars or class files
1823
# *ANT_TASKS - used to determine ANT_TASKS before calling Ant.
1824
# *ANT_TASKS - used to determine ANT_TASKS before calling Ant.
1824
# ------------------------------------------------------------------------------
1825
# ------------------------------------------------------------------------------
Lines 1942-1947 Link Here
1942
		cp="${cp}:$(java-pkg_getjars ${getjarsarg} ${atom})"
1943
		cp="${cp}:$(java-pkg_getjars ${getjarsarg} ${atom})"
1943
	done
1944
	done
1944
1945
1946
	[[ -n "${EANT_NEEDS_TOOLS}" ]] && cp="${cp}:$(java-config --tools)"
1947
1945
	if [[ ${cp} ]]; then
1948
	if [[ ${cp} ]]; then
1946
		# It seems ant does not like single quotes around ${cp}
1949
		# It seems ant does not like single quotes around ${cp}
1947
		antflags="${antflags} -Dgentoo.classpath=\"${cp#:}\""
1950
		antflags="${antflags} -Dgentoo.classpath=\"${cp#:}\""

Return to bug 231673