aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2013-10-03 16:13:12 +0300
committerDecebal Suiu <decebal.suiu@gmail.com>2013-10-03 16:13:12 +0300
commit94085d391974d586633cb8821bdaa0f6972c4a16 (patch)
treedec7c70c9a02eb355b38f8f8831930cfda49f776 /README.md
parent6df8db4c34abb0fbbeddda7cee39124a53c4cdf5 (diff)
downloadpf4j-94085d391974d586633cb8821bdaa0f6972c4a16.tar.gz
pf4j-94085d391974d586633cb8821bdaa0f6972c4a16.zip
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index cf98f95..018664e 100644
--- a/README.md
+++ b/README.md
@@ -163,12 +163,15 @@ The main advantage of DEVELOPMENT runtime mode for a plugin developer is that he
Lets describe how DEVELOPMENT runtime mode works.
-First, you can change the runtime mode using the "pf4j.mode" system property or overriding __DefaultPluginManager.getRuntimeMode()__.
+First, you can change the runtime mode using the "pf4j.mode" system property or overriding `DefaultPluginManager.getRuntimeMode()`.
For example I run the pf4j demo in eclipse in DEVELOPMENT mode adding only `"-Dpf4j.mode=development"` to the pf4j demo launcher.
-You can retrieve the current runtime mode using __PluginManager.getRuntimeMode()__ or in your Plugin implementation with __getWrapper().getRuntimeMode()__(see [WelcomeMessage](https://github.com/decebals/pf4j/blob/master/demo/plugins/plugin1/src/main/java/ro/fortsoft/pf4j/demo/welcome/WelcomePlugin.java)).
-The DefaultPluginManager determines automatically the correct runtime mode and for DEVELOPMENT mode overrides some components(pluginsDirectory is "../plugins", PropertiesPluginDescriptorFinder as PluginDescriptorFinder, DevelopmentPluginClasspath as PluginClassPath).
+You can retrieve the current runtime mode using `PluginManager.getRuntimeMode()` or in your Plugin implementation with `getWrapper().getRuntimeMode()`(see [WelcomeMessage](https://github.com/decebals/pf4j/blob/master/demo/plugins/plugin1/src/main/java/ro/fortsoft/pf4j/demo/welcome/WelcomePlugin.java)).
+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 you plugin (maven module) you must run Maven>Update Project...
+
+
For more details see the demo application.
Enable/Disable plugins