Thanks for that. I have had some success with this approach. Is it possible to actually upload a file to Guvnor with these declarations? I can't see any way to do this.
It would be impractical to enter each model entity one at a time through the Guvnor GUI. manstis wrote: > > The "declare" keyword is used to declaratively define a model rather than > use a JAR file containing the same. > > It is documented in Experts' documentation "4.7 Type Declaration". > > With kind regards, > > Mike > > On 29 April 2011 08:25, azahra <[email protected]> wrote: > >> I am trying to use Guvnor with an existing model. I am having class >> dependency issues even though I have created a jar with dependencies. >> >> I noticed that the demo package seems to have its model declared in some >> non-java way like so: >> declare LoanApplication >> amount: Integer >> approved: Boolean >> ... >> end >> >> Is the use of this format discussed somewhere? >> >> Are there any other alternatives to building a jar with full >> dependencies?-- >> View this message in context: >> http://drools.46999.n3.nabble.com/Format-of-model-for-guvnor-tp2878374p2878374.html >> Sent from the Drools: User forum mailing list archive at Nabble.com. >> _______________________________________________ >> rules-users mailing list >> [email protected] >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > -- View this message in context: http://drools.46999.n3.nabble.com/Format-of-model-for-guvnor-tp2878374p2888867.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
