Hi Kaarle,

Thx for the input.
Unfortunately the development system is Windows and production system is 
Unix, so absolute paths will never be the same.

Do you have any idea for how to manage properties files which will be 
different for windows than unix?
Should I create a separate web_local and web_remote directory and make a 
simple ant copy task to distinguish production/development?
Or is there a more elegant approach to this?

thx alot
Johannes




Kaarle Kaila <[EMAIL PROTECTED]> 
29.03.2003 15:41
Please respond to
"Tomcat Users List" <[EMAIL PROTECTED]>


To
"Tomcat Users List" <[EMAIL PROTECTED]>
cc

Subject
Re: Where to store files in a portable app?






At 15:35 29.3.2003 +0100, you wrote:
>HI there,
>
>In my app I need to store files after a transaction is complete.
>I want to keep my application portable, so where should I store such 
files
>to??

I would put the directory address for the files in a properties file 
(ResourceBundle)
Then you can really put them anywhere you like.

regards
Kaarle


>Should I use a /output/.. directory in the root area or where else could
>be a smart location?
>
>Any ideas on this topic??
>
>thx alot
>Johannes

---------------------------------------------
Kaarle Kaila
http://www.iki.fi/kaila
mailto:[EMAIL PROTECTED]
tel: +358 50 3725844 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to