Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9546 Details for
Bug 17350
[rfc] jakarta-commons.eclass
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
java-commons.eclass
java-commons.eclass (text/plain), 3.17 KB, created by
Lim Swee Tat (RETIRED)
on 2003-03-17 19:41:54 UTC
(
hide
)
Description:
java-commons.eclass
Filename:
MIME Type:
Creator:
Lim Swee Tat (RETIRED)
Created:
2003-03-17 19:41:54 UTC
Size:
3.17 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/eclass/java-commons.eclass,v 1.1 2003/03/17 20:56:21 absinthe Exp $ > >inherit base >ECLASS=java-commons >INHERITED="$INHERITED $ECLASS" >IUSE="$IUSE" > >DESCRIPTION="Based on the $ECLASS eclass" >HOMEPAGE="http://jakarta.apache.org/" > ># deps on the build tools >DEPEND="$DEPEND > >=virtual/jdk-1.3 > >=ant-1.4 > log4j? ( >=dev-java/log4j-1.2 ) > junit? ( >=dev-java/junit-3.7 )" > >RDEPEND="$RDEPEND >=virtual/jdk-1.3" >SLOT="$SLOT" > >java-commons_src_compile() { > > debug-print-function $FUNCNAME $* > [ -z "$1" ] && java-commons_src_compile all > ant_targetlist=`fgrep "<target" build.xml | sed -e 's/.*name="\([^"]*\)".*/\1/g'` > debug-print "TargetList: $ant_targetlist" > > cd ${S} > while [ "$1" ]; do > case $1 in > myconf) > debug-print-section myconf > use jikes && myconf="$myconf -Dbuild.compiler=jikes" > use log4j && echo "log4j.jar=`java-config --classpath=log4j`" >> build.properties > use junit && echo "junit.jar=`java-config --classpath=junit`" >> build.properties > debug-print "$FUNCNAME: myconf: set to ${myconf}" > ;; > maketest) > debug-print-section maketest > if [ -n "`use junit`" ]; then > if [ -n $(echo "$target" | grep "test") ]; then > ANT_OPTS=${myconf} ant test || die "Building Testing Classes Failed" > else > ANT_OPTS=${myconf} ant || die "Building Testing Classes Failed" > fi > fi > ;; > make) > debug-print-section make > ANT_OPTS=${myconf} ant dist || die "Compilation Failed" > ;; > makedoc) > debug-print-section makedoc > ANT_OPTS="${myconf}" > target=`echo "${ant_targetlist}" | grep "^javadoc$"` > debug-print "Building ${target}" > if [ -n "${target}" ]; then > ant "${target}" || die "Unable to create documents" > else > target=`echo "${ant_targetlist}" | grep "^doc$"` > if [ -n "${target}" ]; then > ant "${target}" || die "Unable to create documents" > fi > fi > ;; > all) > debug-print-section all > java-commons_src_compile myconf make > ;; > esac > > shift > done >} > >java-commons_src_install() { > > debug-print-function $FUNCNAME $* > [ -z "$1" ] && java-commons_src_install all > > cd ${S} > while [ "$1" ]; do > > case $1 in > dojar) > debug-print-section dojar > [ -f dist/*.jar ] && dojar dist/*.jar > [ -f target/*.jar ] && dojar target/*.jar > ;; > dohtml) > debug-print-section dohtml > [ -f LICENSE.txt ] && dodoc LICENSE.txt > [ -f RELEASE-NOTES.txt ] && dodoc RELEASE-NOTES.txt > [ -n $(ls -1 *.html 2> /dev/null | wc -l ) ] && dohtml *.html > [ -n $(ls -1 dist/*.html 2> /dev/null | wc -l ) ] && dohtml dist/*.html > [ -n $(ls -1 dist/docs/* 2> /dev/null | wc -l ) ] && dohtml -r dist/docs/* > ;; > all) > debug-print-section all > java-commons_src_install dojar dohtml > ;; > esac > > shift > done >} > >EXPORT_FUNCTIONS src_compile src_install
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 17350
:
9281
|
9282
|
9283
|
9284
|
9285
|
9286
|
9287
|
9288
|
9289
|
9290
|
9291
|
9292
|
9293
|
9294
|
9544
|
9546
|
9574