🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2855

Re: Writing properties to Jar - file

#2855
From: John P. McGrath
Date: Thu, 24 Feb 2000 00:00
14 lines
890 bytes
On Wed, 23 Feb 2000 08:42:36 +0100, Andreas Ahrens wrote:

> is there any way to write back a Properties object to a jar - File ?

I don't think so.  As far as I know, the Jar/Zip support in Java is read-
only.

Are you sure you want to do this, though?  I think it is usually better 
to store a program's configuration and other data separate from the code.

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.131e8374532156ad9897ba@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38B38F6C.8FDFAD18@isl.org>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,a739c3eb6f730e1d
X-Google-Attributes: gid1089d0,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: Writing properties to Jar - file
Date: 2000/02/24
Message-ID: <MPG.131e8374532156ad9897ba@forums.borland.com>
X-Deja-AN: 589163713
References: <38B38F6C.8FDFAD18@isl.org>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api