summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2014-09-03 11:52:45 +0300
committerDecebal Suiu <decebal.suiu@gmail.com>2014-09-03 11:52:45 +0300
commit3e1880f0fcf6dd0f2b52e6817c1a4b70669d46ce (patch)
tree1a66af3f9d202b6a95e8b65b6fb600708a623376 /README.md
parent579bae7c3da0e6bc6e6ac4efb7aa0080641a6079 (diff)
downloadpf4j-3e1880f0fcf6dd0f2b52e6817c1a4b70669d46ce.tar.gz
pf4j-3e1880f0fcf6dd0f2b52e6817c1a4b70669d46ce.zip
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index 38431b7..4438b86 100644
--- a/README.md
+++ b/README.md
@@ -212,7 +212,7 @@ Your application, as a PF4J consumer, has full control over each plugin (state).
Development mode
--------------------------
PF4J can run in two modes: **DEVELOPMENT** and **DEPLOYMENT**.
-The DEPLOYMENT(default) mode is the standard workflow for plugins creation: create a new maven module for each plugin, codding the plugin (declares new extension points and/or
+The DEPLOYMENT(default) mode is the standard workflow for plugins creation: create a new Maven module for each plugin, codding the plugin (declares new extension points and/or
add new extensions), pack the plugin in a zip file, deploy the zip file to plugins folder. These operations are time consuming and from this reason I introduced the DEVELOPMENT runtime mode.
The main advantage of DEVELOPMENT runtime mode for a plugin developer is that he/she is not enforced to pack and deploy the plugins. In DEVELOPMENT mode you can developing plugins in a simple and fast mode.
@@ -224,8 +224,9 @@ You can retrieve the current runtime mode using `PluginManager.getRuntimeMode()`
The DefaultPluginManager determines automatically the correct runtime mode and for DEVELOPMENT mode overrides some components(pluginsDirectory is __"../plugins"__, __PropertiesPluginDescriptorFinder__ as PluginDescriptorFinder, __DevelopmentPluginClasspath__ as PluginClassPath).
Another advantage of DEVELOPMENT runtime mode is that you can execute some code lines only in this mode (for example more debug messages).
-If you use maven as build manger, after each dependency modification in your plugin (maven module) you must run Maven>Update Project...
-
+**Note:** If you use Eclipse than make sure annotation processing is enabled at least for any projects registering objects using annotations. In the properties for your new project go to __Java Compiler > Annotation Processing__
+Check the __“Enable Project Specific Settings”__ and make sure __“Enable annotation processing”__ is checked.
+If you use Maven as build manger, after each dependency modification in your plugin (Maven module) you must run __Maven > Update Project...__
For more details see the demo application.
@@ -278,7 +279,7 @@ How to build
-------------------
Requirements:
- [Git](http://git-scm.com/)
-- JDK 1.7 (test with `java -version`)
+- JDK 7 (test with `java -version`)
- [Apache Maven 3](http://maven.apache.org/) (test with `mvn -version`)
Steps: