Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Publish on Server not usefull for dynamic web applcations
Publish on Server not usefull for dynamic web applcations [message #194328] Tue, 12 June 2007 12:56 Go to next message
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 10:56 Go to previous messageGo to next message
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 11:13 Go to previous messageGo to next message
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 11:33 Go to previous messageGo to next message
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 11:23 Go to previous message
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 :-)
Previous Topic:Code assist closing tag
Next Topic:WTP 2.0 Debugging Question
Goto Forum:
  


Current Time: Sat Aug 30 08:23:29 EDT 2014

Powered by FUDForum. Page generated in 0.01648 seconds