2

As I want to make a plugin I have followed these steps:

(I am using openfire source in eclipse)

  1. I copied a inbuilt plugin(ex. subscription or presence plugin) from openfire src/plugins and then edited .java and plugin.xml files.(I am editing existing one because of using exact structure of openfire plugin)

enter image description here

  1. I past this new plugin with name "myplugin" in src/plugins.

  2. in ant view of build.xml I run clear (to clear target and work folder).

  3. now I run plugin and also plugins in ant view to build my new plugin.

now jar of all inbuilt plugins is made in target/plugin folder but no jar for my new plugin.

So what I am missing..Why I am unable to build my new plugin.

4

1 回答 1

0

最后我想通了,我需要在构建路径中添加 myplugin ,然后在 ant 视图中运行插件。

于 2013-07-24T05:05:15.307 回答