<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Custom Export Marshaller in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-export-marshaller/m-p/81456#M54485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to write a custom Export Marshaller following the user guide to see how it works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Created new Eclipse Plug-in project&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Added the extension point to my plugins.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Subclassed AbstractExportMarshaller&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Exported the plugin with the "install"-Method&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The plugin seems to be deployed, since i get asked if i want to install unsigned content and i have to restart eclipse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I created a new project and modelled a diagram. Then I saved the diagram. .activiti, .bpmn20.xml and .png files are generated but not my file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Checked the eclipse properties section to enable the select the appropriate save-options. Under additional formats, I can't select ".myFormat", it isn't an option there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody hints about what I'm doing wrong, or what I'm missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;?eclipse version="3.7"?&amp;gt;&lt;BR /&gt;&amp;lt;plugin&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;extension&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;point="org.activiti.designer.eclipse.extension.export.ExportMarshaller"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ExportMarshaller class="my.company.MyExportMarshaller"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ExportMarshaller&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/extension&amp;gt;&lt;BR /&gt;&amp;lt;/plugin&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Since my marshallDiagram() method starts like this, and the problem is not displayed in the problem view, i think, it's not called at all:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;@Override&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public void marshallDiagram(Diagram diagram, IProgressMonitor monitor) {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.monitor = monitor;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.diagram = diagram;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Clear problems for this diagram first&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;clearMarkers(getResource(diagram.eResource().getURI()));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;addProblemToDiagram(diagram, "Start Export", null);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;michael&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. I'm sing Eclipse Indigo and Activiti Designer 5.8&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2012 16:05:25 GMT</pubDate>
    <dc:creator>gant</dc:creator>
    <dc:date>2012-03-23T16:05:25Z</dc:date>
    <item>
      <title>Custom Export Marshaller</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-export-marshaller/m-p/81456#M54485</link>
      <description>Hi,I tried to write a custom Export Marshaller following the user guide to see how it works:1. Created new Eclipse Plug-in project2. Added the extension point to my plugins.xml3. Subclassed AbstractExportMarshaller4. Exported the plugin with the "install"-MethodThe plugin seems to be deployed, since</description>
      <pubDate>Fri, 23 Mar 2012 16:05:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-export-marshaller/m-p/81456#M54485</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2012-03-23T16:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Export Marshaller</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-export-marshaller/m-p/81457#M54486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;gant,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;looks like you have the most important parts setup correctly. The easiest way to check whether your Marshaller is detected is to debug the method org.activiti.designer.eclipse.util.ExtensionPointUtil.getActiveExportMarshallers() and then perform a save to trigger the breakpoint. If your Marshaller is not in the list of detected ones, you probably have either some config wrong or the bundle isn't actually active or something. Since it's not in the preferences either, that's likely the case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Mar 2012 10:01:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-export-marshaller/m-p/81457#M54486</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2012-03-24T10:01:56Z</dc:date>
    </item>
  </channel>
</rss>

