Skip site navigation (1) Skip section navigation (2)

Re: [JDBC] ANT fix for jar creation

From: Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [JDBC] ANT fix for jar creation
Date: 2001-05-23 21:09:07
Message-ID: XFMail.20010523140907.ned.wolpert@knowledgenet.com (view raw or flat)
Thread:
Lists: pgsql-jdbcpgsql-patches
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Yup, looks like it works now.

On 23-May-2001 Bruce Momjian wrote:
>  
>> 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
> 


Virtually, 
Ned Wolpert <ned(dot)wolpert(at)knowledgenet(dot)com>

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

iD8DBQE7DCbziysnOdCML0URAgH8AJ4sNYnA3iyzgdFOqda0knxMeQlSzwCeOKe1
8t5eYtlDpm+3bzzj89jDDcs=
=ISl/
-----END PGP SIGNATURE-----

In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-05-24 00:15:00
Subject: Re: Remove sort files
Previous:From: Bruce MomjianDate: 2001-05-23 20:54:24
Subject: Re: [JDBC] ANT fix for jar creation

pgsql-jdbc by date

Next:From: Bruce MomjianDate: 2001-05-24 15:48:57
Subject: Re: Patches for Serialize.java
Previous:From: Bruce MomjianDate: 2001-05-23 20:54:24
Subject: Re: [JDBC] ANT fix for jar creation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group