One more thing - adding your plugin classes to the distributed Ibator JAR is
a serious kludge and I do not recommend it for any reason.  There is no
reason to ever do this.
Jeff Butler

On Sun, Jun 21, 2009 at 10:20 PM, Chad McHenry <mchen...@gmail.com> wrote:

> I was having trouble using my ibator plugin from eclipse, getting the error
> "Cannot instantiate object of type
> com.example.ibatis.ibator.plugins.ClassAnnotator" and found an old thread
> [1] which references the same error. It appears it is still relevant (I
> could only run my plugin via eclipse by putting my plugin classes into
> $eclipse/plugins/org.apache.ibatis.ibator.core_1.2.1/ibator.jar).
>
> For using plugins, is the ant-task still the preferred way to use Ibator? I
> use maven, and can use maven-antrun-plugin, but is it still true that any
> changes made to generated files will be lost when using the ant version
> since it does not merge java files?
>
> Are there plans, or a roadmap for Ibator? I'm spending a lot of time
> getting this plugin working (and actually believe it will be worth it over
> the course of multiple projects). I'm wondering if I can contribute back to
> the ibator-core, but would hesitate if there is going to be a drastic
> redesign for ibatis-3.0.
>
> ...Chad
>
> [1]
> http://www.nabble.com/Re:-ibator-question-about--element-p19222727.html
>
>

Reply via email to