* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: java-ant-2.eclass
[not found] <E1JHR7A-0003zO-4o@stork.gentoo.org>
@ 2008-01-22 23:15 ` Donnie Berkholz
2008-01-22 23:27 ` Petteri Räty
0 siblings, 1 reply; 2+ messages in thread
From: Donnie Berkholz @ 2008-01-22 23:15 UTC (permalink / raw
To: gentoo-dev, betelgeuse
On 21:57 Tue 22 Jan , Petteri Raty (betelgeuse) wrote:
> Revision Changes Path
> 1.26 eclass/java-ant-2.eclass
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-ant-2.eclass?rev=1.26&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-ant-2.eclass?rev=1.26&content-type=text/plain
> diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-ant-2.eclass?r1=1.25&r2=1.26
> @@ -262,6 +262,14 @@
> eval xml-rewrite-2.py ${files} \
> -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \
> -a nowarn -v yes ${output} || _bsfix_die "xml-rewrite2 failed: ${file}"
> +
> + if [[ ${JAVA_ANT_REWRITE_CLASSPATH} ]]; then
> + eval echo "Adding gentoo.classpath to javac tasks"
> + eval xml-rewrite-2.py ${files} \
> + -c -e javac -e xjavac -a classpath -v \
> + '\${gentoo.classpath}' \
> + || _bsfix_die "xml-rewrite2 failed"
> + fi
> else
> debug-print "Using third generation rewriter"
> eval echo "Rewriting attributes" ${output}
What's up with all the eval use in here?
Thanks,
Donnie
--
gentoo-dev@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: java-ant-2.eclass
2008-01-22 23:15 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: java-ant-2.eclass Donnie Berkholz
@ 2008-01-22 23:27 ` Petteri Räty
0 siblings, 0 replies; 2+ messages in thread
From: Petteri Räty @ 2008-01-22 23:27 UTC (permalink / raw
To: Donnie Berkholz; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1354 bytes --]
Donnie Berkholz kirjoitti:
> On 21:57 Tue 22 Jan , Petteri Raty (betelgeuse) wrote:
>> Revision Changes Path
>> 1.26 eclass/java-ant-2.eclass
>>
>> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-ant-2.eclass?rev=1.26&view=markup
>> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-ant-2.eclass?rev=1.26&content-type=text/plain
>> diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-ant-2.eclass?r1=1.25&r2=1.26
>
>> @@ -262,6 +262,14 @@
>> eval xml-rewrite-2.py ${files} \
>> -c -e ${JAVA_PKG_BSFIX_TARGET_TAGS// / -e } \
>> -a nowarn -v yes ${output} || _bsfix_die "xml-rewrite2 failed: ${file}"
>> +
>> + if [[ ${JAVA_ANT_REWRITE_CLASSPATH} ]]; then
>> + eval echo "Adding gentoo.classpath to javac tasks"
>> + eval xml-rewrite-2.py ${files} \
>> + -c -e javac -e xjavac -a classpath -v \
>> + '\${gentoo.classpath}' \
>> + || _bsfix_die "xml-rewrite2 failed"
>> + fi
>> else
>> debug-print "Using third generation rewriter"
>> eval echo "Rewriting attributes" ${output}
>
> What's up with all the eval use in here?
>
> Thanks,
> Donnie
Seems I forgot ${output} from there. Fixed now. For the xml-rewrite-2.py
lines the eval could probably be dropped.
Regards,
Petteri
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-22 23:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1JHR7A-0003zO-4o@stork.gentoo.org>
2008-01-22 23:15 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: java-ant-2.eclass Donnie Berkholz
2008-01-22 23:27 ` Petteri Räty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox