[
http://jira.codehaus.org/browse/MWEBLOGIC-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233104#action_233104
]
Mike Calmus commented on MWEBLOGIC-14:
--------------------------------------
As these classes are updated by Oracle it seems like there it becomes
increasingly difficult to support new options. It might make sense to store all
property values in a map and use reflection to set all of them on the
underlying ant task so that future updates and new values can be automatically
supported without requring additional code changes to the Mojo. New values
could be explicitly added later with getters and setters, but this would allow
new features to work as soon as they were available.
> Support catalog for ClientGen
> -----------------------------
>
> Key: MWEBLOGIC-14
> URL: http://jira.codehaus.org/browse/MWEBLOGIC-14
> Project: Mojo WebLogic Plugin
> Issue Type: New Feature
> Reporter: Mike Calmus
> Assignee: David J. M. Karlsen
>
> ClientGen9Mojo should support the Catalog attribute. Sorry I don't have the
> ability to provide a proper patch, but the code need only add a new catalog
> attribute and add the following code:
> // clientGen.setCatalog( new File( this.catalogFile ) );
> method = ReflectionUtils.getSetter("catalog",
> clientGen.getClass());
> if (method != null) {
> method.invoke(clientGen, new Object[] { new
> File( this.catalogFile ) });
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email