Re: Using symbolic links for deployment (was: First Deployment Help)
Re: Using symbolic links for deployment (was: First Deployment Help)
- Subject: Re: Using symbolic links for deployment (was: First Deployment Help)
- From: Mike Schrag <email@hidden>
- Date: Thu, 3 May 2007 11:11:00 -0400
On May 2, 2007, at 1:59 PM, Ian Joyner wrote: I have found that you only need a symbolic link in the /Library/WebServer/Documents/WebObjects folder:
ln -s /Library/WebObjects/MyApp.woa MyApp.woa
That way you never have to worry about copying it there every time. Has been working fine for us for the last 12 months, can any one see any problems with this?
It's not a general deployment strategy because it doesn't work under Windows or when the app and Web servers are different machines.
But when the app and Web servers are the same Unix machine, using a symbolic link seems fine to me as long as you don't break the link by relocating or renaming the app.
I would recommend specifically linking WebServerResources. Otherwise someone can just download your jar files and potentially worse, your Properties files which might have passwords in them. It is MUCH safer to create MyApp.woa/Contents and then symlink WSR inside of it.
ms |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden