<?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 Problem with escape characters using 'generate a unit test' in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127561#M89733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings. I have recently begun to dig into Activiti, and so this is my first post in these forums.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While trying the designer - Eclipse Kepler (JEE Edition), designer plugin 5.12 -, I generated a couple of simple diagrams. When I used the Activiti command to generate a unit test, the resulting Java code creates &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;private String filename = "route"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that the generated route is taken directly as a windows route, and in Java that causes escape character problems:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;private String filename = "D:\activitiDesignerWS\Activiti learning\src\main\resources\diagrams\SimpleProcess.bpmn";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I fix it manually by doubling the slashes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;private String filename = "D:\\activitiDesignerWS\\Activiti learning\\src\\main\\resources\\diagrams\\SimpleProcess.bpmn";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I'd like to know if there's a way to prevent this behavior, since if we adopt Activiti in my company, our analysts using the designer will probably have not the technical background to perform this kind of operation. Should I install the plugin in an earlier version of Eclipse?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2013 14:24:16 GMT</pubDate>
    <dc:creator>rittmann</dc:creator>
    <dc:date>2013-07-18T14:24:16Z</dc:date>
    <item>
      <title>Problem with escape characters using 'generate a unit test'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127561#M89733</link>
      <description>Greetings. I have recently begun to dig into Activiti, and so this is my first post in these forums.While trying the designer - Eclipse Kepler (JEE Edition), designer plugin 5.12 -, I generated a couple of simple diagrams. When I used the Activiti command to generate a unit test, the resulting Java</description>
      <pubDate>Thu, 18 Jul 2013 14:24:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127561#M89733</guid>
      <dc:creator>rittmann</dc:creator>
      <dc:date>2013-07-18T14:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with escape characters using 'generate a unit test'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127562#M89734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually, this issue has been in de Designer plugin for a very long time, so downgrading will not help you, I'm afraid. The unit test style generated by that action is also rather outdated, so it seems time we upgrade that. Please file a jira issue for us to address this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mind you, are your analysts going to be doing any kind of work with the unit tests? All that's generated is a starter for a unit test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, please note that we don't actually support Kepler at this point, so you might run into issues.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 18:13:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127562#M89734</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2013-07-18T18:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with escape characters using 'generate a unit test'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127563#M89735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;… or don't use windows &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 06:29:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127563#M89735</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-19T06:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with escape characters using 'generate a unit test'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127564#M89736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I filed the issue in Jira. And I'll keep in mind the lack of support for Kepler, I'll probably re-build the environment with Juno.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the analysts, I can't say at this point. I am the responsible for discovering Activiti's functionality and establish how to work with it, and I know that at some point, analysts will want to test their models before committing them to the database. If there is any way to do such a thing without having to go through the unit tests, that will be how they will be doing it definitely. Actually, we've spotted that KIS BPM claims to be able to test and simulate, so probably I'll ask later info about that product.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 06:40:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127564#M89736</guid>
      <dc:creator>rittmann</dc:creator>
      <dc:date>2013-07-19T06:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with escape characters using 'generate a unit test'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127565#M89737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt;&amp;gt; … or don't use windows&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hehehe… That is not my choice, unfortunately.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 06:40:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-escape-characters-using-generate-a-unit-test/m-p/127565#M89737</guid>
      <dc:creator>rittmann</dc:creator>
      <dc:date>2013-07-19T06:40:50Z</dc:date>
    </item>
  </channel>
</rss>

