[
https://issues.apache.org/jira/browse/AXIS2-4265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927733#action_12927733
]
Dennis Sosnoski commented on AXIS2-4265:
----------------------------------------
Until this is fixed, the "<exclude name="axis2-adb-codegen*.jar"/>" line in the
Axis2 webapp build.xml should be deleted. As it is now, after installing
Rampart you need to edit the file by hand and remove that line before building
an axis2.war .
> ModulePolicyExtension mixes buildtime and runtime
> -------------------------------------------------
>
> Key: AXIS2-4265
> URL: https://issues.apache.org/jira/browse/AXIS2-4265
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Reporter: Andreas Veithen
> Priority: Minor
>
> ModulePolicyExtension is an interface that can be optionally implemented by a
> module (i.e. the class implementing Module) to add methods during the code
> generation. This is a design flaw because it mixes buildtime and runtime.
> Indeed it means that:
> * In order to load the module at runtime, the codegen JARs must be available
> (cf. AXIS2-3213) though they are never used.
> * For some modules, when using wsdl2java, the user will probably have to add
> JARs that the module only uses at runtime.
> The ModulePolicyExtension interface should be replaced by a better mechanism
> that cleanly separates buildtime and runtime concerns.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]