1 |
Alistair Bush wrote: |
2 |
> Im guessing that the gentoo developers are familar with this but I |
3 |
> only just found it this out so..... |
4 |
> |
5 |
> Ant 1.7 allows the declaration of system variables |
6 |
> 'ant.build.javac.source' and 'ant.build.javac.target ' that will be |
7 |
> used as defaults for javac and javadoc tags. |
8 |
> |
9 |
I was the one that actually requested this feature over a year ago ;) |
10 |
|
11 |
http://issues.apache.org/bugzilla/show_bug.cgi?id=35590 |
12 |
> What will be the impact of this feature on our present build system? |
13 |
> |
14 |
As far as an end-user, probably no impact at all. |
15 |
> Are we planning eventually to scrap our build.xml rewriting or even |
16 |
> rewrite build.xml files to remove -source , -target attributes? |
17 |
Well, until at least 1.7 is stabilized, I don't see build.xml rewriting |
18 |
going away entirely. |
19 |
|
20 |
One possibility I see, is in our java-ant-2.eclass, we could check for |
21 |
the version of ant we're using. If we're using < 1.7, do the traditional |
22 |
rewriting. Otherwise, we use the new ant.build.javac stuff. |
23 |
|
24 |
-- |
25 |
Joshua Nichols |
26 |
Gentoo/Java - Project Lead |
27 |
|
28 |
-- |
29 |
gentoo-java@g.o mailing list |