Hi,
First I apologize for this very late response!
I hope you have found the way to use this command or the validation plugin is not user
friendly ;) The context for the add-constraint command is the Java class. When you add a
constraint you have to specify where your constraint will be added (eg. add-constraint
NotNull --onProperty foo).
Maybe this could be a great feature to make this plugin contextual. I mean when you are on
a class/field/method this constraint will be added automatically on the current resource.
--Kevin
Le dimanche 26 juin 2011 à 19:19, Ricardo Martinelli Oliveira a écrit :
Hi,
I'd like to know in what context add-constraint command can be used. I tried
executing when I "cd" to the Entity attribute, but it didn't work.
Thanks in advance,
Ricardo
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org (mailto:forge-dev@lists.jboss.org)
https://lists.jboss.org/mailman/listinfo/forge-dev