-
1. Re: New Command isn't picked up by Forge 2.0 in my addon
gastaldi Jan 31, 2014 9:11 AM (in response to rdul064)Hi Rudy,
Look for the class name in the logs and see if there is an exception
next to it. That may be the cause.
Forge 2 doesn't register some classes if the dependencies are not
available to the addon.
-
2. Re: New Command isn't picked up by Forge 2.0 in my addon
rdul064 Jan 31, 2014 1:28 PM (in response to gastaldi)Hi George,
I would like to add some parts of the log file (only 5 lines) but I get some error about frequency limit.
Anyway, I don't see any error in the log file, only the module and the 3 dependencies that I have specified underneath it.
And a bit further the message that the container is started.
I see only a warning about UserTransaction which is not available, but this is on the org.jboss.forge.addon:templates addon.
I'll create a minimal project to reproduce the issue.
Rudy
-
3. Re: [forge-users] New Command isn't picked up by Forge 2.0 in my addon
lincolnthree Feb 3, 2014 1:39 AM (in response to rdul064)Does your adding depend on the
org.jboss.forge.furnace:container-cdi:forge-addon ? If so, do you have a
beans.xml file in your project?
On Fri, Jan 31, 2014 at 1:28 PM, <forge-users@lists.jboss.org> wrote:
Hi George,
I would like to add some parts of the log file (only 5 lines) but I get
some error about frequency limit.
Anyway, I don't see any error in the log file, only the module and the 3
dependencies that I have specified underneath it.
And a bit further the message that the container is started.
I see only a warning about UserTransaction which is not available, but
this is on the org.jboss.forge.addon:templates addon.
I'll create a minimal project to reproduce the issue.
Rudy
Posted by forums
Original post: https://community.jboss.org/message/855779#855779
_______________________________________________
forge-users mailing list
https://lists.jboss.org/mailman/listinfo/forge-users
--
Lincoln Baxter, III
"Simpler is better."
-
att1.html.zip 926 bytes
-
-
4. Re: [forge-users] New Command isn't picked up by Forge 2.0 in my addon
rdul064 Feb 3, 2014 4:10 AM (in response to lincolnthree)beans.xml ! That's it.
Have forgotten that it is all CDI based now.
Thanks.
-
5. Re: [forge-users] New Command isn't picked up by Forge 2.0 in my addon
gastaldi Feb 3, 2014 6:08 AM (in response to rdul064)Just a minor observation: it uses CDI if you choose for your addon to depend on the cdi container. You can depend on the simple container if you want (this won't allow you to @Inject dependencies in your code, but it should consume less resources in your environment).
Em 03/02/2014, às 07:31, Rudy De Busscher <do-not-reply@jboss.com> escreveu:
JBoss Community
New Command isn't picked up by Forge 2.0 in my addon
reply from Rudy De Busscher in Forge - View the full discussion
beans.xml ! That's it.
Have forgotten that it is all CDI based now.
Thanks.
Reply to this message by going to Community
Start a new discussion in Forge at Community
Following Forge in these streams: Email Watches
Following New Command isn't picked up by Forge 2.0 in my addon in these streams: Inbox