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:28:24 UTC

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

St Sch created AXIS2-5333:
-----------------------------

             Summary: Weird behaviour of CompilerOptions.setPackageName()
                 Key: AXIS2-5333
                 URL: https://issues.apache.org/jira/browse/AXIS2-5333
             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] [Commented] (AXIS2-5333) Weird behaviour of CompilerOptions.setPackageName()

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285517#comment-13285517 ] 

Sagara Gunathunga  commented on AXIS2-5333:
-------------------------------------------

Can you explain your context and purpose of above task ?  Also provide a test case to reproduce mentioned issue.   
                
> Weird behaviour of CompilerOptions.setPackageName()
> ---------------------------------------------------
>
>                 Key: AXIS2-5333
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5333
>             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


[jira] [Resolved] (AXIS2-5333) Weird behaviour of CompilerOptions.setPackageName()

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

Sagara Gunathunga  resolved AXIS2-5333.
---------------------------------------

    Resolution: Incomplete
    
> Weird behaviour of CompilerOptions.setPackageName()
> ---------------------------------------------------
>
>                 Key: AXIS2-5333
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5333
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.2
>            Reporter: St Sch
>              Labels: ADB, CompilerOptions, setPackageName
>             Fix For: 1.7.0
>
>
> 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] [Updated] (AXIS2-5333) Weird behaviour of CompilerOptions.setPackageName()

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

Sagara Gunathunga  updated AXIS2-5333:
--------------------------------------

    Fix Version/s: 1.7.0
    
> Weird behaviour of CompilerOptions.setPackageName()
> ---------------------------------------------------
>
>                 Key: AXIS2-5333
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5333
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.2
>            Reporter: St Sch
>              Labels: ADB, CompilerOptions, setPackageName
>             Fix For: 1.7.0
>
>
> 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