Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-4153

Examples place their packages under org.apache.geode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • examples
    • None

    Description

      By dint of following the convention from the ur-example, the various and sundry examples put their classes in packages that nest underneath org.apache.geode. Alas, not only does this imply that the classes are part of the geode repo instead of the geode-examples repo, this founders on the shoals of the Geode code which performs substring analysis of an object's class' package name when making decisions about whether that object is an internal piece of Geode.

      Hence, the packages for all of the Geode examples need to be modified. As per https://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html the convention is to use the inverted domain name whilst replacing illegal characters (e.g., hyphens) with underscores. Thus, org.apache.geode should be replaced with org.apache.geode_examples.

      Attachments

        Issue Links

          Activity

            People

              pivotalsarge Michael W. Dodge
              pivotalsarge Michael W. Dodge
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: