On 04/05/2007, at 10:48 AM, Mike Schrag wrote:

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.

An excellent tip, I'll try that! If the whole woa file has a copy in WebServer/Documents people would have access to the jars and properties files anyway n'est pas?
Yes -- That was in response to symlinking the woa. If you are copying the woa, the same rules applies -- You should only copy the WebServerResources.

Is Eclipse set up to do this right? It seems Xcode is not, which is why when I started on these projects they were set up to keep two copies in /Library/WebObjects and WebServer/Documents for Apache. Seems the targets in Xcode should be set up for the Web Server target to build a product/bundle just with the WebServerResources folder and resources in it and the Application Server to build the real app.woa with the Resources folder and jars in it.

Any ideas how to get Xcode to do this, or am I missing something subtle in the way it's doing things?

Ian


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to