Re: Tomcat build & deployment idiot's guide needed
Re: Tomcat build & deployment idiot's guide needed
- Subject: Re: Tomcat build & deployment idiot's guide needed
- From: Jim Huan-Pu Kuo <email@hidden>
- Date: Wed, 27 Jul 2005 14:20:47 +0100 (BST)
Hi
This is what i did to produce a tomcat installable SSDD package.
1. When you create your project, make sure you tick the Deploy in a servlet container option, select Deploy as a Servlet Single Directory Deployment option, also tick the Copy all JAR files
option.
2. At the XCode project window, change the active build configuration to deployment, for all three targets, your app, application server and web server, change the following build settings to
DEPLOYMENT_LOCATION = NO
(if you dont do this, the deployment build process will fail due to the script trying to cd into a symbolic link pointing back to itself.)
3. In deployment build configuration for your app, change INSTALL_PATH_FOR_STYLE to,
INSTALL_PATH_FOR_STYLE = $(TARGET_BUILD_DIR)
4. Finally, add the following build settings to the deployment build configuration of your app.
SERVLET_COPY_JARS = YES
SERVLET_DEPLOY_LICENSE = [Your deployment licence]
SERVLET_SINGLE_DIR_DEPLOY = YES
SERVLET_SINGLE_DIR_DEPLOY_LICENSE = [Your deployment licence]
SERVLET_TRUE_WAR = YES
SERVLET_WEBAPPS_DIR = /opt/tomcat/webapps
After completing these steps, build using the deployment configuration, you will find that the build process will create your webapp directory in /opt/tomcat/webapps.
How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo!
Photos _______________________________________________
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