Can not build new plugin and make .jar

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 from openfire src/plugins and edited **.java **and plugin.xml files.(I am perfectly following the structure of openfire plugin)

  2. I past this new plugin with name “myplugin” in src/plugins.

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

  4. 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.