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.

> 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.

> 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

> 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

Reply via email to