Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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 16:56 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Apr 20 04:14:37 GMT 2024

Powered by FUDForum. Page generated in 0.03423 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top