Author: mostarda
Date: Sun Mar 25 14:19:41 2012
New Revision: 1305047
URL: http://svn.apache.org/viewvc?rev=1305047&view=rev
Log:
Minor improvements to plugin documentation. Related to #ANY23-40.
Modified:
incubator/any23/trunk/src/site/apt/any23-plugins.apt
Modified: incubator/any23/trunk/src/site/apt/any23-plugins.apt
URL:
http://svn.apache.org/viewvc/incubator/any23/trunk/src/site/apt/any23-plugins.apt?rev=1305047&r1=1305046&r2=1305047&view=diff
==============================================================================
--- incubator/any23/trunk/src/site/apt/any23-plugins.apt (original)
+++ incubator/any23/trunk/src/site/apt/any23-plugins.apt Sun Mar 25 14:19:41
2012
@@ -37,15 +37,21 @@ Apache Any23 Plugins
* How to Register a Plugin
- A plugin can be added to <Apache Any23> by:
+ A plugin can be added to the <Apache Any23 CLI> interface by:
* adding its <JAR> to the <Apache Any23> <JVM classpath>;
- * adding its <JAR> to the <$HOME/.any23/plugins> directory.
+ * adding its <JAR> to the CLASSPATH_PREFIX environment variable as:
+
++-----------------------------------------------------------------------------------------------------------
+export
CLASSPATH_PREFIX=../../../plugins/basic-crawler/target/any23-basic-crawler-VERSION.jar
bin/any23tools
++-----------------------------------------------------------------------------------------------------------
- TODO: plugin support in CLI
+ * adding its <JAR> to the <$HOME/.any23/plugins> directory.
- TODO: plugin support in library
+ A plugin can be added to the <Apache Any23 library API> by using the
+
{{{./xref/org/apache/any23/plugin/Any23PluginManager.html}Any23PluginManager}}#createInstance(Configuration
configuration, File... pluginLocations)
+ method.
TODO: plugin support in Apache Any23 Service