[forge-dev] add-constraint command
pollet.kevin at gmail.com
Fri Jul 1 04:18:20 EDT 2011
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.
Le dimanche 26 juin 2011 à 19:19, Ricardo Martinelli Oliveira a écrit :
> 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,
> forge-dev mailing list
> forge-dev at lists.jboss.org (mailto:forge-dev at lists.jboss.org)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the forge-dev