Mark
<br><br>I have created an implementation that now generates a changeset and am then
<br>adding this to the 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>"Mark Proctor [via Drools - Java Rules Engine]" <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>> wrote on 15/02/2010 12:02:21 p.m.:
<br><div class='shrinkable-quote'><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>> 15/02/2010 12:02 p.m.
<br>>
<br>> On 14/02/2010 22:47, Michael Neale wrote:
<br>> Having it generate a change set pointing to each drl file sounds
</div>reasonable.
<div class='shrinkable-quote'><br>> I was thinking of having a resource type that allowed inline code,
<br>> which would help with code generation stuff.
<br>>
<br>> The hard bit is making sure all the url indexing and index mapping
<br>> for re-loading works.
<br>>
<br>> Another approach is that the tohu tool combines it all into one DRL
<br>> (but that may be too inconvenient or un-natural for you?).
<br>>
<br>> On Fri, Feb 12, 2010 at 7:25 AM, petersellars <[hidden email]> wrote:
<br>> Mark,
<br>>
<br>> Thanks for your feedback and review of the proposed solution and raising
</div>of
<br>> the issues. Much appreciated.
<br>>
<br>> The problem I am trying to address is a specific one which I then tried
<br>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
<br>the
<br>> rule files when the spreadsheet gets changed. I assume it would be best
<br>to
<div class='shrinkable-quote'><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>> +[hidden email]> wrote on 11/02/2010 05:00:34 p.m.:
<br>>
<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>> >
<br>> > Last hudson was fiinally blue:
<br>> > <a href="https://hudson.jboss.org/hudson/job/drools/" target="_top" rel="nofollow" link="external">https://hudson.jboss.org/hudson/job/drools/</a><br>> >
<br>> > Btw I did reveiw your initial proposal, there where some things I think
</div><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><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
<br>rebuilding.
<div class='shrinkable-quote'><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
<br>> but
<br>> > > have an issue with drools-vsm module.
<br>> > >
<br>> > > I have added a method to the KnowledgeBuilderFactoryService
</div>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
<br>issue
<br>> (it
<br>> > > appears my snapshot version of the api, core and compiler modules are
<br><div class='shrinkable-quote'><br>> not
<br>>
<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>> > > and notify the sender or [hidden email] as
<br>> > > 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>> > > [hidden email]
<br>> > > <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>> > >
<br>> > >
<br>> >
<br>> > _______________________________________________
<br>> > rules-dev mailing list
<br>> > [hidden email]
<br>> > <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>> >
<br>>
<br>> > 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>> > tp199452p199482.html
<br>> > To start a new topic under Drools - Dev, email ml-node
<br>> > +[hidden email]
<br>> > 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 [hidden email] as
<br>> soon as possible. The content of this email does not necessarily
<br>> reflect the views of Solnet Solutions Ltd.
<br>>
<br>>
</div><br>> View this message in context: Re: Drools VSM Module - Build Issue
<br>> Sent from the Drools - Dev mailing list archive at Nabble.com.
<br>>
<br>> _______________________________________________
<br>> rules-dev mailing list
<br>> [hidden email]
<br>> <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>>
<br>>
<br>>
<br>> --
<br>> Michael D Neale
<br>> home: www.michaelneale.net
<br>> blog: michaelneale.blogspot.com
<br>>
<br>>
<br>> _______________________________________________
<br>> rules-dev mailing list
<br>> [hidden email]
<br>> <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>>
<br>>
<br>>
<br>> _______________________________________________
<br>> rules-dev mailing list
<br>> [hidden email]
<br>> <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><br>> 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>> tp199452p207372.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=214510&i=1" target="_top" rel="nofollow">[hidden email]</a>
<br>> 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>