Publish on Server not usefull for dynamic web applcations [message #194328] |
Tue, 12 June 2007 16:56 |
Eclipse User |
|
|
|
Originally posted by: tjerk.wolterinkwebdesign.com
Suppose you build a web application that creates files in the /web dir
dynamically...
Each time you change code the app will be republished:
this means that all the dynamical created files/dirs are deleted...
And probable you have a database that refers to these files
-> conclusion your published application is out of sync.
: Solution: Make it able to tag some dirs in your application
ass 'dynamic' such that a republish does not delete files
from that directory.
|
|
|
Re: Publish on Server not usefull for dynamic web applcations [message #195940 is a reply to message #194328] |
Tue, 10 July 2007 14:56 |
Eclipse User |
|
|
|
Originally posted by: tjerk.wolterinkwebdesign.com
Damn, is there not anyone who knows the solution???????
Tjerk Wolterink schreef:
> Suppose you build a web application that creates files in the /web dir
> dynamically...
> Each time you change code the app will be republished:
>
> this means that all the dynamical created files/dirs are deleted...
> And probable you have a database that refers to these files
>
> -> conclusion your published application is out of sync.
>
>
> : Solution: Make it able to tag some dirs in your application
> ass 'dynamic' such that a republish does not delete files
> from that directory.
|
|
|
Re: Publish on Server not usefull for dynamic web applcations [message #195964 is a reply to message #195940] |
Tue, 10 July 2007 15:13 |
Eclipse User |
|
|
|
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com
In article <f706mv$em3$1@build.eclipse.org>,
tjerk@wolterinkwebdesign.com says...
> Damn, is there not anyone who knows the solution???????
What is the question? I don't see you asking anything here, just making
statements...
>
> Tjerk Wolterink schreef:
> > Suppose you build a web application that creates files in the /web dir
> > dynamically...
> > Each time you change code the app will be republished:
> >
> > this means that all the dynamical created files/dirs are deleted...
> > And probable you have a database that refers to these files
> >
> > -> conclusion your published application is out of sync.
> >
> >
> > : Solution: Make it able to tag some dirs in your application
> > ass 'dynamic' such that a republish does not delete files
> > from that directory.
>
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
|
|
|
Re: Publish on Server not usefull for dynamic web applcations [message #195980 is a reply to message #195940] |
Tue, 10 July 2007 15:33 |
Eclipse User |
|
|
|
Originally posted by: nowhere.a.com
Tjerk Wolterink wrote :
> Damn, is there not anyone who knows the solution???????
>
> Tjerk Wolterink schreef:
>> Suppose you build a web application that creates files in the /web dir
>> dynamically...
>> Each time you change code the app will be republished:
>>
>> this means that all the dynamical created files/dirs are deleted...
>> And probable you have a database that refers to these files
>>
>> -> conclusion your published application is out of sync.
I ran into the same problem. What I did was move those files (images)
into their own directory structure, still in the webapp directory but
separate from the application. So a republish of the application does
not touch those files:
webapp
- app
-- WebRoot
-- etc
- files
-- app
--- image files
--
Wojtek :-)
|
|
|
Re: Publish on Server not usefull for dynamic web applcations [message #196065 is a reply to message #195940] |
Wed, 11 July 2007 15:23 |
Eclipse User |
|
|
|
Originally posted by: nowhere.a.com
Tjerk Wolterink wrote :
> Damn, is there not anyone who knows the solution???????
>
> Tjerk Wolterink schreef:
>> Suppose you build a web application that creates files in the /web dir
>> dynamically...
>> Each time you change code the app will be republished:
>>
>> this means that all the dynamical created files/dirs are deleted...
>> And probable you have a database that refers to these files
>>
>> -> conclusion your published application is out of sync.
I ran into the same problem. What I did was move those files (images)
into their own directory structure, still in the webapp directory but
separate from the application. So a republish of the application does
not touch those files:
webapp
- app
-- WebRoot
-- etc
- files
-- app
--- image files
--
Wojtek :-)
|
|
|
Powered by
FUDForum. Page generated in 0.25327 seconds