1 |
Howdy, |
2 |
|
3 |
I'm looking at http://bugs.gentoo.org/show_bug.cgi?id=196080 |
4 |
|
5 |
Basically what is happening is that these lines in build.xml |
6 |
are not being rewritten with the correct version: |
7 |
|
8 |
<property name="javac.target" value="1.2"/> |
9 |
<property name="javac.source" value="1.2"/> |
10 |
|
11 |
Ideally these should be: |
12 |
|
13 |
<property name="javac.target" value="$JAVA_PKG_WANT_TARGET"/> |
14 |
<property name="javac.source" value="$JAVA_PKG_WANT_SOURCE"/> |
15 |
|
16 |
While 2010dli@××××××.edu has created a patch to bump these |
17 |
values to 1.3, this just postpones the real problem. |
18 |
|
19 |
Digging into java-ant-2.eclass I think that java-ant_bsfix_files() |
20 |
is the method that is modifying build.xml. The problem seems |
21 |
to be that the xml-rewrite*.py scripts are designed to only |
22 |
match element name (e) plus attribute (a) to change new value (v): |
23 |
|
24 |
<e a=v> |
25 |
|
26 |
I don't see how to specify element name (eM) plus an attribute |
27 |
(aM) with value (vM) to match plus attribute (a) to change to |
28 |
new value (v): |
29 |
|
30 |
<eM aM=vM a=v> |
31 |
|
32 |
Does anyone have any ideas of how this could be done? |
33 |
|
34 |
|
35 |
TIA, |
36 |
Roy |
37 |
|
38 |
-- |
39 |
gentoo-java@g.o mailing list |