Re: SSDD builds with WOLIPS
Re: SSDD builds with WOLIPS
- Subject: Re: SSDD builds with WOLIPS
- From: Dov Rosenberg <email@hidden>
- Date: Fri, 26 Jan 2007 06:42:02 -0500
- Thread-topic: SSDD builds with WOLIPS
Title: Re: SSDD builds with WOLIPS
Sorry I forgot to add the
WEB-INF
OurApplication.woa – built using <woapplication> target. The OurApplication.jar is located in the OurApplication.woa/Contents/Resources/Java folder
On 1/25/07 11:36 PM, "D Tim Cummings" <email@hidden> wrote:
thanks Dov
Where does OurApplication.jar go? The XCode build puts it in lib. The WOLips build puts it somewhere else as OurApplication.woa.
I personally have had more success building all the frameworks as jars and putting them in lib, like the XCode build.
Tim
On 25/01/2007, at 2:22 PM, Dov Rosenberg wrote:
We have been deploying our apps as servlets for the past 2+ years. We started using the SSDD target but found it lacking. The biggest hassle we found was the SSDD didn’t seem to include everything we needed. One of the only limitations I have come across is that the resulting WAR file can be run without having the container expand it first (which is the default behavior for Tomcat but not WebLogic – see below for the reason). Our apps get built using the following steps:
- Build the frameworks using <wocompile> and <woframework>
- Build the applications using <wocompile> and <woapplication>
- Assemble the web applications manually instead of using the supplied SSDD target. Our final deployment includes the following structure:
-
WEB-INF
classes
Library
Frameworks
OurFoundation.framework
OurModel.framework
OurServices.framework
JavaEOAccess.framework
JavaEOControl.framework
JavaFoundation.framework
JavaJDBCAdaptor.framework
JavaWebObjects.framework
JavaWebServicesClient.framework (if needed)
JavaWebServicesSupport.framework (if needed)
JavaWOExtensions.framework (if needed)
JavaWOJSPServlet.framework
JavaXML.framework
lib
<any non WO jars needed – JDBC Drivers, XML parsers, mail.jar, etc>
web.xml <http://web.xml> (Need to make sure that the WOClasspath context parameter includes all of the WO frameworks listed above plus your application frameworks. There is an environment variable WEBINFROOT that gets resolved at runtime to the path where the WEB-INF folder is located. This is the primary reason that the WAR file must be expanded in order to run properly.
4. After the web app is assembled it is WARed using the ant <jar> task.
Hope this helps others.
--
Dov Rosenberg
Conviveon/Inquira
Knowledge Management Experts
http://www.conviveon.com
http://www.inquira.com
_______________________________________________
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
_______________________________________________
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