Deploying Multiple Versions (and on Windows)
Deploying Multiple Versions (and on Windows)
- Subject: Deploying Multiple Versions (and on Windows)
- From: Ashley Aitken <email@hidden>
- Date: Mon, 26 Apr 2004 23:05:33 +0800
Howdy All,
How do you handle multiple version of the same application and
framework on the application server and web server in your deployment
workflow? Say you have FrameworkA (Version 1) and ApplicationB
(version1) deployed and you want to leave these deployed and running,
and deploy and run FrameworkA (Version2) and ApplicationB (version2)
(and on Windows if you can).
All of these are originating from FrameworkA project and ApplicationB
project, and probably requiring deployment on the application server
and the web server. The problem is, I've always found it difficult
(but not impossible) to change the name of projects in Xcode (there
seem to be so many references to the name to change within
configuration files etc.)
I've just tried deploying an application on Windows and just changing
the application and framework folder names (appending v2 etc) and then
making adjustments for the framework in the classpath file. It seems
to have worked. However, the application runs and all images appear,
but when I look at the source for a page the URLs to the images seem
still to be to the original path on the Web server (ie not including
v2).
I'm not sure why or how it is working, I guess it may be because the
images are cached in the browser, or perhaps there is some (more) magic
in WO that it will find the images even if the folder name has changed?
I doubt it. That said, the application does seem to have run (with
JavaMonitor) ok, it has found the frameworks and other resources.
Any general suggestions about versioning for WO applications
(particularly on Windows) would be most appreciated.
Cheers,
Ashley.
PS I know JavaMonitor doesn't mind calling an application anything - as
long as you can show it where the startup script is ... However, I'm
not talking about having different names for the same application, I am
talking about having different frameworks/applications deployed that
are built from the same projects.
PS I also know that when deploying on Windows you seem to have do a
little shuffle with frameworks to remove the versioning symbolic links
that don't work on Windows. I have just copied the correct Resources
and WebServerResources folders to the top-level directory of the
framework and that seems to work fine -it's just one more little
annoying thing about Windows.
--
Ashley Aitken
Perth, Western Australia
mrhatken at mac dot com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.