<?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 Possible problem with plugin auto discovery? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/possible-problem-with-plugin-auto-discovery/m-p/74346#M48684</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; in an attempt to familiarize myself with cycle, I’ve generated the attached jar which is a single class that should give a custom representation of a Signavio model (as can be seen from the source it has the CycleComponent annotation and it extends SignavioContentRepresentationProvider). I’ve put this class under WEB-INF/lib of the activity-rest webapp (activiti 5.4 demo install). Here is the behavior I’m seeing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The CycleComponentFactory finds the plugin, as can be seen by this entry in the log file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[size=85]&lt;/SPAN&gt;&lt;STRONG&gt;14-apr-2011 10.18.42 org.activiti.cycle.CycleComponentFactory registerComponent&lt;BR /&gt;INFO: Registered component&amp;nbsp; com.foo.TestRepresentation{context: APPLICATION, class: com.foo.TestRepresentation, types: [interface org.activiti.cycle.ContentRepresentation]}&lt;/STRONG&gt;&lt;SPAN&gt;[/size]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I don’t see the Representation Tab for my plugin when I select the EasyBugFilingProcess artifact in the cycle application – I do see all of the other tabs, and in fact when I look at the JSON returned by the request&amp;nbsp; to &lt;/SPAN&gt;&lt;SPAN style="color:#0040FF;"&gt;localhost:8080/activiti-cycle/proxy/activiti-rest-endpoint/artifact?connectorId=Activiti&amp;amp;nodeId…….&lt;/SPAN&gt;&lt;SPAN&gt; , my plugin is missing from the list of available representations:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;[size=85]:&lt;BR /&gt;:&lt;BR /&gt;"contentRepresentations": [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "PNG"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Developer Friendly BPMN 2.0"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Raw BPMN 2.0"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "JSON"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SvgApi"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; ],&lt;BR /&gt;:&lt;BR /&gt;:[/size]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I’ve tried the Camunda plugin for jPDL round tripping on the same demo install (putting the three jar files in the same WEB-INF/lib location) and that works fine (I get the tabs for jPDL and jPDL Warnings).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What have I missed in my plugin?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dara&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2011 08:48:54 GMT</pubDate>
    <dc:creator>daramcguinness</dc:creator>
    <dc:date>2011-04-14T08:48:54Z</dc:date>
    <item>
      <title>Possible problem with plugin auto discovery?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/possible-problem-with-plugin-auto-discovery/m-p/74346#M48684</link>
      <description>Hi, in an attempt to familiarize myself with cycle, I’ve generated the attached jar which is a single class that should give a custom representation of a Signavio model (as can be seen from the source it has the CycleComponent annotation and it extends SignavioContentRepresentationProvider). I’ve pu</description>
      <pubDate>Thu, 14 Apr 2011 08:48:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/possible-problem-with-plugin-auto-discovery/m-p/74346#M48684</guid>
      <dc:creator>daramcguinness</dc:creator>
      <dc:date>2011-04-14T08:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Possible problem with plugin auto discovery?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/possible-problem-with-plugin-auto-discovery/m-p/74347#M48685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dara.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the code, I will try to test that locally. Unfortunately I am traveling this week, but I hope I find some time asap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 12:51:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/possible-problem-with-plugin-auto-discovery/m-p/74347#M48685</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-04-14T12:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Possible problem with plugin auto discovery?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/possible-problem-with-plugin-auto-discovery/m-p/74348#M48686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dara.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is, that we don't support ArtifactTypes hierachies correctly at the moment. So to get your Representation to be shown on the GUI tell it to be for a SignavioBpmn20Model directly, not a DefaultSignavioModel:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; public RepositoryArtifactType getRepositoryArtifactType() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; return CycleApplicationContext.get(SignavioBpmn20ArtifactType.class);&lt;BR /&gt; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 08:38:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/possible-problem-with-plugin-auto-discovery/m-p/74348#M48686</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2011-04-15T08:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Possible problem with plugin auto discovery?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/possible-problem-with-plugin-auto-discovery/m-p/74349#M48687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bernd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; that works fine!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;many thanks for your time,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dara&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 09:51:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/possible-problem-with-plugin-auto-discovery/m-p/74349#M48687</guid>
      <dc:creator>daramcguinness</dc:creator>
      <dc:date>2011-04-15T09:51:25Z</dc:date>
    </item>
  </channel>
</rss>

