Skip to content

Commit 9808577

Browse files
RikkolaRikkola
Rikkola
authored and
Rikkola
committed
JBRULES-1746: The drools-ant task cannot compile decision tables (.xls files)
git-svn-id: http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk@21644 c60d74c8-e8f6-0310-9e8f-d4a2fc68ab70
1 parent 56e8898 commit 9808577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drools-ant/src/main/java/org/drools/contrib/DroolsCompilerAntTask.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ private void compileAndAddFile(PackageBuilder builder, String fileName)
231231
builder.addRuleFlow(instream);
232232
} else if (fileName.endsWith(DroolsCompilerAntTask.XMLFILEEXTENSION)) {
233233
builder.addPackageFromXml(instream);
234-
} else if (fileName.equals(DroolsCompilerAntTask.XLSFILEEXTENSION)) {
234+
} else if (fileName.endsWith(DroolsCompilerAntTask.XLSFILEEXTENSION)) {
235235

236236
final SpreadsheetCompiler converter = new SpreadsheetCompiler();
237237
final String drl = converter.compile( new FileInputStream(file),

0 commit comments

Comments
 (0)