[rules-users] Functions not generated from decision tables with Drools 5.2
I have a decision table with functions but they are not contained in the generated DRL. What have I to do to fix this? -- Heinz -- View this message in context: http://drools.46999.n3.nabble.com/Functions-not-generated-from-decision-tables-with-Drools-5-2-tp3499285p3499285.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Functions not generated from decision tables with Drools 5.2
Something must be wrong. Providing your spreadsheet would be helpful. On 11 November 2011 10:11, hdrews heinz.dr...@gmail.com wrote: I have a decision table with functions but they are not contained in the generated DRL. What have I to do to fix this? -- Heinz -- View this message in context: http://drools.46999.n3.nabble.com/Functions-not-generated-from-decision-tables-with-Drools-5-2-tp3499285p3499285.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Functions not generated from decision tables with Drools 5.2
I have reduced the original XLS, but the problem still exists. 2011/11/11 Michael Anstis michael.ans...@gmail.com: Something must be wrong. Providing your spreadsheet would be helpful. On 11 November 2011 10:11, hdrews heinz.dr...@gmail.com wrote: I have a decision table with functions but they are not contained in the generated DRL. What have I to do to fix this? -- Heinz -- View this message in context: http://drools.46999.n3.nabble.com/Functions-not-generated-from-decision-tables-with-Drools-5-2-tp3499285p3499285.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users TestFunction.xls Description: MS-Excel spreadsheet ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Functions not generated from decision tables with Drools 5.2
You have a space after the keyword Functions . Removing this solves the problem. 2011/11/11 Heinz Drews heinz.dr...@gmail.com I have reduced the original XLS, but the problem still exists. 2011/11/11 Michael Anstis michael.ans...@gmail.com: Something must be wrong. Providing your spreadsheet would be helpful. On 11 November 2011 10:11, hdrews heinz.dr...@gmail.com wrote: I have a decision table with functions but they are not contained in the generated DRL. What have I to do to fix this? -- Heinz -- View this message in context: http://drools.46999.n3.nabble.com/Functions-not-generated-from-decision-tables-with-Drools-5-2-tp3499285p3499285.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Functions not generated from decision tables with Drools 5.2
Many thanks. I will check the SpreadsheetCompiler to add a trim before checking. Should I open a jira? 2011/11/11 Michael Anstis michael.ans...@gmail.com: You have a space after the keyword Functions . Removing this solves the problem. 2011/11/11 Heinz Drews heinz.dr...@gmail.com I have reduced the original XLS, but the problem still exists. 2011/11/11 Michael Anstis michael.ans...@gmail.com: Something must be wrong. Providing your spreadsheet would be helpful. On 11 November 2011 10:11, hdrews heinz.dr...@gmail.com wrote: I have a decision table with functions but they are not contained in the generated DRL. What have I to do to fix this? -- Heinz -- View this message in context: http://drools.46999.n3.nabble.com/Functions-not-generated-from-decision-tables-with-Drools-5-2-tp3499285p3499285.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Functions not generated from decision tables with Drools 5.2
It would be best to create a JIRA to record and track the issue. Are you planning on providing a git pull request for the fix? On 11 November 2011 13:12, Heinz Drews heinz.dr...@gmail.com wrote: Many thanks. I will check the SpreadsheetCompiler to add a trim before checking. Should I open a jira? 2011/11/11 Michael Anstis michael.ans...@gmail.com: You have a space after the keyword Functions . Removing this solves the problem. 2011/11/11 Heinz Drews heinz.dr...@gmail.com I have reduced the original XLS, but the problem still exists. 2011/11/11 Michael Anstis michael.ans...@gmail.com: Something must be wrong. Providing your spreadsheet would be helpful. On 11 November 2011 10:11, hdrews heinz.dr...@gmail.com wrote: I have a decision table with functions but they are not contained in the generated DRL. What have I to do to fix this? -- Heinz -- View this message in context: http://drools.46999.n3.nabble.com/Functions-not-generated-from-decision-tables-with-Drools-5-2-tp3499285p3499285.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Functions not generated from decision tables with Drools 5.2
BTW, if you need a hand setting up your environment just ask. It should be quite straight forward and there is a helpful README.md file that explains the necessary steps. On 11 November 2011 17:10, Michael Anstis michael.ans...@gmail.com wrote: Hi Heinz, I've stayed purposefully quiet on the dialect attribute, but you force my hand ;) I agree with Wolfgang that users are *likely* to set the attribute for the whole Ruleset however it is a rule-level attribute at the DRL level and hence should be supported as the same in other authoring metaphors; besides you can guarantee if we implement it at the decision table level they'll be users asking for it to be made available at the rule level to mirror DRL's capabilities. Furthermore, I am starting some new features that will allow DRL snippets to be used in the web-based decision table that'll bring us closed to being able to provide round-tripping between Excel and Guvnor for authoring decision tables (i.e. import from Excel into the web-based one and export from there to Excel). The web-based decision table has provided a row-level dialect attribute since (AFAIK) it's inception and Excel based decision tables must therefore support the same if we are to convert between the two. Therefore, if you do add the dialect attribute could you do so at the row level to ensure compatibility with the web-based equivalent. With kind regards, Mike On 11 November 2011 16:57, Heinz Drews heinz.dr...@gmail.com wrote: I currently only use the sources which are part of the distribution but I will pull them from git. Just looking for the information how to setup a development environment. Because I can get also only one row with Functions working I will dig deeper, Also looking into the inclusion of dialect 2011/11/11 Michael Anstis michael.ans...@gmail.com: It would be best to create a JIRA to record and track the issue. Are you planning on providing a git pull request for the fix? On 11 November 2011 13:12, Heinz Drews heinz.dr...@gmail.com wrote: Many thanks. I will check the SpreadsheetCompiler to add a trim before checking. Should I open a jira? 2011/11/11 Michael Anstis michael.ans...@gmail.com: You have a space after the keyword Functions . Removing this solves the problem. 2011/11/11 Heinz Drews heinz.dr...@gmail.com I have reduced the original XLS, but the problem still exists. 2011/11/11 Michael Anstis michael.ans...@gmail.com: Something must be wrong. Providing your spreadsheet would be helpful. On 11 November 2011 10:11, hdrews heinz.dr...@gmail.com wrote: I have a decision table with functions but they are not contained in the generated DRL. What have I to do to fix this? -- Heinz -- View this message in context: http://drools.46999.n3.nabble.com/Functions-not-generated-from-decision-tables-with-Drools-5-2-tp3499285p3499285.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users