Re: FW: Re: [JDBC] [PATCHES] Ant configuration

2001-10-23 Thread Gunnar Rønning

* Peter Eisentraut [EMAIL PROTECTED] wrote:
|
|  Seriously would installing GNU Make be enough, or would you need to install
|  Cygwin and other packages as well ?
| 
| GNU make runs natively on Windows.

I know and I've used GNU Make when working with Windows, but that taught
me that you often need alot more than GNU Make to port a makefile to Windows.

Maybe maintaining two versions would be the best, ie. Make is used
when building the distribution and Ant makefiles are provided for the
convenience of users that think Ant works better. 

Then you could probably setup some very simple Makefile without full
dependency graph(if you want that you need rely on a tool like jikes
to generate it for you).  That basically means that you need to
recompile all *.java files when you have edited one Java file. 


-- 
Gunnar Rønning - [EMAIL PROTECTED]
Senior Consultant, Polygnosis AS, http://www.polygnosis.com/

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



Re: FW: Re: [JDBC] [PATCHES] Ant configuration

2001-10-23 Thread Peter Eisentraut

Gunnar Rønning writes:

 Seriously would installing GNU Make be enough, or would you need to install
 Cygwin and other packages as well ?

GNU make runs natively on Windows.

-- 
Peter Eisentraut   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: FW: Re: [JDBC] [PATCHES] Ant configuration

2001-10-20 Thread Peter Eisentraut

Ned Wolpert writes:

 3) Java is system independant, and the JDBC driver is a client piece.  I should
 be able to compile the JDBC driver outside of PostgreSQL server if I wanted to,
 right?  Example, I can't compile PostgreSQL on windozes 95.  But I could
 compile the JDBC driver via ant if Java and ant are installed.  (Or, rather, I
 should be able to)

You can also install GNU make on Windows.

-- 
Peter Eisentraut   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])



Re: FW: Re: [JDBC] [PATCHES] Ant configuration

2001-10-20 Thread Gunnar Rønning

* Peter Eisentraut [EMAIL PROTECTED] wrote:
|
|  compile the JDBC driver via ant if Java and ant are installed.  (Or, rather, I
|  should be able to)
| 
| You can also install GNU make on Windows.

This is how we used to build or apps on Windows before Ant, but we portability
issues with respect to scripts invoked from make is a PITA, IMHO ;-)

Seriously would installing GNU Make be enough, or would you need to install 
Cygwin and other packages as well ? Has anybody tested this ? I suspect that
something like that would not work painless.
 
-- 
Gunnar Rønning - [EMAIL PROTECTED]
Senior Consultant, Polygnosis AS, http://www.polygnosis.com/

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly



Re: FW: Re: [JDBC] [PATCHES] Ant configuration

2001-10-19 Thread Ned Wolpert

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 19-Oct-2001 Bruce Momjian wrote:
 One significant issue here is that unlike our other binaries, the JAR
 files run on any platform so they don't really need to compile in MS
 Win.  They can just download it from a web site or we could ship the
 jdbc JAR ourselves.

True.  I was really looking at it from those who wanted to build the jar from
source. If we make the jarfile available from the website, that's good for the
PostgreSQL releases, but it may not help those who want/need the JDBC driver
updated from CVS.


Virtually, 
Ned Wolpert [EMAIL PROTECTED]

D08C2F45:  28E7 56CB 58AC C622 5A51  3C42 8B2B 2739 D08C 2F45 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE70LuNiysnOdCML0URAn2tAJwOg8HpKskzyVvwucubAJ8/teXMgwCdENc1
Siu6Fx305Zh69RG5+U/Vbx4=
=SXet
-END PGP SIGNATURE-

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: FW: Re: [JDBC] [PATCHES] Ant configuration

2001-10-19 Thread Bruce Momjian

 I guess I can make an argument either way.  The real way to answer this is to
 ask if one cares if you can build the JDBC driver on window's only platform
 without cygwin installed.  
 
   -If the answer is no, that one wouldn't build the JDBC driver without building
the rest of postgresql, then the build process should be tied to make, like
the rest of postgresql, for simplisity in maintence.
 
   -However, if the JDBC driver should be able to be built without having to
build postgresql, (on platforms without UNIX-compatiablity layer like cygwin)
for client use only, then yes, use Ant to achive platform-independance.

One significant issue here is that unlike our other binaries, the JAR
files run on any platform so they don't really need to compile in MS
Win.  They can just download it from a web site or we could ship the
jdbc JAR ourselves.

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

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



Re: FW: Re: [JDBC] [PATCHES] Ant configuration

2001-10-19 Thread Gunnar Rønning

* Ned Wolpert [EMAIL PROTECTED] wrote:

|  Win.  They can just download it from a web site or we could ship the
|  jdbc JAR ourselves.
| 
| True.  I was really looking at it from those who wanted to build the jar from
| source. If we make the jarfile available from the website, that's good for the
| PostgreSQL releases, but it may not help those who want/need the JDBC driver
| updated from CVS.

And it doesn't help potential _JDBC driver_ developers sitting on
Windows platforms either. But me too is usually all Linux or Solaris,
but I'm just trying to illuminate the issues.

-- 
Gunnar Rønning - [EMAIL PROTECTED]
Senior Consultant, Polygnosis AS, http://www.polygnosis.com/

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]



FW: Re: [JDBC] [PATCHES] Ant configuration

2001-10-19 Thread Ned Wolpert

I meant to send this to the group...

-FW: [EMAIL PROTECTED]-

Date: Fri, 19 Oct 2001 10:45:43 -0700 (MST)
Sender: [EMAIL PROTECTED]
From: Ned Wolpert [EMAIL PROTECTED]
To: Barry Lind [EMAIL PROTECTED]
Subject: Re: [JDBC] [PATCHES] Ant configuration

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Two cents with of thought... :-)

On 18-Oct-2001 Barry Lind wrote:
 * People with Java background probably know Ant better that
   'make'.   Ant seems to become 'build tool of choice' in
   Java world.
 
 Perhaps, but I'm not convinced that either of these arguments is true. 
 I have seen make used by more projects than ant, and a developer 
 building postgres from source, certainly needs to be familiar with make.

Ant is great in a pure-java project.  I have seen ant used as the primary
build engine in many Java projects, and it works great for me.  But, here are
some (conflicting) thoughts.

1) To some degree, the make process of PostgreSQL should be consistant.  Ant
and Make are two seperate building systems.  Its easier to put the JDBC driver
into make than it is to put postgresql into ant.

2) Correct me if I'm wrong, but currently, Make is needed to run Ant in the
JDBC driver anyways, right? (To grab the version numbers and set the properties
when running ant)

Yet...

3) Java is system independant, and the JDBC driver is a client piece.  I should
be able to compile the JDBC driver outside of PostgreSQL server if I wanted to,
right?  Example, I can't compile PostgreSQL on windozes 95.  But I could
compile the JDBC driver via ant if Java and ant are installed.  (Or, rather, I
should be able to)

4) Ant doesn't need to be 'installed' in other projects. Rather, they include
the needed ant libs in the CVS, which is allowed by the license, and create a
build script to call the ant process to build.  (Usually a build.sh and a
build.bat) We could do that to also set the version numbers rather than have
make do it.

I guess I can make an argument either way.  The real way to answer this is to
ask if one cares if you can build the JDBC driver on window's only platform
without cygwin installed.  

  -If the answer is no, that one wouldn't build the JDBC driver without building
   the rest of postgresql, then the build process should be tied to make, like
   the rest of postgresql, for simplisity in maintence.

  -However, if the JDBC driver should be able to be built without having to
   build postgresql, (on platforms without UNIX-compatiablity layer like cygwin)
   for client use only, then yes, use Ant to achive platform-independance.

I'm lucky enough to only work with Linux, so I don't really care on the outcome
of this :-) I can work with either.


Virtually, 
Ned Wolpert [EMAIL PROTECTED]

D08C2F45:  28E7 56CB 58AC C622 5A51  3C42 8B2B 2739 D08C 2F45 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE70GbGiysnOdCML0URAnl5AJ9VkJs0QXr1GEzzFVxW5CzNLDRl1wCfbOmM
O2tENKYPCsDAx6I42NoYh5U=
=CSwI
-END PGP SIGNATURE-

--End of forwarded message-

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])