You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2018/02/01 22:52:48 UTC

[jira] [Closed] (GEODE-4153) Examples place their packages under org.apache.geode

     [ https://issues.apache.org/jira/browse/GEODE-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Swapnil Bawaskar closed GEODE-4153.
-----------------------------------

> Examples place their packages under org.apache.geode
> ----------------------------------------------------
>
>                 Key: GEODE-4153
>                 URL: https://issues.apache.org/jira/browse/GEODE-4153
>             Project: Geode
>          Issue Type: Bug
>          Components: examples
>            Reporter: Michael Dodge
>            Assignee: Michael Dodge
>            Priority: Major
>             Fix For: 1.4.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)