Re: [Ij-plugins-users] IJ 'finding' VolumeRendringPlugin
Brought to you by:
jsacha
From: Jarek S. <js...@us...> - 2004-11-08 04:41:19
|
keesh wrote: > A very simple question... > > I downloaded and successfully built ij-VTK using JBuilderX. > JBuilder's CVS, JUnit, and external libs support seem good. > > How do I get Image/J "to find" the VolumeRenderingPlugin located > very deep under the plugins folder? > In other words there is not an underscore in "VolumeRenderingPlugin" and > also its located in > J:\source\java\ij-VTK\ImageJ\plugins\net\sf\ij_plugins\vtk\prototype\volume. When plugins are packaged in a JAR there is no need for underscore convention. Actual plugins are identified in the plugins.config file which is used by ImageJ to assign plugins to menu entries. This helps to keep plugins within related packages rather than in root (default) package. You need to have ImageJ v.1.31s or newer for this to work properly. The Ant build file can automatically create a JAR for ij-VTK including plugins.config (run target 'jar' to do it). You can also use target 'run' to build the ij-VTK JAR and start ImageJ to test the plugins. Note that any properties defined in Ant build file can be overwritten in a file build.properties, so you can define there location of vtk.jar or a directory where to put ij-VTK JAR before running. There is an example of that in the build-properties-sample file. I have, target 'jar' setup to automatically run every time I start ImageJ from my IDE, so I can easily test the plugins by hand or debug the code within plugins. I do not have JBuilder installed on my computer so I am not sure what would be the steps to set it up there, but it looks that JBuilder X has a nice integration with Ant and that it should be possible there too. Jarek |