Perhaps fractions can be modeled as facets in Forge.
That way, if you add a @FacetConstraint to the FractionFacet and install it, the constrained facets will be installed too.
This might help solve your fraction relationship issues
Awesome !For fractions that has no correspondence they can still be installed with the add-fraction command that was merged yesterday ;)
Le jeudi 28 janvier 2016, George Gastaldi <ggastald@redhat.com> a écrit :Best Regards,Hey Sebastien,I completed your table with the missing facets. There are some fractions that are not mapped to a facet (like JMX or MSC), so I am not sure how you could address that (maybe we need to create facets for the missing specs, like mail and JCA).On Thu, Jan 28, 2016 at 5:30 PM, Sebastien Blanc <sblanc@redhat.com> wrote:ps : fractions has also transitive dependency between them (I will handle that later, for the next feature ;) ) https://repo1.maven.org/maven2/org/wildfly/swarm/fraction-list/1.0.0.Alpha6/fraction-list-1.0.0.Alpha6.txtSebiThx,I don't know if Swarm people watch this list to, otherwise I will ping them on irc as well.Feel free to correct my mistake, add columns (for Forge command for instance), add mappings !That is why I need your help, I started a document here : https://docs.google.com/document/d/1akPBZRsFtihrr8RVZzs-7RV67mQkdhMz-fBXT0akaGk/edit?usp=sharingThe central piece of that, is having a document / table ,whatever, that describes the best the mapping between these 2 things. Maybe basing it on a facet installation event is not enough, maybe there are other forge command that should also trigger the addition of a fraction ...The next thing I would like to implement, and thanks to Antonio who gave me the idea, is to be able to install Swarm Fractions automatically when a Facet / Addon is installed (and that the project has off course already the Swarm Facet), so for instance, if I do a "jpa-setup" it will also install the "jpa" swarm fraction.Hi Forgers !As some might know, I'm working, when times allow, on the Forge Swarm Addon ( https://github.com/forge/wildfly-swarm-addon ).
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev
--
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev