[rules-dev] Drools VSM Module - Build Issue

Mark Proctor mproctor at codehaus.org
Sun Feb 14 17:59:12 EST 2010


On 14/02/2010 22:47, Michael Neale wrote:
> Having it generate a change set pointing to each drl file sounds 
> reasonable.
I was thinking of having a resource type that allowed inline code, which 
would  help with code generation stuff.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20100214/3b7faa8f/attachment-0001.html 


More information about the rules-dev mailing list