<div><div>
<div><div>Hi,</div><div><br></div><div>First I apologize for this very late response!</div><div><br></div><div>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). </div><div><br></div><div>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.</div></div><div>
<span><br>--Kevin<br><br></span>
<p style="color: #a0a0a0;">Le dimanche 26 juin 2011 à 19:19, Ricardo Martinelli Oliveira a écrit :</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>Hi,<div><br></div><div>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.</div><div><br></div><div><br></div><div>
Thanks in advance,</div><div><br></div><div>Ricardo</div>
</div><div>_______________________________________________<br>forge-dev mailing list<br><a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br></div></div></span>
</blockquote>
<div>
<br>
</div>
</div>
</div></div>