EJB dependency in Forge 2
by Ivan St. Ivanov
Hi folks,
I noticed the following thing in Forge 2. When you setup EJB and you choose
version 3.1 of the spec, you get the following dependency:
javax.ejb:ejb-api:3.0-alpha-1. So even though I explicitly say that I want
EJB 3.1, I get 3.0. As a result I am not able to have things like Singleton
beans for example (that is how I caught the issue).
Isn't it better to stick to the other Java EE dependencies and use
the org.jboss.spec.javax artifact? I saw that it is there in
the EJBFacetImpl_3_1 class, but it is not added eventually to the pom.
Cheers,
Ivan
10 years, 8 months
Meeting minutes
by George Gastaldi
==============
#forge Meeting
==============
Meeting started by lincolnthree at 15:52:38 UTC. The full logs are
available at
http://transcripts.jboss.org/meeting/irc.freenode.org/forge/2014/forge.20...
.
Meeting summary
---------------
* Agenda (lincolnthree, 15:52:50)
* Roaster Integration (lincolnthree, 15:53:31)
* Roadmap (gastaldi, 15:56:25)
* Scaffolding (gastaldi, 15:56:29)
* Website (gastaldi, 15:56:33)
* Roaster integration (gastaldi, 15:57:49)
* Roaster is the new name for the java-parser project (gastaldi,
15:58:43)
* ACTION: gastaldi will release Roaster (formerly known as
java-parser) 2.0.0.Final today (gastaldi, 16:05:18)
* ACTION: roaster should be in a classloading only addon (gastaldi,
16:16:53)
* ACTION: fully migration of java-parser to roaster should occur in
Forge 3.x (gastaldi, 16:18:06)
* Roadmap (gastaldi, 16:19:18)
* LINK: http://website-forge.rhcloud.com (gastaldi, 16:21:47)
* Scaffolding (gastaldi, 16:56:17)
Meeting ended at 17:23:47 UTC.
Action Items
------------
* gastaldi will release Roaster (formerly known as java-parser)
2.0.0.Final today
* roaster should be in a classloading only addon
* fully migration of java-parser to roaster should occur in Forge 3.x
Action Items, by person
-----------------------
* gastaldi
* gastaldi will release Roaster (formerly known as java-parser)
2.0.0.Final today
* **UNASSIGNED**
* roaster should be in a classloading only addon
* fully migration of java-parser to roaster should occur in Forge 3.x
People Present (lines said)
---------------------------
* gastaldi (153)
* lincolnthree1 (81)
* vineetreynolds (60)
* agoncal (49)
* jbossbot (21)
* mbenson (16)
* jbott (10)
* lincolnthree (7)
* maxandersen (4)
* aslak (1)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
10 years, 8 months
Анулирано събитие: Forge hack night @ вт 04 Март 2014 21:30 - 23:30 (ivan.st.ivanov@gmail.com)
by ivan.st.ivanov@gmail.com
Това събитие бе анулирано и премахнато от календара ви.
Заглавие: Forge hack night
With Forge 2 finally out, it is time to develop the killer addons for it.
If you want to create a new addon, if you want to migrate your existing
Forge 1 plugin or if you just want to feel the Forge developer or user
experience, you are more than welcome to this regular night hacking
sessions.
Pick up a JIRA issue and meet in the web chat with the experienced Forge
developers! Or just come and say Hi!
Кога: вт 04 Март 2014 21:30 – 23:30 София
Къде: http://webchat.freenode.net/ channel #forge
Календар: ivan.st.ivanov(a)gmail.com
Кой:
* Ivan St. Ivanov- организатор
* forge-dev(a)lists.jboss.org
Покана от Google Календар: https://www.google.com/calendar/
Изпращаме този имейл на ваше внимание на адрес forge-dev(a)lists.jboss.org,
защото сте един от поканените на това събитие.
Откажете това събитие, за да преустановите получаването на бъдещи известия
за него. Освен това, можете да си регистрирате профил в Google Календар на
адрес https://www.google.com/calendar/, откъдето да управлявате настройките
за известяване за целия ви календар.
10 years, 8 months
Issue with @FacetConstraint
by Ivan St. Ivanov
Hi folks,
I am testing my Forge 2.0 addon for SAP HANA Cloud. One of my commands (the
setup command) installs the special facet that I have developer
(SapHanaCloudFacet). Another command is annotated
with @FacetConstraint(SapHanaCloudFacet.class). Even after I do setup, the
other command is not enabled.
I started the debugger. The isInstalled method of my facet returned true.
So I went on to see what happens with the isEnabled() method. I dug as deep
as the AbstractFaceted::safeGetFacet(Class<F> type) method. What it does
is: it searches all the installed facets and it checks whether the expected
one is among them by calling type.isInstance(facet).
The problem in my case is that all the facet objects are actually proxies.
So I expect the type to be com.sap.cloud.forge.SapHanaCloudFacet, but it is
actually something
like org.jboss.forge.addon.facets.AbstractFacet_$$_javassist_904cc85e-43dd-404a-846c-ed4709d14dea.
Eventually, the isInstance method returns false.
Am I doing something wrong? The code of the addon can be found here:
https://github.com/ivannov/addon-saphcp.
Thanks,
Ivan
P.S. Did you, guys, bring anything new to the Windows shell? I am still
using my Linux VM for Forge development.
10 years, 8 months