Mark
<br><br>I have created an implementation that now generates a changeset and am then
<br>adding this to the &nbsp;knowledge resources in PackageBuilder using the
<br>following line of code.
<br><br>addKnowledgeResource(changeSetResource, ResourceType.CHANGE_SET, null);
<br><br>This uses the changeset resources (as if I remove the rules files in it the
<br>application dosen't run), but does not add them to the resources for
<br>notification. How would you suggest I register these resources? I thought
<br>it would have read them during the processChangeSet - but it appears they
<br>are not added?
<br><br>Pete
<br><br><br>&quot;Mark Proctor [via Drools - Java Rules Engine]&quot; &lt;ml-node
<br>+<a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=214510&i=0" target="_top" rel="nofollow">[hidden email]</a>&gt; wrote on 15/02/2010 12:02:21 p.m.:
<br><div class='shrinkable-quote'><br>&gt; [image removed]
<br>&gt;
<br>&gt; Re: Drools VSM Module - Build Issue
<br>&gt;
<br>&gt; Mark Proctor [via Drools - Java Rules Engine]
<br>&gt;
<br>&gt; to:
<br>&gt;
<br>&gt; petersellars
<br>&gt;
<br>&gt; 15/02/2010 12:02 p.m.
<br>&gt;
<br>&gt; On 14/02/2010 22:47, Michael Neale wrote:
<br>&gt; Having it generate a change set pointing to each drl file sounds
</div>reasonable.
<div class='shrinkable-quote'><br>&gt; I was thinking of having a resource type that allowed inline code,
<br>&gt; which would &nbsp;help with code generation stuff.
<br>&gt;
<br>&gt; The hard bit is making sure all the url indexing and index mapping
<br>&gt; for re-loading works.
<br>&gt;
<br>&gt; Another approach is that the tohu tool combines it all into one DRL
<br>&gt; (but that may be too inconvenient or un-natural for you?).
<br>&gt;
<br>&gt; On Fri, Feb 12, 2010 at 7:25 AM, petersellars &lt;[hidden email]&gt; wrote:
<br>&gt; Mark,
<br>&gt;
<br>&gt; Thanks for your feedback and review of the proposed solution and raising
</div>of
<br>&gt; the issues. Much appreciated.
<br>&gt;
<br>&gt; The problem I am trying to address is a specific one which I then tried
<br>to
<br>&gt; make generic enough to fit in with the Drools core. My specific issue is
<br>&gt; that the system I am working with has a custom spreadsheet compiler that
<br>&gt; generates a number of rule files. I am only interested in regenerating
<br>the
<br>&gt; rule files when the spreadsheet gets changed. I assume it would be best
<br>to
<div class='shrinkable-quote'><br>&gt; update the custom spreadsheet compilation to return a changeset once the
<br>&gt; rule files have been generated - thus allowing me to add them as you
<br>&gt; propose.
<br>&gt;
<br>&gt; I assume I can achieve this with your proposed updates to the solution I
<br>&gt; have been working on. It is my intention to provide code that not only
<br>&gt; functions as expected but fits in with the Drools team architecture
<br>&gt; direction. I shall update in accordance with your proposal if you think
<br>&gt; this will still fit my solution and provide a generic solution for user
<br>&gt; resources.
<br>&gt;
<br>&gt; Peter Sellars
<br>&gt;
<br>&gt;
<br>&gt; &quot;Mark Proctor [via Drools - Java Rules Engine]&quot; &lt;ml-node
<br>&gt; +[hidden email]&gt; wrote on 11/02/2010 05:00:34 p.m.:
<br>&gt;
<br>&gt; &gt; [image removed]
<br>&gt; &gt;
<br>&gt; &gt; Re: Drools VSM Module - Build Issue
<br>&gt; &gt;
<br>&gt; &gt; Mark Proctor [via Drools - Java Rules Engine]
<br>&gt; &gt;
<br>&gt; &gt; to:
<br>&gt; &gt;
<br>&gt; &gt; petersellars
<br>&gt; &gt;
<br>&gt; &gt; 11/02/2010 05:00 p.m.
<br>&gt; &gt;
<br>&gt; &gt; Last hudson was fiinally blue:
<br>&gt; &gt; <a href="https://hudson.jboss.org/hudson/job/drools/" target="_top" rel="nofollow" link="external">https://hudson.jboss.org/hudson/job/drools/</a><br>&gt; &gt;
<br>&gt; &gt; Btw I did reveiw your initial proposal, there where some things I think
</div><br>&gt; &gt; will need to be addressed. Particularly the idea of the Resource
<br>&gt; &gt; returning multiple resources, it seems a little dirty. I think instead
<br>&gt; &gt; i'd prefer that the Resource returns a changeset that lists those
<br>&gt; &gt; multiple resources. We should probably add a ResourceConfiguration that
<br><br>&gt; &gt; allows the handler to be provided for handling the resources. Anything
<br>&gt; &gt; that deals with a Resources mapping to multiple Resources needs to fit
<br>&gt; &gt; in with the definition's mapping, which is url based, for the
<br>&gt; &gt; KnowledgeAgent, and will need full test coverage that it doens't break
<br>&gt; &gt; anything in the KnowlegeAgent definitions to url mapping and
<br>rebuilding.
<div class='shrinkable-quote'><br>&gt; &gt;
<br>&gt; &gt; Mark
<br>&gt; &gt;
<br>&gt; &gt;
<br>&gt; &gt; On 11/02/2010 03:09, Peter Sellars wrote:
<br>&gt; &gt;
<br>&gt; &gt; &gt; Am trying to build drools in order to test a patch for user resources
<br>&gt; but
<br>&gt; &gt; &gt; have an issue with drools-vsm module.
<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; I have added a method to the KnowledgeBuilderFactoryService
</div>interface.
<br>&gt; The
<br>&gt; &gt; &gt; clients in the VSM complain that they do not override the method.
<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; I am sure there is a simple step I am missing that will fix this
<br>issue
<br>&gt; (it
<br>&gt; &gt; &gt; appears my snapshot version of the api, core and compiler modules are
<br><div class='shrinkable-quote'><br>&gt; not
<br>&gt;
<br>&gt; &gt; &gt; being used by vsm).
<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; Any ideas?
<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; Peter Sellars
<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; Attention:
<br>&gt; &gt; &gt; This email may contain information intended for the sole use of
<br>&gt; &gt; &gt; the original recipient. Please respect this when sharing or
<br>&gt; &gt; &gt; disclosing this email's contents with any third party. If you
<br>&gt; &gt; &gt; believe you have received this email in error, please delete it
<br>&gt; &gt; &gt; and notify the sender or [hidden email] as
<br>&gt; &gt; &gt; soon as possible. The content of this email does not necessarily
<br>&gt; &gt; &gt; reflect the views of Solnet Solutions Ltd.
<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; _______________________________________________
<br>&gt; &gt; &gt; rules-dev mailing list
<br>&gt; &gt; &gt; [hidden email]
<br>&gt; &gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_top" rel="nofollow" link="external">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;
<br>&gt; &gt;
<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; rules-dev mailing list
<br>&gt; &gt; [hidden email]
<br>&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_top" rel="nofollow" link="external">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>&gt; &gt;
<br>&gt;
<br>&gt; &gt; View message @ <a href="http://n3.nabble.com/Drools-VSM-Module-Build-Issue-" target="_top" rel="nofollow" link="external">http://n3.nabble.com/Drools-VSM-Module-Build-Issue-</a><br>&gt; &gt; tp199452p199482.html
<br>&gt; &gt; To start a new topic under Drools - Dev, email ml-node
<br>&gt; &gt; +[hidden email]
<br>&gt; &gt; To unsubscribe from Drools - Dev, click here.
<br>&gt;
<br>&gt;
<br>&gt;
<br>&gt; Attention:
<br>&gt; This email may contain information intended for the sole use of
<br>&gt; the original recipient. Please respect this when sharing or
<br>&gt; disclosing this email's contents with any third party. If you
<br>&gt; believe you have received this email in error, please delete it
<br>&gt; and notify the sender or [hidden email] as
<br>&gt; soon as possible. The content of this email does not necessarily
<br>&gt; reflect the views of Solnet Solutions Ltd.
<br>&gt;
<br>&gt;
</div><br>&gt; View this message in context: Re: Drools VSM Module - Build Issue
<br>&gt; Sent from the Drools - Dev mailing list archive at Nabble.com.
<br>&gt;
<br>&gt; _______________________________________________
<br>&gt; rules-dev mailing list
<br>&gt; [hidden email]
<br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_top" rel="nofollow" link="external">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br><div class='shrinkable-quote'><br>&gt;
<br>&gt;
<br>&gt;
<br>&gt; --
<br>&gt; Michael D Neale
<br>&gt; home: www.michaelneale.net
<br>&gt; blog: michaelneale.blogspot.com
<br>&gt;
<br>&gt;
<br>&gt; _______________________________________________
<br>&gt; rules-dev mailing list
<br>&gt; [hidden email]
<br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_top" rel="nofollow" link="external">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>&gt;
<br>&gt;
<br>&gt;
<br>&gt; _______________________________________________
<br>&gt; rules-dev mailing list
<br>&gt; [hidden email]
<br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_top" rel="nofollow" link="external">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>&gt;
</div><br>&gt; View message @ <a href="http://n3.nabble.com/Drools-VSM-Module-Build-Issue-" target="_top" rel="nofollow" link="external">http://n3.nabble.com/Drools-VSM-Module-Build-Issue-</a><br>&gt; tp199452p207372.html
<br>&gt; To start a new topic under Drools - Dev, email ml-node
<br>&gt; +<a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=214510&i=1" target="_top" rel="nofollow">[hidden email]</a>
<br>&gt; To unsubscribe from Drools - Dev, click here.
<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>and notify the sender or <a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=214510&i=2" target="_top" rel="nofollow">[hidden email]</a> as
<br>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">
View this message in context: <a href="http://n3.nabble.com/Drools-VSM-Module-Build-Issue-tp199452p214510.html">Re: Drools VSM Module - Build Issue</a><br>
Sent from the <a href="http://n3.nabble.com/Drools-Dev-f62260.html">Drools - Dev mailing list archive</a> at Nabble.com.<br>