<?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 Creating own CustomServiceTask with PropertyItems annotation in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71814#M46565</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'm trying to create own shape in the Designer. I want to use PropertyItems annotation, but this gives me error: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;annotation org.activiti.designer.integration.servicetask.annotation.PropertyItems is missing &amp;lt;clinit&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that it is sun javac bug: fields initializers using "new" cause this bug when annotation class is in the classpath &lt;/SPAN&gt;&lt;A href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6857918" rel="nofollow noopener noreferrer"&gt;http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6857918&lt;/A&gt;&lt;SPAN&gt; while the same works in the eclipse compiler &lt;/SPAN&gt;&lt;A href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=324931" rel="nofollow noopener noreferrer"&gt;https://bugs.eclipse.org/bugs/show_bug.cgi?id=324931&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Of couse, there is static field with initializer in the PropertyItems annotation: &lt;/SPAN&gt;&lt;A href="http://svn.codehaus.org/activiti/projects/designer/trunk/org.activiti.designer.integration/src/main/java/org/activiti/designer/integration/servicetask/annotation/PropertyItems.java" rel="nofollow noopener noreferrer"&gt;http://svn.codehaus.org/activiti/projects/designer/trunk/org.activiti.designer.integration/src/main/java/org/activiti/designer/integration/servicetask/annotation/PropertyItems.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The easiest way to reproduce is downloading AcmeMoneyTask example and trying to compile it: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;svn checkout &lt;/SPAN&gt;&lt;A href="http://svn.codehaus.org/activiti/projects/designer/trunk/examples/" rel="nofollow noopener noreferrer"&gt;http://svn.codehaus.org/activiti/projects/designer/trunk/examples/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;cd examples/money-tasks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(optional if you use profile with repos) add &lt;/SPAN&gt;&lt;A href="http://maven.alfresco.com/nexus/content/repositories/activiti/" rel="nofollow noopener noreferrer"&gt;http://maven.alfresco.com/nexus/content/repositories/activiti/&lt;/A&gt;&lt;SPAN&gt; repo to pom.xml &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mvn compile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This gives me error: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] /path/to/files/examples/money-tasks/src/main/java/org/acme/servicetasks/AcmeMoneyTask.java:[85,2] annotation org.activiti.designer.integration.servicetask.annotation.PropertyItems is missing &amp;lt;clinit&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My environment: Ubuntu Linux 10.04, Sun Java 1.6.0_26, Maven 3.0.3 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice on this problem? Should I fill JIRA bug?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2011 11:05:15 GMT</pubDate>
    <dc:creator>marcin_lepicki</dc:creator>
    <dc:date>2011-10-28T11:05:15Z</dc:date>
    <item>
      <title>Creating own CustomServiceTask with PropertyItems annotation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71814#M46565</link>
      <description>Hi, I'm trying to create own shape in the Designer. I want to use PropertyItems annotation, but this gives me error: annotation org.activiti.designer.integration.servicetask.annotation.PropertyItems is missing &amp;lt;clinit&amp;gt;I think that it is sun javac bug: fields initializers using "new" cause this</description>
      <pubDate>Fri, 28 Oct 2011 11:05:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71814#M46565</guid>
      <dc:creator>marcin_lepicki</dc:creator>
      <dc:date>2011-10-28T11:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating own CustomServiceTask with PropertyItems annotation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71815#M46566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;marcin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;do you have the option to attempt with Java 7? That might yield different results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It does seem like you've run into the particular bug you mentioned. If that's the case, I doubt we will be able to solve it specifically for Designer. However, I'm willing to look into it to see whether this is the case if you create an issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 12:18:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71815#M46566</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2011-10-28T12:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating own CustomServiceTask with PropertyItems annotation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71816#M46567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tiese, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for quick reply! Yes, I also get this error on jdk1.7.0. I'll try to test it on windows&amp;amp;mac and then fill issue on JIRA.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 13:15:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71816#M46567</guid>
      <dc:creator>marcin_lepicki</dc:creator>
      <dc:date>2011-10-28T13:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating own CustomServiceTask with PropertyItems annotation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71817#M46568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i dont see this in jira. i am having the same issue. I go to the command line and do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mvn clean install&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and get: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project money-tasks: Compilation failure: Compilation failure:&lt;BR /&gt;[ERROR] \workspaces\money-tasks\src\main\java\org\acme\servicetasks\AcmeMoneyTask.java:[78,2] annotation org.activiti.designer.integration.servicetask.annotation.PropertyItems is missing &amp;lt;clinit&amp;gt;&lt;BR /&gt;[ERROR] \workspaces\money-tasks\src\main\java\org\acme\servicetasks\AcmeMoneyTask.java:[85,2] annotation org.activiti.designer.integration.servicetask.annotation.PropertyItems is missing &amp;lt;clinit&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have maven 3.0.3 and jdk 1.6.0_26&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also tried with 1.6.0_27…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 23:03:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71817#M46568</guid>
      <dc:creator>msandoz</dc:creator>
      <dc:date>2011-11-30T23:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating own CustomServiceTask with PropertyItems annotation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71818#M46569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;when I remove this from the PropertyItems annotation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;nbsp; public static final String[] DEFAULT_VALUE = new String[] {}; &lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;everything builds fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may be related to this bug:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6857918" rel="nofollow noopener noreferrer"&gt;http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6857918&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;javac cannot handle fields in @interface: will generate "is missing &amp;lt;clinit&amp;gt;".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will raise this as a jira ticket.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 00:33:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71818#M46569</guid>
      <dc:creator>msandoz</dc:creator>
      <dc:date>2011-12-01T00:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating own CustomServiceTask with PropertyItems annotation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71819#M46570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is already a Jira ticket for this, so there's no need. It looks like the same problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 08:05:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71819#M46570</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2011-12-01T08:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating own CustomServiceTask with PropertyItems annotation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71820#M46571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sorry - i did create one - &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1010" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1010&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if its a duplicate please feel free to close! while it shows up in activiti code, it looks like a java issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 12:12:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71820#M46571</guid>
      <dc:creator>msandoz</dc:creator>
      <dc:date>2011-12-01T12:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating own CustomServiceTask with PropertyItems annotation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71821#M46572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry. I thought the OP had created an issue for this, but it seems that's not the case. So your issue is not a duplicate.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 12:37:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-own-customservicetask-with-propertyitems-annotation/m-p/71821#M46572</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2011-12-01T12:37:58Z</dc:date>
    </item>
  </channel>
</rss>

