in java servlet containers like tomcat, context-as-app is useful to me for versioning. i can have multiple versions of an app sitting next to each other in the webapp directory:

webappdir/appABC/    (this is trunk)
webappdir/appABC-1.0/
webappdir/appABC-1.5/

...etc.

each version is self-contained and oblivious to the other. file references are relative to the context, not to the webapp dir. so i can reference, eg, a velocity template relative to the context:

   templates/blah.tmpl

thus, copying appABC to appABC-x.y doesn't break my file references.

but with webware's weak contexts, i have to reference files relative to the base webapp dir:

   appABC/templates/blah.tmpl

when i copy appABC to appABC-x.y, all those references break (more specifically, they continue to reference the appABC versions...)

so, aside as a plug for stronger context support... :

- how do you deal with versioning of webware apps?

- any suggestions for taking care of the file reference problem?


thanks


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to