Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958382

Catalin
stranger


Reged: 08/18/03
Posts: 4
Re: Small inconvenience with classpath
      08/19/03 03:01 AM

Hi

I agree about properties that are not user editable (except with the example with labels, which is a i18n issue, and should be kept as resource boundle).
I was reffering to application properties that are user editable (note that I say user editable properties, not user preferences, there is a clear distinction between these two concepts). I am sorry I did not make it clear in my previous post.

However, I think that the solution with a directory that contains the configuration porperties, and that the user (or shell script that starts the app) must add to classpath does not have more benefits than loading the properties using java.io.File (the config dir can be pased to the application as a system property by the startup script, or by the user).
However, sometimes the second solution could be "cleaner" than the first one (I am thinking about the example with a properties file that appears twice in classpath).
This is what I wanted to point out in my previous post, sorry again I did not make it clear.

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Small inconvenience with classpath Catalin 08/18/03 09:17 AM
. * * Re: Small inconvenience with classpath vlad_roubtsov   08/18/03 02:45 PM
. * * Re: Small inconvenience with classpath Catalin   08/19/03 03:01 AM
. * * Re: Small inconvenience with classpath vlad_roubtsov   08/19/03 03:25 AM
. * * Re: Small inconvenience with classpath Anonymous   12/01/03 05:32 PM
. * * Re: Small inconvenience with classpath Anonymous   03/07/06 10:25 AM
. * * Re: Small inconvenience with classpath    12/26/06 10:54 AM

Extra information
0 registered and 3 anonymous users are browsing this forum.

Moderator:   



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 22050

Rate this thread

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5