TBH, I don't understand what it is you are having problems with: this thread seems to have gone full-circle.
As Esteban states, to share a model in multiple Guvnor packages you need to:
1) Create a model in the Global Area
2) Create a mode in the individual package (choosing to import from Global Area)
The model can be either POJO or Declarative (as long as they are consistent across Global Area and packages).
Regarding your KnowledgeBuilder problem. Do the packages build in Guvnor?
I have made following:
My problem is that i can't add the classes I want to use in my package.
In Guvnor you have to create a Model also in your specific packages and
select "import from global area". Then you have to go to the configuration
of the package and add the classes you want to use in your package.
And than I tried to resolve the problem by deleting the imported declarative
model from the package and deleting the declarative model, I can't create a
declarative model in global area without creating automatically the same
declarative model in the package I want to import it.
Any advices? Thanks a lot
--
View this message in context: http://drools.46999.n3.nabble.com/How-to-make-available-declarative-model-to-all-packages-tp3605644p4018875.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users