Re: [rules-users] Guvnor - support for custom file extensions

2012-05-21 Thread anchi
Just a feedback if somebody will need to add custom extensions. This was our requirement: We have custom extensions for BPMN2 diagrams and we needed Guvnor to include our diagrams when building a package. There were just a few small changes required to achieve it: -registering extensions in

Re: [rules-users] Guvnor - support for custom file extensions

2012-05-14 Thread anchi
Nobody? -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-support-for-custom-file-extensions-tp3970683p3985342.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list

Re: [rules-users] Guvnor - support for custom file extensions

2012-05-14 Thread Michael Anstis
Ordinarily you'll also need to look at contenthandler.properties and creating your own ContentHandler implementation. These define a class that can handle your additional type (serializing to and de-serializing from whatever internal storage representation you want). asseteditors.xml should also

Re: [rules-users] Guvnor - support for custom file extensions

2012-05-14 Thread anchi
Thank you very much, I'll take a look at this! -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-support-for-custom-file-extensions-tp3970683p3985455.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

[rules-users] Guvnor - support for custom file extensions

2012-05-08 Thread anchi
Hi! I need to extend Guvnor to support custom file extensions for BPMN processes. So instead of using /.bpmn/ or /.bpmn2/ we need to use our own file extensions. At the moment Guvnor just assumes them the to be /Other assets/ and ignores them when building a package. I plan to change Guvnor