You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "St Sch (JIRA)" <ji...@apache.org> on 2012/05/29 13:26:29 UTC

[jira] [Created] (AXIS2-5332) Weird behaviour of CompilerOptions.setPackageName()

St Sch created AXIS2-5332:
-----------------------------

             Summary: Weird behaviour of CompilerOptions.setPackageName()
                 Key: AXIS2-5332
                 URL: https://issues.apache.org/jira/browse/AXIS2-5332
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.6.2
            Reporter: St Sch


1st issue:

CompilerOptions.setPackageName("com.example") comes up with the following error:

java.lang.RuntimeException: Unsupported value!

Package name = "com.example." works fine (please notice the . in the end). This is very misleading especially since setMapperClassPackage() would accept the package name "com.example".

setPackageName() calls testValue(), setMapperClassPackage doesn't.

= = = = =

2nd issue:

Although I set package name to "com.example" the class files are generated to com.example.axis2.apache.org.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Closed] (AXIS2-5332) Weird behaviour of CompilerOptions.setPackageName()

Posted by "St Sch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

St Sch closed AXIS2-5332.
-------------------------

    Resolution: Duplicate

Duplicate of AXIS2-5333
                
> Weird behaviour of CompilerOptions.setPackageName()
> ---------------------------------------------------
>
>                 Key: AXIS2-5332
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5332
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.2
>            Reporter: St Sch
>              Labels: ADB, CompilerOptions, setPackageName
>
> 1st issue:
> CompilerOptions.setPackageName("com.example") comes up with the following error:
> java.lang.RuntimeException: Unsupported value!
> Package name = "com.example." works fine (please notice the . in the end). This is very misleading especially since setMapperClassPackage() would accept the package name "com.example".
> setPackageName() calls testValue(), setMapperClassPackage doesn't.
> = = = = =
> 2nd issue:
> Although I set package name to "com.example" the class files are generated to com.example.axis2.apache.org.

--
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org