db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre" <mcintyr...@gmail.com>
Subject Re: [jira] Commented: (DERBY-1078) Be able to build Derby when JAVA_HOME is set 1.6
Date Tue, 07 Mar 2006 19:15:02 GMT
On 3/7/06, Bryan Pendleton <bpendleton@amberpoint.com> wrote:
>
> Can you use <presetdef> for this? It lets you override/extend tasks and provide
additional parms, etc.
>
> http://ant.apache.org/manual/CoreTasks/presetdef.html
> http://stefan.samaflost.de/blog/en/Apache/Ant/customization_and_user_preferences_with_presetdef.writeback

Nice! That looks like the templated task feature I was referring to. I
missed that it was added in 1.6.

But, looking at how they implemented it, it doesn't necessarily make
this any easier. You'll still need to update all the build.xml files
to use the new presetdef task instead of vanilla <javac>. Well, unless
it actually lets you redefine <javac>...

andrew

Mime
View raw message