Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5333

Weird behaviour of CompilerOptions.setPackageName()

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stsch St Sch
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: