Changes between Initial Version and Version 1 of BuildASimplePlugin


Ignore:
Timestamp:
24.07.2011 01:41:46 (11 years ago)
Author:
jri
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildASimplePlugin

    v1 v1  
     1= Build a simple plugin = 
     2 
     3This page describes how you can build a very simple plugin. This demo plugin just creates a new topic type. 
     4 
     5Once installed in DeepaMehta the topic type will appear in the create menu, so you can create instances. 
     6And you will be able to fulltext search for the instances. 
     7 
     8Developing such a simple plugin involves no Java coding at all. All is declarative, mainly in JSON format. 
     9 
     10Of course the topic type could be created interactively as well, by using DeepaMehta's type editor. 
     11However, being packaged as a plugin your type definitions become deployable by other DeepaMehta users. 
     12 
     13== Preparation == 
     14 
     15All you need is **Java 1.6** and **Maven** (version 3 is recommended) installed. 
     16 
     17You don't need a DeepaMehta installation. The DeepaMehta build system will provision a DeepaMehta installation just for your plugin. 
     18 
     19== Setup the directory structure == 
     20 
     21{{{ 
     22demo-plugin-1/ 
     23    pom.xml 
     24    src/ 
     25        main/ 
     26            resources/ 
     27                migrations/ 
     28                    migration1.json 
     29                plugin.properties 
     30}}}