As Romain mentioned earlier, we should check for WEB-INF, because
thats the directory which is guaranteed to be present in a web
application.

On Sat, Oct 8, 2011 at 2:23 PM, Romain Manni-Bucau
<[email protected]> wrote:
> Yep openejb-core is not linked to tomcat but is linked to jee and webapps.
> The best could be to scan webXXX annotations but i still think it is
> useless.
>
> I'll have a try tmr.
>
> - Romain
>
> Le 8 oct. 2011 23:20, "Jacek Laskowski" <[email protected]> a écrit :
>
>> On Sat, Oct 8, 2011 at 9:26 PM, Romain Manni-Bucau
>> <[email protected]> wrote:
>> > Hmm your fix needs context.xml so you could have added an empty web.xml
>> too.
>> > I still think testing web-inf is more relevant no?
>>
>> You're right, but it wasn't me who created context.xml file - it's
>> netbeans and I don't really know why it deploys apps this way. Not a
>> bid deal to add other combinations which all lead to a bad taste in my
>> mouth when I see them all in openejb-core (which has nothing to do
>> with the tomcat or other environments).
>>
>> I've run into other issues with no-web.xml webapps - it's like I may
>> have opened a can of worms :)
>>
>> Jacek
>>
>> --
>> Jacek Laskowski
>> Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
>> Warszawa JUG conference = Confitura (formerly Javarsovia) ::
>> http://confitura.pl
>> "Hoping to save time by spending it" by David Blevins (Apache OpenEJB)
>>
>



-- 

Karan Singh Malhi
twitter.com/KaranSinghMalhi

Reply via email to