Use Ant! :) The issue here is that the Eclipse classloading structure is complex and the menu option "Generate iBATIS Artifacts" is too simplistic.
It is a goal of mine to enable the kind of thing you are trying to do. I'm working on adding an Eclipse launch configuration for Abator that will allow adding a project to the classpath. Bottom line - it's coming, but it's not ready yet. Stay tuned - but honestly, it will be several weeks before I have enough bandwidth to get it finished. Abator is due for an upgrade all around. Jeff Butler On 3/22/07, PatMcB <[EMAIL PROTECTED]> wrote:
Hi, I have this working using Ant (so I suspect I know the answer to this already - ie. use Ant!), but wondered if I could get it working with the Abator Eclipse plugin (as I really like the idea of just right-clicking and selecting 'Generate iBATIS Artifacts'). All I need to do is set the 'type' attribute on the <sqlMapGenerator> tag in my 'abatorConfig.xml' to my own generator class. But because of classpath issues I get a 'Cannot instantiate object of type <MyJavaClass>', ie. the plugin doesn't know which Eclipse project my generator class exists in. Hopefully I'm just missing something really simple here...? Thanks, Pat McBennett. -- View this message in context: http://www.nabble.com/Abator-Eclipse-plugin-can%27t-find-user-defined-%27sqlMapGenerator%27-type-tf3446650.html#a9611856 Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
