Public: Concord Software Projects : OTrunk Package Naming
This page last changed on May 22, 2008 by scytacki.
The name of the package class currently has to follow a convention. This classname is based on the java package of the OTObject that it if for. Currently packages are mainly used for registering controllers. The reason for this approach is:
If you are having problems getting your package recognized you can use the following system property:
if this is true OTrunk will print the name of each OT*Package it looks for.
If for example the className is com.example.datagraph.state.OTDataCollector
This is figured out by
If the package starts with "org.concord" then there is special handling for more nested java packages.
For example: org.concord.graph.util.state.OTPoint2D
This approach for finding packages is not ideal. In the future, packages will be imported in otml files instead of classes. And each package will list its OTClasses. So the need for this approach will go away.
|Document generated by Confluence on Jan 27, 2014 16:52|