Chapter 4. Building the plugin

The easiest way to build our plugin is to add it to the XNap build process. All that is required is to create a Makefile.local in the top level directory that contains this line:


PLUGINS += jtella
      

Since we also depend on jtella.jar, we need to copy it in the lib directory and add it to the classpath:


LIBS += lib/jtella.jar.