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 "Sagara Gunathunga (JIRA)" <ji...@apache.org> on 2012/05/30 10:59:24 UTC
[jira] [Commented] (AXIS2-5333) Weird behaviour of
CompilerOptions.setPackageName()
[ 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