Thread: configure finds ant (screensaver)

configure finds ant (screensaver)

From
pgsql-bugs@postgresql.org
Date:
Francisco Canedo (fcanedo at soneramail nospam nl) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
configure finds ant (screensaver)

Long Description
configure finds the path to the 'ant' screensaver when it's trying to find the jdbc build tool. This leads to some
weirderror message during build! 

I would suggest to have configure check the version of ant if at all possible.

Sample Code


No file was uploaded with this report

Re: configure finds ant (screensaver)

From
Bruce Momjian
Date:
> Francisco Canedo (fcanedo at soneramail nospam nl) reports a bug with a severity of 3
> The lower the number the more severe it is.
>
> Short Description
> configure finds ant (screensaver)
>
> Long Description
> configure finds the path to the 'ant' screensaver when it's trying to find the jdbc build tool. This leads to some
weirderror message during build! 
>
> I would suggest to have configure check the version of ant if at all possible.

If you type:

    $ ant -version
    $ echo $?

What do you get?  I want to add a configure test and java ANT likes the
-version flag.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: configure finds ant (screensaver)

From
Peter Eisentraut
Date:
Bruce Momjian writes:

> If you type:
>
>     $ ant -version
>     $ echo $?
>
> What do you get?  I want to add a configure test and java ANT likes the
> -version flag.

On some systems ant is installed as jakarta-ant because of this conflict,
so maybe we should check for that, too.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

Re: configure finds ant (screensaver)

From
Peter Eisentraut
Date:
> Francisco Canedo (fcanedo at soneramail nospam nl) reports a bug with a severity of 3

> configure finds the path to the 'ant' screensaver when it's trying to find the jdbc build tool. This leads to some
weirderror message during build! 
>
> I would suggest to have configure check the version of ant if at all possible.

I've checked in a change that checks for jakarta-ant before ant (that
seems to be the popular alternative name in case of conflict), and also
runs a little test compile with ant to see if it works.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

Re: configure finds ant (screensaver)

From
Bruce Momjian
Date:
> > Francisco Canedo (fcanedo at soneramail nospam nl) reports a bug with a severity of 3
>
> > configure finds the path to the 'ant' screensaver when it's trying to find the jdbc build tool. This leads to some
weirderror message during build! 
> >
> > I would suggest to have configure check the version of ant if at all possible.
>
> I've checked in a change that checks for jakarta-ant before ant (that
> seems to be the popular alternative name in case of conflict), and also
> runs a little test compile with ant to see if it works.

Great!  Thanks.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026