Hi everyone,
Just a quick heads up - I think revision 447305 to axis2 PolicyInclude has changed axis2 (or part of it) to use the new neethi Policy architecture.
Sandesha therefore needs to be updated in order to avoid the following build break:
[javac] Compiling 119 source files to C:\ramp\sandesha_repos\trunk\java\target\classes
[javac] C:\ramp\sandesha_repos\trunk\java\src\org\apache\sandesha2\policy\RMPolicyExtension.java:27: org.apache.sandesha2.policy.RMPolicyExtension is not abstract and does not override abstract method addMethodsToStub(org.w3c.dom.Document,org.w3c.dom.Element,javax.xml.namespace.QName,java.util.List) in org.apache.axis2.modules.PolicyExtension
[javac] public class RMPolicyExtension implements PolicyExtension {
[javac] ^
[javac] C:\ramp\sandesha_repos\trunk\java\src\org\apache\sandesha2\util\PropertyManager.java:185: incompatible types
[javac] found : org.apache.neethi.Policy
[javac] required: org.apache.ws.policy.Policy
[javac] Policy policy = desc.getPolicyInclude().getEffectivePolicy();
[javac] ^
[javac] C:\ramp\sandesha_repos\trunk\java\src\org\apache\sandesha2\util\PropertyManager.java:260: incompatible types
[javac] found : org.apache.neethi.Policy
[javac] required: org.apache.ws.policy.Policy
[javac] Policy policy = desc.getPolicyInclude().getEffectivePolicy();
[javac] ^
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors
I had a quick look at this, but found that some methods (e.g. normalize) have changed slightly.
Not quite sure what the ramifications of this new architecture are - does anyone know anything about this?
Thanks,
Thomas
----------------------------------
Thomas McKiernan
WebSphere Messaging Development,
IBM United Kingdom Limited
Email: [EMAIL PROTECTED]
Mail Point 211, IBM, Hursley Park, Winchester, Hampshire, England, SO21 2JN
Caminante, no hay camino
Se hace camino al andar.
("Walker, there is no path; the path is made by walking.") Antonio Machado
