public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-java] Ant 1.7
@ 2006-12-19 19:18 Alistair Bush
  2006-12-19 21:41 ` Joshua Nichols
  0 siblings, 1 reply; 2+ messages in thread
From: Alistair Bush @ 2006-12-19 19:18 UTC (permalink / raw
  To: gentoo-java

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

Im guessing that the gentoo developers are familar with this but I only just
found it this out so.....

Ant 1.7 allows the declaration of system variables 'ant.build.javac.source'
and 'ant.build.javac.target' that will be used as defaults for javac and
javadoc tags.

What will be the impact of this feature on our present build system?

Are we planning eventually to scrap our build.xml rewriting or even rewrite
build.xml files to remove -source , -target attributes?

[-- Attachment #2: Type: text/html, Size: 510 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-java] Ant 1.7
  2006-12-19 19:18 [gentoo-java] Ant 1.7 Alistair Bush
@ 2006-12-19 21:41 ` Joshua Nichols
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Nichols @ 2006-12-19 21:41 UTC (permalink / raw
  To: gentoo-java

Alistair Bush wrote:
> Im guessing that the gentoo developers are familar with this but I 
> only just found it this out so.....
>
> Ant 1.7 allows the declaration of system variables 
> 'ant.build.javac.source' and 'ant.build.javac.target ' that will be 
> used as defaults for javac and javadoc tags.
>
I was the one that actually requested this feature over a year ago ;)

http://issues.apache.org/bugzilla/show_bug.cgi?id=35590
> What will be the impact of this feature on our present build system?
>
As far as an end-user, probably no impact at all.
> Are we planning eventually to scrap our build.xml rewriting or even 
> rewrite build.xml files to remove -source , -target attributes?
Well, until at least 1.7 is stabilized, I don't see build.xml rewriting 
going away entirely.

One possibility I see, is in our java-ant-2.eclass, we could check for 
the version of ant we're using. If we're using < 1.7, do the traditional 
rewriting.  Otherwise, we use the new ant.build.javac stuff.

-- 
Joshua Nichols
Gentoo/Java - Project Lead

-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-19 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-19 19:18 [gentoo-java] Ant 1.7 Alistair Bush
2006-12-19 21:41 ` Joshua Nichols

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox