Re: [JDBC] ANT fix for jar creation

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [JDBC] ANT fix for jar creation
Date: 2001-05-23 20:54:24
Message-ID: 200105232054.f4NKsOV16249@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-patches


> Doesn't the jarfile need to have the properties? (For error messages) Unless I
> read the patch wrong, I think it will exclude needed files, like
> org/postgresql/errors.properties
>
> On 23-May-2001 Bruce Momjian wrote:
> >
> > The following ANT patch prevents the JAR file from containing non-class
> > files. I was occasionally getting the 'tags' file in the jar file,
> > which clearly is wrong, and made the JAR file 20mb instead of 80k.

I was wondering that myself. Here is a fix I applied. Seems to work
fine. Has only *.class and *.properties files in the jar, doesn't
create 20mb jars, and doesn't force recompile when not needed.

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

Attachment Content-Type Size
unknown_filename text/plain 2.1 KB

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ned Wolpert 2001-05-23 21:09:07 Re: [JDBC] ANT fix for jar creation
Previous Message Ned Wolpert 2001-05-23 20:15:17 RE: ANT fix for jar creation

Browse pgsql-patches by date

  From Date Subject
Next Message Ned Wolpert 2001-05-23 21:09:07 Re: [JDBC] ANT fix for jar creation
Previous Message Ned Wolpert 2001-05-23 20:15:17 RE: ANT fix for jar creation