[rules-users] QueryResult.getFactHandles bug?

Hareendra Pelige Hareendra at virtusa.com
Tue Jun 17 01:02:37 EDT 2008


Hi Drools users,

 

I am trying to compile drools rule files in to a package file using ANT
task as follows. But I am getting an error when the ANT build is run.
Here is my ANT build file.

All the necessary jars are there in the classpath.
Could you please correct me if I have done a wrong thing or let me know
if there is a alternative for this.
Appreciate all your help.
 

<project default="rules">

 

 <path id="drools.classpath">     

            <pathelement location="./drools-lib/drools-ant-4.0.7.jar" />


            <pathelement
location="./drools-lib/drools-compiler-4.0.7.jar" /> 

            <pathelement location="./drools-lib/drools-core-4.0.7.jar"
/> 

            <pathelement
location="./drools-lib/drools-analytics-4.0.7.jar" /> 

            

            <pathelement location="./drools-lib/lib/janino-2.5.10.jar"
/> 

            <pathelement location="./drools-lib/lib/jsr94-1.1.jar" /> 

            <pathelement
location="./drools-lib/lib/mvel-1.3.1-java1.4.jar" />              

  </path>

  

  

  <taskdef name="compiler"
classname="org.drools.contrib.DroolsCompilerAntTask"
classpathref="drools.classpath" /> 

  <!-- <taskdef name="verifier"
classname="org.drools.contrib.DroolsVerifierAntTask"
classpathref="drools.classpath" />  -->

 

 

 <target name="rules">

            <compiler srcdir="./rules"
tofile="./test/VATRules.drl.rules" classpathref="drools.classpath">

              <include name="*.drl" />           

            </compiler>

 </target>

 

</project>

 

Error :

Buildfile: build.xml

rules:

 

BUILD FAILED

C:\eclipse3.3.2\workspace\CalCulateVAT\cmdcompile\src\build.xml:31:
RuleBaseTask failed: U

nable to load dialect
'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'

 

 

Thanks

Hareendra Pelige

 



------------------------ --------------------------------------------------------------------
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080617/7c70cd15/attachment.html 


More information about the rules-users mailing list