Hi,

I understand once you have this implemented accordingly one would as
well be able to exclude the infamous Thumbs.db on windoze, right ?

Cheers
Daniel

On Sun, Sep 6, 2009 at 11:48 PM, Jonathan
Gallimore<[email protected]> wrote:
> I've been playing around with this today, and I've created a patch which
> I've attached to OPENEJB-1057.
>
> What I'm doing is looking at the deployments section of openejb.xml (I've
> added an extra attribute called excludes to Deployments), and ignoring files
> which match the pattern specified.
>
> The problem I've run into is that in order to exclude files in the webapps
> directory when running in Tomcat, you need to add a <Deployments
> dir="webapps/" /> which causes everything in the webapps folder to be
> deployed from DeploymentsResolver instead of TomcatWebAppBuilder, and that
> give exceptions about looking for tag libraries.
>
> We could ignore <Deployments> for the webapps folder in DeploymentsResolver
> if we're running in Tomcat - or perhaps there's a better way?
>
> Anyone have any thoughts?
>
> Cheers
>
> Jon
>
> On Wed, Aug 5, 2009 at 4:43 PM, Karan Malhi <[email protected]> wrote:
>
>> I agree that something configurable would be better.
>>
>> On Wed, Aug 5, 2009 at 7:41 AM, Jacek Laskowski <[email protected]
>> >wrote:
>>
>> > On Wed, Aug 5, 2009 at 12:07 AM, Jonathan
>> > Gallimore<[email protected]> wrote:
>> > > I've had a look at this, and it looks like we look at all the files in
>> > the
>> > > webapps folder when running in Tomcat. I've made this really simple
>> patch
>> > > which will ignore any files starting with a dot:
>> >
>> > Looks fine, but having an option to configure what to skip from
>> > processing would be even better :)
>> >
>> > Jacek
>> >
>> > --
>> > Jacek Laskowski
>> > Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
>> >
>>
>>
>>
>> --
>> Karan Singh Malhi
>>
>

Reply via email to