ANT fix for jar creation

Поиск
Список
Период
Сортировка
Искать

ANT fix for jar creation

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

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.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
? build
? jars
? org/postgresql/Driver.java
Index: build.xml
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/jdbc/build.xml,v
retrieving revision 1.12
diff -c -r1.12 build.xml
*** build.xml	2001/05/19 02:48:54	1.12
--- build.xml	2001/05/23 19:27:38
***************
*** 139,146 ****
  
    
    
!     
!     
    
  
    
    
!     
!     
    
  
    

RE: [JDBC] ANT fix for jar creation

От:
Ned Wolpert <ned.wolpert@knowledgenet.com>
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


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.
> 
> -- 
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.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 

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

iD8DBQE7DBpViysnOdCML0URApjwAJ4s9Y143IgvCO125OPOjKh9hdHNKACfeyKT
Tnc89kTMko9fv854E1w+HNU=
=r/HY
-----END PGP SIGNATURE-----

Re: RE: [JDBC] ANT fix for jar creation

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Already fixed.

-- Start of PGP signed section.
> 
> 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.
> > 
> > -- 
> >   Bruce Momjian                        |  http://candle.pha.pa.us
> >   pgman@candle.pha.pa.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 
> 
> D08C2F45:  28E7 56CB 58AC C622 5A51  3C42 8B2B 2739 D08C 2F45 
-- End of PGP signed section.

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