RE: Where to store files in a portable app?

2003-03-31 Thread Shapira, Yoav
Howdy, There have been several approaches mentioned, and all of them seem reasonable to some extent, so I'm not going to offer any more. I just wanted to disagree with this statement: >I think the decision about where the locally stored data should go should >be done at build time. While that m

RE: Where to store files in a portable app?

2003-03-29 Thread Quinton McCombs
more details. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 29, 2003 8:59 AM > To: Tomcat Users List > Subject: Re: Where to store files in a portable app? > > > Hi Kaarle, > > Thx for the input. > Unf

Re: Where to store files in a portable app?

2003-03-29 Thread Jacob Kjome
Ok, that's fine, but now instead of releasing a simple .war file for someone to drop into a servlet container, you are making them run an ant build in order to deploy your app. Not my idea of portability, but you can do what works for you. For development purposes, you can easily do a filter c

Re: Where to store files in a portable app?

2003-03-29 Thread johannes . fiala
Hi Jacob, I think the decision about where the locally stored data should go should be done at build time. I'd suggest to use two directories within the ant tree structure: /web/// stores the static data independent of location /web-production/ // stores the config data w

Re: Where to store files in a portable app?

2003-03-29 Thread Jacob Kjome
; 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

RE: Where to store files in a portable app?

2003-03-29 Thread Jeff Jensen
.properties (& .prod.) and then another like "build.persist.dir=${build.persist.base.dir}/subdir/subdir" in build.properties. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 29, 2003 8:59 AM > To: Tomcat Users List

Re: Where to store files in a portable app?

2003-03-29 Thread Kaarle Kaila
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

Re: Where to store files in a portable app?

2003-03-29 Thread johannes . fiala
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

Re: Where to store files in a portable app?

2003-03-29 Thread Kaarle Kaila
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