Woops! This is not correct. I'll have to check, but I think that the
generated web services require only EJB, and JPA.
Thank you for finding this! Do you feel like submitting a bug in JIRA?
https://issues.jboss.org/browse/FORGE
~Lincoln
2011/11/6 Doychin Bondzhev <doychin(a)gmail.com>
Hi guys,
While looking at forge code I found this:
/*
* Make sure we have all the features we need for this to work.
*/
if (!project.hasAllFacets(Arrays.**asList(CDIFacet.class,
PersistenceFacet.class)))
{
request.fire(new InstallFacets(true, EJBFacet.class,
PersistenceFacet.class));
}
On first look it is OK but then I noticed that Facets checked in if are
not the same that are installed after that. More specifically there is
check for CDIFacet but then EJBFacet is installed.
Is that supposed to be this way or there is something wrong here?
This is RestPlugin.java
--
Doychin Bondzhev
dSoft-Bulgaria Ltd.
PowerPro - billing & provisioning solution for Service providers
PowerStor - Warehouse & POS
http://www.dsoft-bg.com/
Mobile: +359888243116
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"