On 2/10/10 11:55 AM, Rene Engelhard wrote:
On Wed, Feb 10, 2010 at 11:29:15AM +0100, Juergen Schmidt wrote:
i would like to increase the ant dependency to version 1.7.1. The reason
is that newer NetBeans versions create build.xml scripts that make use
of features from ant 1.7.1

Then they should be fixed not to use them.
i would prefer to keep the generated ones to keep it simple. Most of the work is done in NB without OO build env. And NB checks the generated build scripts often and correct them. Changes are not recommended.

It should be possible to build such extensions (that are generated with
NB) in the OO build env. The idea behind this is to make it possible for
developers to easy bring their extensions in the OO build env and take
advantage of the i18n process for example.

It should be possible to add usable build.xmls, yes.
yes but it would be easier to use the generated ones directly


Is there anybody who see problems with this increased dependency to ant
1.7.1? If yes please let me know.

Same story as as it came up the last time. There's distros out
there not shipping 1.7.1 yet. You'd break the build on those.

See e.g. Debian:

$ rmadison ant
[...]
        ant |    1.7.0-6 |        stable | source, all
        ant |    1.7.1-4 |       testing | source, all
        ant |    1.7.1-4 |      unstable | source, all

The other question is where i have to make changes?

configure.cmd
configure.in

No. *If* you want 1.7.1, make it a check for those extensions
who need it. It makes no sense to break the build for the others
which have a sufficiently uptodate ant otherwise)

currently we have:

   ant_minver=1.6.0
   # update for more extensions...
   if test "$ENABLE_MEDIAWIKI" = "YES"; then
     ant_minver=1.7.0
   fi

ok, i will take of this. But in case of the distro builds the ANT_HOME variable is set by configure. That means i can change at least solenv/inc/antsettings.mk to use 1.7.1 if no ANT_HOME is set.

I think that will not break any distro builds.

Juergen

configure

No change needed, except running autoconf.

Grüße/Regards,

René

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to