Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: Donnie Berkholz <dberkholz@g.o>
Cc: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: java-ant-2.eclass
Date: Tue, 22 Jan 2008 23:27:22
Message-Id: 47967BC4.1080508@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: java-ant-2.eclass by Donnie Berkholz
1 Donnie Berkholz kirjoitti:
2 > On 21:57 Tue 22 Jan , Petteri Raty (betelgeuse) wrote:
3 >> Revision Changes Path
4 >> 1.26 eclass/java-ant-2.eclass
5 >>
6 >> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-ant-2.eclass?rev=1.26&view=markup
7 >> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-ant-2.eclass?rev=1.26&content-type=text/plain
8 >> diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-ant-2.eclass?r1=1.25&r2=1.26
9 >
10 >> @@ -262,6 +262,14 @@
11 >> eval xml-rewrite-2.py ${files} \
12 >> -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \
13 >> -a nowarn -v yes ${output} || _bsfix_die "xml-rewrite2 failed: ${file}"
14 >> +
15 >> + if [[ ${JAVA_ANT_REWRITE_CLASSPATH} ]]; then
16 >> + eval echo "Adding gentoo.classpath to javac tasks"
17 >> + eval xml-rewrite-2.py ${files} \
18 >> + -c -e javac -e xjavac -a classpath -v \
19 >> + '\${gentoo.classpath}' \
20 >> + || _bsfix_die "xml-rewrite2 failed"
21 >> + fi
22 >> else
23 >> debug-print "Using third generation rewriter"
24 >> eval echo "Rewriting attributes" ${output}
25 >
26 > What's up with all the eval use in here?
27 >
28 > Thanks,
29 > Donnie
30
31 Seems I forgot ${output} from there. Fixed now. For the xml-rewrite-2.py
32 lines the eval could probably be dropped.
33
34 Regards,
35 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature