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 org.drools.guvnor.client.common.AssetFormats -change org.drools.guvnor.client.common.AssetFormats.convertAssetFormatToResourceType(..) -register content handler in contenthandler.properties -minor chnages in org.drools.guvnor.server.contenthandler.drools. BPMN2ProcessHandler.storeAssetContent(..) And that is it! :) This will only affect package builder. Assets will still appear under "Other assets" category when listing all package assets. I haven't explored how to change this. Also it is useful to register default editor for your assets (in this case that would be BPMN2 editor) in asseteditors.xml. -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-support-for-custom-file-extensions-tp3970683p4004788.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