Having it generate a change set pointing to each drl file sounds reasonable.<div><br></div><div>Another approach is that the tohu tool combines it all into one DRL (but that may be too inconvenient or un-natural for you?). <br>
<div><br><div class="gmail_quote">On Fri, Feb 12, 2010 at 7:25 AM, petersellars <span dir="ltr"><<a href="mailto:peter.sellars@solnetsolutions.co.nz">peter.sellars@solnetsolutions.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Mark,
<br><br>Thanks for your feedback and review of the proposed solution and raising of
<br>the issues. Much appreciated.
<br><br>The problem I am trying to address is a specific one which I then tried to
<br>make generic enough to fit in with the Drools core. My specific issue is
<br>that the system I am working with has a custom spreadsheet compiler that
<br>generates a number of rule files. I am only interested in regenerating the
<br>rule files when the spreadsheet gets changed. I assume it would be best to
<br>update the custom spreadsheet compilation to return a changeset once the
<br>rule files have been generated - thus allowing me to add them as you
<br>propose.
<br><br>I assume I can achieve this with your proposed updates to the solution I
<br>have been working on. It is my intention to provide code that not only
<br>functions as expected but fits in with the Drools team architecture
<br>direction. I shall update in accordance with your proposal if you think
<br>this will still fit my solution and provide a generic solution for user
<br>resources.
<br><br>Peter Sellars
<br><br><br>"Mark Proctor [via Drools - Java Rules Engine]" <ml-node
<br>+<a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=202323&i=0" rel="nofollow" target="_blank">[hidden email]</a>> wrote on 11/02/2010 05:00:34 p.m.:
<br><div><br>> [image removed]
<br>>
<br>> Re: Drools VSM Module - Build Issue
<br>>
<br>> Mark Proctor [via Drools - Java Rules Engine]
<br>>
<br>> to:
<br>>
<br>> petersellars
<br>>
<br>> 11/02/2010 05:00 p.m.
<br><div><div></div><div class="h5">>
<br>> Last hudson was fiinally blue:
<br>> <a href="https://hudson.jboss.org/hudson/job/drools/" rel="nofollow" link="external" target="_blank">https://hudson.jboss.org/hudson/job/drools/</a><br>>
<br>> Btw I did reveiw your initial proposal, there where some things I think
<br>> will need to be addressed. Particularly the idea of the Resource
<br>> returning multiple resources, it seems a little dirty. I think instead
<br>> i'd prefer that the Resource returns a changeset that lists those
<br>> multiple resources. We should probably add a ResourceConfiguration that
<br>> allows the handler to be provided for handling the resources. Anything
<br>> that deals with a Resources mapping to multiple Resources needs to fit
<br>> in with the definition's mapping, which is url based, for the
<br>> KnowledgeAgent, and will need full test coverage that it doens't break
<br>> anything in the KnowlegeAgent definitions to url mapping and rebuilding.
<br>>
<br>> Mark
<br>>
<br>>
<br>> On 11/02/2010 03:09, Peter Sellars wrote:
<br>>
<br>> > Am trying to build drools in order to test a patch for user resources
</div></div></div><div><div></div><div class="h5">but
<br>> > have an issue with drools-vsm module.
<br>> >
<br>> > I have added a method to the KnowledgeBuilderFactoryService interface.
<br>The
<br>> > clients in the VSM complain that they do not override the method.
<br>> >
<br>> > I am sure there is a simple step I am missing that will fix this issue
<br>(it
<br>> > appears my snapshot version of the api, core and compiler modules are
<br>not
</div></div><div><div><div></div><div class="h5"><br>> > being used by vsm).
<br>> >
<br>> > Any ideas?
<br>> >
<br>> > Peter Sellars
<br>> >
<br>> >
<br>> >
<br>> > Attention:
<br>> > This email may contain information intended for the sole use of
<br>> > the original recipient. Please respect this when sharing or
<br>> > disclosing this email's contents with any third party. If you
<br>> > believe you have received this email in error, please delete it
<br></div></div>> > and notify the sender or [hidden email] as
<br><div class="im">> > soon as possible. The content of this email does not necessarily
<br>> > reflect the views of Solnet Solutions Ltd.
<br>> >
<br>> > _______________________________________________
<br>> > rules-dev mailing list
<br></div>> > [hidden email]
<br><div class="im">> > <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>> >
<br>> >
<br>>
<br>> _______________________________________________
<br>> rules-dev mailing list
<br></div>> [hidden email]
<br><div class="im">> <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>>
</div></div><br>> View message @ <a href="http://n3.nabble.com/Drools-VSM-Module-Build-Issue-" rel="nofollow" link="external" target="_blank">http://n3.nabble.com/Drools-VSM-Module-Build-Issue-</a><br>> tp199452p199482.html
<br>> To start a new topic under Drools - Dev, email ml-node
<br>> +<a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=202323&i=1" rel="nofollow" target="_blank">[hidden email]</a>
<br>> To unsubscribe from Drools - Dev, click here.
<br><div class="im"><br><br><br>Attention:
<br>This email may contain information intended for the sole use of
<br>the original recipient. Please respect this when sharing or
<br>disclosing this email's contents with any third party. If you
<br>believe you have received this email in error, please delete it
<br></div>and notify the sender or <a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=202323&i=2" rel="nofollow" target="_blank">[hidden email]</a> as
<br><div class="im">soon as possible. The content of this email does not necessarily
<br>reflect the views of Solnet Solutions Ltd.
<br><br>
<br><hr align="left" width="300"></div>
View this message in context: <a href="http://n3.nabble.com/Drools-VSM-Module-Build-Issue-tp199452p202323.html" target="_blank">Re: Drools VSM Module - Build Issue</a><br>
Sent from the <a href="http://n3.nabble.com/Drools-Dev-f62260.html" target="_blank">Drools - Dev mailing list archive</a> at Nabble.com.<br>
<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael D Neale<br>home: <a href="http://www.michaelneale.net">www.michaelneale.net</a><br>blog: <a href="http://michaelneale.blogspot.com">michaelneale.blogspot.com</a><br>
</div></div>