Has anyone been able to compile an XLS decision table into a package via an Ant build script?<br><br>I've scouring the documentation on the Drools Ant Compiler Task (what little I could find) and I can't find any documentation on hw to pass configuration into the ant task for things such as compiling XLS decision tables.<br>
<br>Without a configuration entry, when I try and run the build script referencing an excel file, it fails with the following error:<br>Buildfile: C:\Documents and Settings\Adam\workspace\RivaDroolsExperiment\build-5.1.xml<br>
compileArtifacts:<br><br>BUILD FAILED<br>C:\Documents and Settings\Adam\workspace\RivaDroolsExperiment\build-5.1.xml:21: RuleBaseTask failed: null<br>---------------<br>I suspect this message is because the compiler task is failing with a null pointer exception, which it throws when you don't provide it with a configuration file. I am running <br>
the build3423-rev29890-20091102-1042 Drools 5.1 Snapshot.<br><br>The relevant snippet from the build script:<br><target name="compileArtifacts"><br> <compiler srcdir="${projectPath}src/main/rules" tofile="${projectPath}target/experiment.pkg" binformat="package" bintype="knowledge" classpathref="model.classpath"><br>
<include name="Sample.xls" /> <br> </compiler><br> </target><br>------------------<br><br>Thanks,<br>Adam<br>