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: Maven Resource / WebServerResource Flattening



Hi Andrew,

On 7/23/09 10:18 PM, Andrew Lindesay wrote:
Hi Lachlan;

Thanks -- Henrique actually replied to me off-list and I should have
copied to list (see below). Now I have a "war" issue where WO doesn't
take a straight directory with "Resources/Info.plist" to be a bundle. So
actual builds work, but development with Eclipse WTP fails to run as it
expects to launch the servlet in Jetty from a directory of resources and
classes. Note sure how you "war" build guys get around this. I
registered an issue with Apple on this.


I usually run true WAR applications as common WOApplications using WOLips inside Eclipse. I don't have the WTP plug-in installed on my environment. :(


This solution is not useful if your application requires some servlet filters, listeners or another servlet specific feature. I've been using the jetty-maven-plugin [1] when I need to run the application in a servlet container.

I'm installing the WTP plug-in right now. I'm starting to work in a small project that must be deployed into Tomcat. I tell you in case I find a solution/workaround to the problem you've reported.

[1]http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin

Cheers,

Henrique
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >Maven Resource / WebServerResource Flattening (From: Andrew Lindesay <email@hidden>)
 >Re: Maven Resource / WebServerResource Flattening (From: Lachlan Deck <email@hidden>)
 >Re: Maven Resource / WebServerResource Flattening (From: Andrew Lindesay <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.