You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@etch.apache.org by "Michael Fitzner (Commented) (JIRA)" <ji...@apache.org> on 2011/12/05 11:33:42 UTC

[jira] [Commented] (ETCH-199) Add config option "java package name" to binding-java compiler

    [ https://issues.apache.org/jira/browse/ETCH-199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13162710#comment-13162710 ] 

Michael Fitzner commented on ETCH-199:
--------------------------------------

The package name from the IDL and the generated java code can’t be different at the moment. If a service was published; all the names have been bound for ever. This is a big disadvantage if you would like to refactor and restructure your java client code. It is possible to do this by hand and change the package structure, but the next time you generate your sources; all changes are gone. It would be quite helpful to introduce an optional parameter to the java compiler which allows to set an individual java package name. If you don’t think so, let me know it. Currently it is just proposal!
                
> Add config option "java package name" to binding-java compiler
> --------------------------------------------------------------
>
>                 Key: ETCH-199
>                 URL: https://issues.apache.org/jira/browse/ETCH-199
>             Project: Etch
>          Issue Type: New Feature
>          Components: java-binding
>    Affects Versions: 1.1
>            Reporter: Michael Fitzner
>            Priority: Minor
>             Fix For: 1.3
>
>
> - Extend compiler
> - Extend Ant Task
> <etch home="${etch.home}"
>               binding="java"
>               quiet="false"
>               what="INTF,CLIENT,SERVER"
>               outputDir="${dir.gen}"
>               file="src/Helklo.etch">
>               <params>
>                 <param name="packageName">org.apache.example</param>
>               </params>
> </etch>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira