Re: [rules-users] Data Model Dependencies in Guvnor

2012-09-14 Thread dme1
Got it. Thanks. -- View this message in context: http://drools.46999.n3.nabble.com/Data-Model-Dependencies-in-Guvnor-tp4019750p4019792.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@l

Re: [rules-users] Data Model Dependencies in Guvnor

2012-09-14 Thread Stephen Masters
I think this is the only option: Upload the model into the global area, then within each package, you can create a new model and instead of uploading you can "Import from Global". Although this is duplication rather than dependency, and you need to copy into each of your packages every time the

Re: [rules-users] Data Model Dependencies in Guvnor

2012-09-14 Thread dme1
Thanks Stephen for the detailed explanation. I agree that its not a good option to add the dependency to the Server lib, and I also do not want to mix up facts between my Java project and Drools, for various reasons. One other related question though, is there a way in Guvnor to specify dependency

Re: [rules-users] Data Model Dependencies in Guvnor

2012-09-14 Thread Stephen Masters
As with any Java app, a Jar's dependencies need to be on the classpath. Uploading a POJO model to Guvnor doesn't put it on the class path, so it needs to encapsulate all its dependencies. I would recommend setting your build up so that it produces both POJO models (assuming you actually need bo

[rules-users] Data Model Dependencies in Guvnor

2012-09-13 Thread dme1
Hi, I have created 2 projects in Eclipse - the first one is the Base Project with the Model defined for this as BaseModel.jar. The send one is the Extension Project which inherits the BaseModel and extends it, this Model is called ExtendedModel.jar. In Eclipse I can set the dependency on BaseMode