• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using symbolic links for deployment (was: First Deployment Help)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Using symbolic links for deployment (was: First Deployment Help)
      • From: Ian Joyner <email@hidden>
References: 
 >Using symbolic links for deployment (was: First Deployment Help) (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: NSDictionary Error
  • Next by Date: Re: NSDictionary Error
  • Previous by thread: Using symbolic links for deployment (was: First Deployment Help)
  • Next by thread: Re: Using symbolic links for deployment (was: First Deployment Help)
  • Index(es):
    • Date
    • Thread