<p dir="ltr">The problem is this:</p>
<p dir="ltr">1) At the moment you need to put enum helper classes in /lib (we simply haven&#39;t changed the way this worked from 5.5)</p>
<p dir="ltr">2) If the same JAR contains classes you need for rule authoring you need it uploaded to the M2 Repository and added as a dependency to your project. <br>
3) If your JAR classes were compiled against classes not in the JAR (or other project dependency) you&#39;ll the classes not found messages.</p>
<p dir="ltr">Item (1) is arguably acceptable as the database helper class is a (rule authoring) design time requirement and not a (KJAR) runtime requirement.</p>
<p dir="ltr">Sent on the move</p>
<div class="gmail_quote">On 21 Feb 2014 16:38, &quot;SrjTx&quot; &lt;<a href="mailto:clickthex@yahoo.com">clickthex@yahoo.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am not 100% clear on the relationship between these two.<br>
<br>
I want to have an enumeration that is populated from a DB.<br>
It makes sense to me that I have to put the jar with the DB access class in<br>
the repository.  I know that I have to also put it in the /lib dir, but I<br>
don&#39;t understand the relationship and why I have to do it.<br>
<br>
Also, once I add the db access class, there are my.com.tenancy classes and<br>
org.hibernate classes that get flagged as class not found.<br>
<br>
I can add them to the repo, but since I don&#39;t access them directly, I<br>
guessed that I wouldn&#39;t have to put them there and only in the ./lib<br>
<br>
Can anyone elaborate on this or share a good link?<br>
<br>
Thanks!<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/6-0-1-F-Artifact-Repository-vs-container-lib-dir-tp4028240.html" target="_blank">http://drools.46999.n3.nabble.com/6-0-1-F-Artifact-Repository-vs-container-lib-dir-tp4028240.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div>