Jevgeni,
I'm not sure if this is the same problem that you have, but a while ago
I had some problems regarding facets being loaded.
I assume that your UndoFacet (interface and implementation) are in the
same project that you are executing 'forge source plugin' on, if they
aren't, then they should be (or you will need to run 'mvn clean install'
to add those JARs to your local Maven repo).
As well, I had problems using the group ID 'org.jboss.forge'. Any
dependencies in my plugin with this group ID were assumed to be part of
the core, and Forge would mark these as scope provided and cause some
problems.
Once again, I don't think these problems should occur if UndoFacet and
its implementation are in the same project as UndoPlugin, but just an
idea of something to look for.
Cheers,
Ryan
On 06/28/2012 12:01 PM, Jevgeni Zelenkov wrote:
Hi guys,
I am trying to test the undo plugin on a working forge instance but I
am getting a strange error.
As described here:
https://docs.jboss.org/author/display/FORGE/Make+your+Plugin+available+to...
I have added the undo-plugin using 'forge source-plugin' command. It
was added successfully, I can even see undo-plugin commands when I
call 'list-commands'.
But when I execute 'undo setup' command (should simply install the
plugin), I get the following exception:
The requested Facet of type [org.jboss.forge.undo.UndoFacet] could not
be loaded.
UndoFacet class is located in the same package as the UndoPlugin class
(org.jboss.forge.undo). I also tried moving both classes into
"org.jboss.forge" but that didn't help either.
Does anybody have any ideas what could it be?
Best Regards,
Jevgeni
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev