Installing your own tool
From WandoraWiki
(Difference between revisions)
(→Placing the tool class file) |
|||
Line 13: | Line 13: | ||
==Placing the tool class file== | ==Placing the tool class file== | ||
− | Tool manager scans through given folders for class files. If scanned class file implements [http://www.wandora.org/ tool interface] the class is accepted as a Wandora tool. By default the | + | Tool manager scans through given folders for class files. If scanned class file implements [http://www.wandora.org/wandora/docs/api/org/wandora/application/WandoraTool.html tool interface] the class is accepted as a Wandora tool. [[Tool manager]] seeks tool classes in class paths specified in the [[Tool manager]]'s '''Paths''' tab. By default the [[Tool manager]] seeks tool classes in package '''org/wandora/application/tools'''. |
− | If you add new path to | + | If you add new path to [[Tool manager]] make sure the path is also Java's class path. To change class path's of Wandora you need to edit '''bin/SetClasspath.bat''' and '''bin/SetClasspath.sh'''. |
Unfortunately Wandora does not scan tool classes in '''jar''' or '''zip''' packages. | Unfortunately Wandora does not scan tool classes in '''jar''' or '''zip''' packages. |
Revision as of 11:43, 21 March 2009
To install your own tool
- Place your tool class file into Wandora's tool directory.
- Open Wandora.
- Open Tool manager.
- Select generic tool set.
- Add tool to the set.
- Close Tool manager.
Now your tool is available at Tools menu and ready to be executed.
Placing the tool class file
Tool manager scans through given folders for class files. If scanned class file implements tool interface the class is accepted as a Wandora tool. Tool manager seeks tool classes in class paths specified in the Tool manager's Paths tab. By default the Tool manager seeks tool classes in package org/wandora/application/tools.
If you add new path to Tool manager make sure the path is also Java's class path. To change class path's of Wandora you need to edit bin/SetClasspath.bat and bin/SetClasspath.sh.
Unfortunately Wandora does not scan tool classes in jar or zip packages.