Re: Cygwin Java (make install) Patch - Mailing list pgsql-patches

From Jason Tishler
Subject Re: Cygwin Java (make install) Patch
Date
Msg-id 20010524123920.Q714@dothill.com
Whole thread Raw
In response to Re: Cygwin Java (make install) Patch  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Cygwin Java (make install) Patch  (Jason Tishler <Jason.Tishler@dothill.com>)
List 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.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Cygwin Java (make install) Patch
Next
From: Jason Tishler
Date:
Subject: Re: Cygwin Java (make install) Patch