<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi,<br><br>After two (unsuccessful) attempts at downloading and running<br>the drools examples, I'm ready to throw in the towel. Before I<br>do that, however, I'm going to beg for help.<br><br>With ant, I was able to build the examples using the following<br>classpath:<br><br> <path id="drools.jars" ><br> <fileset dir="${drools.home}" ><br> <include name="*.jar"/><br> </fileset><br> </path><br><br> <target name="compile"><br> <mkdir dir="target"/><br> <mkdir dir="target/classes"/> <br> <br> <copy todir="target/classes"><br> <fileset dir="src/main/resources"/><br> <fileset dir="src/main/rules"/><br> </copy> <br> <br> <javac srcdir="src/main/java"<br> destdir="target/classes"<br> source="1.4"><br> <classpath ><br> <path refid="drools.jars" /> <br> <fileset dir="lib"><br> <include name="*.jar"/><br> </fileset><br> </classpath><br> </javac> <br> </target> <br><br>All attempts to run the "run-waltz12" example fail regardless<br>of what classes I throw at it. I tried both "drools.jars"<br>above and the classpath below, without luck, as well as other<br>combinations of jars:<br><br> <path id="jsr94.jars" ><br> <fileset dir="${drools.home}" ><br> <include name="drools-core*.jar"/><br> <include name="drools-compiler*.jar"/><br> <include name="drools-jsr94.jar"/><br> </fileset><br> <fileset dir="${drools.home}/lib" ><br> <include name="jsr94-1.1.jar"/><br> <include name="janino-2.5.7.jar"/><br> </fileset><br> </path><br><br>Latest error is this:<br><br> [java] Caused by: java.lang.RuntimeException: The Eclipse JDT Core jar is not in the classpath<br><br>I went out of my way to specify the janino jar so don't know<br>why an eclipse jar is required (I'm building from the command <br>line and not using Eclipse.) <br><br>I'm sure it's my ignorance but wonder if someone could email me<br>ant script that will do the job?<br><br>Thanks, Garry<br><br><br><br></div><br /><hr />Discover the new Windows Vista <a href='http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>