Commit 8c061e8a authored by Johannes Schindelin's avatar Johannes Schindelin

Update README.md to reflect imagej-maven-plugin's existence

While at it, also point to Fiji's Wiki page on debugging.
Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent d90d48a6
...@@ -16,16 +16,20 @@ Plugin](http://plugins.jedit.org/plugins/?MavenPlugin). ...@@ -16,16 +16,20 @@ Plugin](http://plugins.jedit.org/plugins/?MavenPlugin).
Die-hard command-line developers can use Maven directly by calling _mvn_ Die-hard command-line developers can use Maven directly by calling _mvn_
in the project root. in the project root.
However you build the project, in the end you will have the .jar file in the However you build the project, in the end you will have the ```.jar``` file
_target/_ subdirectory. Simply copy it into your ImageJ's _plugins/_ (called *artifact* in Maven speak) in the _target/_ subdirectory.
directory, run _Help&gt;Refresh Menus_ and the plugin will be available in
_Process&gt;Process Pixels_ (this can be changed by editing To copy the artifact into the correct place, you can call ```mvn
_src/main/resources/plugins.config_). -Dimagej.app.directory=/path/to/Fiji.app/```. This will not only copy your
artifact, but also all the dependencies. Restart your ImageJ or call
*Help>Refresh Menus* to see your plugin in the menus.
Developing plugins in an IDE is convenient, especially for debugging. To Developing plugins in an IDE is convenient, especially for debugging. To
that end, the plugin contains a _main()_ method which sets the _plugins.dir_ that end, the plugin contains a _main()_ method which sets the _plugins.dir_
system property (so that the plugin is added to the Plugins menu), starts system property (so that the plugin is added to the Plugins menu), starts
ImageJ, loads an image and runs the plugin. ImageJ, loads an image and runs the plugin. See also
[this page](fiji.sc/Debugging#Debugging_plugins_in_an_IDE_.28Netbeans.2C_IntelliJ.2C_Eclipse.2C_etc.29)
for information how Fiji makes it easier to debug in IDEs.
Since this project is intended as a starting point for your own Since this project is intended as a starting point for your own
developments, it is in the public domain. developments, it is in the public domain.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment