Sparkplug/eclipse newb questions

I’m want to implement a Spark plugin and have some questions. I am new to Eclipse, Subversion, OpenFire, and Spark, so I’m certain I’m doing somthing stupid here. My questions are:

  1. Do I need the source for Spark to implement a Spark plugin? I am following this doc: http://www.igniterealtime.org/community/docs/DOC-1040 and the steps for the Subversion plugin didn’t work for me. I would like to workaround that problem for now if I don’t need it.

  2. Assuming I don’t need the Spark source, and only need the sparkplug toolkit (http://www.igniterealtime.org/builds/sparkplug_kit/sparkplug_kit_2_0_7.zip),

Is there a doc for how to setup Eclipse to create the Spark plugin? The document I found says this, but it’s not enough information for me to get it working:

To setup a project to run Spark within your IDE, you will need to the following:

  • It is required that you use the 1.4 JRE to build Spark.

  • Add all *.jar files in the Sparkplugs/spark/lib and Sparkplugs/spark/lib/windows directories to your classpath.

  • Add the resource directory (Sparkplugins/spark/resource) to your classpath for the native libraries.

  • Main Class - org.jivesoftware.Spark

  • VM Parameters - -Dplugin=path_to_your_plugin.xml file. This allows you to run your plugins within your IDE without deploying.

  • That’s it.

specifically, I don’t know how to create the correct project/package/classes, or what to do with the “Main Class” information.

Thanks for your help!