Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JBoss



Hi

I'm facing a similar situation. I'm coding WO with Xcode. My final deployment
target will be a Tomcat server running on a freeBSD box.
The actually quite trivial and basic problems I'm dealing with right now are:
1. How do I compile a Framework so it gets installed in /Library/Frameworks/ ?
2. What setting do I have to change so that the Framework is deployed as a
"JAR-Framework"?
I understand that when I finally compile the WO Application that all my custom
Frameworks get bundled. True?

I couldn't find any documentation on these issues... have I just been looking in
the wrong places? Any hints?

tnx
Stefan

Quoting Hsu <email@hidden>:

> You should set the build settings
> 	SERVLET_SINGLE_DIR_DEPLOY = NO
> 	SERVLET_STUB_WAR = NO
> 	SERVLET_TRUE_WAR = YES
> 	SERVLET_DEPLOY_LICENSE = <your deployment license>
> 
> In addition, you need to make sure that all your custom frameworks (if 
> any) are being built as JAR files (and installed or linked into 
> /Library/WebObjects/lib).
> 
> Finally, you need to go through your code and make sure that you don't 
> reference paths anywhere, and use URLs instead. Largish chunks of the 
> WO API now have URL-based analogs.
> 
> Karl
> 
> 
> On Nov 3, 2003, at 5:40 AM, Tom Pelaia wrote:
> 
> > Hi,
> >
> > Has anyone tried developing using the new "true" war file deployment 
> > target?  I upgraded from WO 5.1 to WO 5.2.2 and made several changes 
> > to my project so I could deploy using the new "true" war servlet 
> > target.  I'm not sure what I am supposed to fill in for the jboss xml 
> > template.  We are supposed to provide a JNDI location, and in fact 
> > when I deploy under JBoss it complains via an exception that it needs 
> > that information, but runs the application just fine anyway.  Actually 
> > JBoss was just a test, I really want to create a war file for an Orion 
> > servlet.  What am I supposed to change?  The WO 5.2.2 claims the 
> > "true" war should work with any J2EE server.
> >
> > Where is the documentation for WO 5.2.2?  The only thing I could find 
> > was a "What's New in WebObjects 5.2.2" page, but none of the 
> > supporting documentation is there to describe the development 
> > procedure for the new "true" war capability.  The existing 
> > documentation seems to talk only about new features but not how to 
> > develop with them.   In fact I had to create a new WebObjects project 
> > and compare its build settings with my existing project's build 
> > settings to figure out all of the changes I needed to bring my 
> > existing project to build with the new "true" war capability.
> >
> > thanks,
> > -tom
> >
> > -- 
> > Tom Pelaia
> > SNS Project, 701 Scarboro Road, MS-6473, Oak Ridge, TN 37830
> > phone: (865)574-6421, fax: (865)574-6617
> > _______________________________________________
> > webobjects-dev mailing list | email@hidden
> > Help/Unsubscribe/Archives: 
> > http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> > Do not post admin requests to the list. They will be ignored.
> >
> >
> --
> 
> Caffeine has been shown to cause laboratory experiments involving rats.
> 
> Homepage:
>       http://homepage.mac.com/khsu/index.html
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >JBoss (From: Tom Pelaia <email@hidden>)
 >Re: JBoss (From: Hsu <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.