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
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
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
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
;
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
.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
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
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
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