<br><font size=2 face="sans-serif">Hi Mark,</font>
<br>
<br><font size=2 face="sans-serif">Thanks for the reply. I created a packagebuilder.conf
file that simply had name/value pairs in it as follows:</font>
<br>
<br><font size=2 face="sans-serif">drools.dialect.java.compiler=JANINO</font>
<br>
<br><font size=2 face="sans-serif">and I placed into one of each of the
following locations:</font>
<br>
<br><font size=2 face="sans-serif">WEB-INF</font>
<br><font size=2 face="sans-serif">WEB-INF/classes</font>
<br><font size=2 face="sans-serif">META-INF</font>
<br>
<br><font size=2 face="sans-serif">I tried each one, one after the other
but I still receive the same error message at application startup. Do I
have the entries correct? Should I be placing this somewhere else? Is there
something that I am still overlooking?</font>
<br>
<br><font size=2 face="sans-serif">Thanks for the help...</font>
<br><font size=2 face="sans-serif"><br>
Chris </font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Mark Proctor &lt;mproctor@codehaus.org&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: rules-users-bounces@lists.jboss.org</font>
<p><font size=1 face="sans-serif">06/12/2008 03:43 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Rules Users List &lt;rules-users@lists.jboss.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Rules Users List &lt;rules-users@lists.jboss.org&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [rules-users] The Eclipse JDT Core
jar is not in the classpath</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><a href=mailto:Christopher.Mathrusse@sybase.com><font size=3 color=blue><u>Christopher.Mathrusse@sybase.com</u></font></a><font size=3>
wrote: </font>
<br><font size=2 face="sans-serif"><br>
I'm using JBoss Rules 4.01 with Spring 2.5 and I'm utilizing the JSR-94
interfaces provided by Spring Modules. When deploying my application I
receive the error:</font><font size=3> <br>
</font><font size=2 face="sans-serif"><b><i><br>
The Eclipse JDT Core jar is not in the classpath</i></b></font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
I've searched through the postings and found that setting the compiler
to </font><font size=2 color=#4200ff face="Courier New">drools.dialect.java.compiler</font><font size=2 face="sans-serif"><b><i>
</i></b>should resolve the issue but I am having trouble figuring out where
to set this property on the JSR_94 interfaces. I've tried passing a Map
into</font><font size=3> <br>
</font><font size=2 color=#0021bf face="Courier New"><br>
ruleAdministrator</font><font size=2 face="Courier New">.getLocalRuleExecutionSetProvider(</font><font size=2 color=#0021bf face="Courier New">providerProperties</font><font size=2 face="Courier New">);</font><font size=3>
<br>
</font><font size=2 face="Courier New"><br>
with the following specified in my Spring configuration:</font><font size=3>
</font><font size=2 face="Courier New"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=2 color=#008080 face="Courier New">&lt;</font><font size=2 color=#3f8080 face="Courier New">prop
</font><font size=2 color=#800080 face="Courier New">key</font><font size=2 face="Courier New">=</font><font size=2 color=#4200ff face="Courier New">&quot;drools.dialect.java.compiler&quot;</font><font size=2 color=#008080 face="Courier New">&gt;</font><font size=2 face="Courier New">JANINO</font><font size=2 color=#008080 face="Courier New">&lt;/</font><font size=2 color=#3f8080 face="Courier New">prop</font><font size=2 color=#008080 face="Courier New">&gt;</font><font size=3>
<br>
</font><font size=2 face="Courier New"><br>
but I believe the initialization occurs long before this point. </font><font size=3><br>
</font><font size=2 face="Courier New"><br>
I've also tried dropping into the applications WEB-INF/lib directory a
copy of the jasper-compiler-jdt.jar into the WEB-INF/lib directory, which
should satisfy the dependency, but it didn't seem to resolve the issue.
</font>
<br><font size=3>Either that's the wrong classpath location, or that jasper
compiler isn't hte same thing, try the jdt.jar supplied with drools.</font>
<br><font size=2 face="Courier New">I would prefer it if there was some
way of setting this property without having to use the JDT libraries. </font>
<br><font size=3>This should be possible, have you tried adding a packagebuilder.conf
to tbe WEB-INF directory as the propperties loader checks for one of those
first.</font>
<br><font size=2 face="Courier New"><br>
I saw that I can provide system properties to make Drools aware of the
req</font><font size=2 face="sans-serif">uested compiler setting but this
is not really an option as I am running inside of a J2EE container and
I am unable to modify the settings that are provided to the application
server. Is there a default location in the classpath that Drools looks
for a properties file that I can specify these values? Or better still,
is there a way that I can supplied them to the JSR-94 interfaces to ensure
proper initialization?</font><font size=3> </font>
<br><font size=3>no and it is for this reason that I tell people to stay
away from the abomination that is JSR94.</font>
<br><font size=2 face="sans-serif"><br>
Thanks very much for the help.</font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
Chris </font>
<br><font size=3><tt><br>
</tt></font>
<hr><font size=3><tt><br>
_______________________________________________<br>
rules-users mailing list<br>
</tt></font><a href="mailto:rules-users@lists.jboss.org"><font size=3 color=blue><tt><u>rules-users@lists.jboss.org</u></tt></font></a><font size=3><tt><br>
</tt></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users"><font size=3 color=blue><tt><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></tt></font></a><font size=3><tt><br>
 &nbsp;</tt></font>
<br><font size=2><tt>_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
https://lists.jboss.org/mailman/listinfo/rules-users<br>
</tt></font>
<br>