14.3 Understanding a Plugins Structure - Reference Documentation
Authors: Andres Almiray
Version: 1.2.0
14.3 Understanding a Plugins Structure
As mentioned previously, a plugin is merely a project with an structure similar to a Griffon application with the addition of a contained plugin descriptor. However when installed, the structure of a plugin differs slightly. For example, take a look at this plugin directory structure:+ griffon-app
+ controllers
+ models
+ views
…
+ lib
+ src
+ main
+ cli
+ docplugins/example-1.0/. Plugin contents will not be copied into the main source tree. A plugin never interferes with a project's primary source tree.