Re: Cygwin Java (make install) Patch

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Pgsql-Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Cygwin Java (make install) Patch
Date: 2001-05-24 16:39:20
Message-ID: 20010524123920.Q714@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Peter,

On Thu, May 24, 2001 at 06:04:02PM +0200, Peter Eisentraut wrote:
> Jason Tishler writes:
> > The following patch corrects a make install problem when building
> > under Cygwin. The root cause of this problem is that (Sun) java is a
> > native Win32 app and hence does not understand Cygwin Posix style paths.
> > The solution is to use Cygwin's cygpath utility to convert the Posix style
> > JDBC installation directory path into a Win32 one before invoking ant.
>
> I'd like $(javadir) as the variable name, because non-JDBC things also get
> installed there.

I will redo my patch to use $(javadir) instead.

> Other than that, okay.

I appreciate your concurrence.

> What kind of program is 'ant' on Cygwin?

ant on Cygwin is the same as it is on Unix -- a shell script. Assuming
that you have installed ant, you can peruse it. When I did, I was very
surprise to see how Cygwin friendly that it was. Unfortunately, the
friendliness (i.e., use of cygpath) does not extend to java properties
(e.g., -Dinstall.directory=...) passed into the ant script via the
command line.

> Maybe it could take care of that itself in a future release?

I would personally appreciate this enhancement but I don't expect that
it will occur.

Thanks,
Jason

--
Jason Tishler
Director, Software Engineering Phone: 732.264.8770 x235
Dot Hill Systems Corp. Fax: 732.264.8798
82 Bethany Road, Suite 7 Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA WWW: http://www.dothill.com

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-05-24 16:41:06 Re: Cygwin Java (make install) Patch
Previous Message Jason Tishler 2001-05-24 16:24:21 Cygwin python and plpython patches