> Hey,
>
> I've been working on this problem and ran into some issues and would
> like to get your comments before committing a fix. The
> RepositoryListener.findServicesInDirectory() scans the "services"
> directory and tries to deploy service modules (.jar or .aar files)
> using ServiceDeployer. But also, when it files files with other
> extensions it tries to deploy them too using a Deployer registered for
> the given extension. For example, if you have the following deployer
> entry in the axis2.xml:
>
>     <deployer extension=".svc" directory="widgets"
>             class="org.apache.axis2.deployment.deployers.CustomDeployer"/>
>
> The CustomDeployer will be used to deploy files with .svc extension in
> the "widgets" directory AND the "services" directory. That's a bit
> weird, IMHO.
>
> So, what I'm proposing is to remove the entire 'else' statement at
> line 303 on RepositoryListener.findServicesInDirectory() so that only
> service modules (.jar or .aar files) can be deployed from within the
> services directory. This solution might break some existing
> deployments where people put non-service module files under the
>   
Nope actually it will not break anything , as I can see it is an
unnecessary check . Do you want me to fix that or if you want you can do
that to. May be you can send a patch ;-)

Deepal

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to