<?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 SpringProcessEngineConfiguration - autodeploy in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67797#M43357</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;Is there a built in way to auto-deploy bpmn resources only if there has been a change in the bmn20.xml file? Setting the deploymentResources property of the SpringProcessEngineConfiguration bean seems to deploy everytime the spring container is started.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;br&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Christoph&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2011 06:09:28 GMT</pubDate>
    <dc:creator>chris889</dc:creator>
    <dc:date>2011-05-17T06:09:28Z</dc:date>
    <item>
      <title>SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67797#M43357</link>
      <description>Hi,Is there a built in way to auto-deploy bpmn resources only if there has been a change in the bmn20.xml file? Setting the deploymentResources property of the SpringProcessEngineConfiguration bean seems to deploy everytime the spring container is started.brChristoph</description>
      <pubDate>Tue, 17 May 2011 06:09:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67797#M43357</guid>
      <dc:creator>chris889</dc:creator>
      <dc:date>2011-05-17T06:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67798#M43358</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;No, there's no feature built-in yet to listen for changes in the bpmn20.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could however do this with the Camel or Mule ESB integration. Or implement a file listener yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 07:51:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67798#M43358</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-05-17T07:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67799#M43359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick reply. I just wrote my own deployer bean, you can find it here for reference: &lt;/SPAN&gt;&lt;A href="http://pastebin.com/JU4J0rCr" rel="nofollow noopener noreferrer"&gt;http://pastebin.com/JU4J0rCr&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 08:02:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67799#M43359</guid>
      <dc:creator>chris889</dc:creator>
      <dc:date>2011-05-17T08:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67800#M43360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay great!,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 09:19:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67800#M43360</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-05-17T09:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67801#M43361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Isnt deploymentResources supposed to take care of this ? Every time I run it keep deploying again. As per the documentation&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Spring integration also has a special feature for deploying resources. In the process engine configuration, you can specify a set of resources. When the process engine is created, all those resources will be scanned and deployed. There is filtering in place that prevents duplicate deployments. Only when the resources actually have changed, will new deployments be deployed to the Activiti DB. This makes sense in a lot of use case, where the Spring container is rebooted often (eg testing).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;it shouldnt be deploying it again. Am I missing something ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 13:03:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67801#M43361</guid>
      <dc:creator>frankee787</dc:creator>
      <dc:date>2011-08-10T13:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67802#M43362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The check is done&amp;nbsp; compring the xml bpmn 2.0 files with each other.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only when something has changed it such a file, the processes are redeployed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 09:43:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67802#M43362</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-08-11T09:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67803#M43363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to clarify my understanding.So if I were to re-run my test cases would it keep deploying a new version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For eg:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lets say I run my test at &lt;/SPAN&gt;&lt;STRONG&gt;10:00&lt;/STRONG&gt;&lt;SPAN&gt; for the first time. Now the xml bpmn 2.0 has timestamp of &lt;/SPAN&gt;&lt;STRONG&gt;10:00&lt;/STRONG&gt;&lt;SPAN&gt; in the file system. Hence it will be deployed and will be registered as a new version in the Activit DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lets say now I run my test at &lt;/SPAN&gt;&lt;STRONG&gt;10:05&lt;/STRONG&gt;&lt;SPAN&gt; for the second time. Now the xml bpmn 2.0 has still timestamp of &lt;/SPAN&gt;&lt;STRONG&gt;10:00&lt;/STRONG&gt;&lt;SPAN&gt; in the file system. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will it be re-deployed now ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Franklin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 09:54:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67803#M43363</guid>
      <dc:creator>frankee787</dc:creator>
      <dc:date>2011-08-11T09:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67804#M43364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It compares based on the content of the file (the inputStream sent to the DB) not the actual file-metadata.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 13:51:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67804#M43364</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-11T13:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67805#M43365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the clarification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, each time I bootstrap the spring context the a new version is being deployed in the Activit DB. I am sure, neither the metadata nor the content of the file is changing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still the process is being redeployed. Any one got this working ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Franklin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 17:08:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67805#M43365</guid>
      <dc:creator>frankee787</dc:creator>
      <dc:date>2011-08-11T17:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67806#M43366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a bug in this feature. See (and vote for): &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-736" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-736&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 18:21:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67806#M43366</guid>
      <dc:creator>st_patriick</dc:creator>
      <dc:date>2011-08-11T18:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67807#M43367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm…thats pretty disappointing.&amp;nbsp; Does it really fail only in Oracle? Cause mine is MySQL&amp;nbsp; and still it fails.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 20:03:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67807#M43367</guid>
      <dc:creator>frankee787</dc:creator>
      <dc:date>2011-08-11T20:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67808#M43368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for the quick reply. I just wrote my own deployer bean, you can find it here for reference: &lt;A href="http://pastebin.com/JU4J0rCr" rel="nofollow noopener noreferrer"&gt;http://pastebin.com/JU4J0rCr&lt;/A&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;How are you instantiating the bean in spring context?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Franklin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 07:35:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67808#M43368</guid>
      <dc:creator>frankee787</dc:creator>
      <dc:date>2011-10-17T07:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67809#M43369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I just reference it in my spring applicationcontext.xml configuration file (i.e. &amp;lt;bean class="org.this.is.my.namespace.WorkflowDeployer"/&amp;gt;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 07:39:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67809#M43369</guid>
      <dc:creator>chris889</dc:creator>
      <dc:date>2011-10-17T07:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67810#M43370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For me it gives an error as follows&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt;[2011-10-17 11:14:33,062] org.springframework.web.context.ContextLoader - Context initialization failed&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workflowDeployer' defined in file [C:\ApacheTomcat\apache-tomcat-6.0.28\webapps\WEB-INF\classes\activiti.cfg.xml]: Invocation of init method failed; nested exception is org.springframework.beans.FatalBeanException: Missing property: category&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 08:01:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67810#M43370</guid>
      <dc:creator>frankee787</dc:creator>
      <dc:date>2011-10-17T08:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67811#M43371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this feature still broken? Spring "deploymentResources"&amp;nbsp; setting results in a new deployment in the Activiti tables each time the app is restarted. &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-736" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-736&lt;/A&gt;&lt;SPAN&gt; is marked fixed in Activiti Engine 5.9 in Feb 2012. Which version of Activiti does this correspond to? I'm using v5.12.1 and I'm facing the same issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sanjiv&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 14:36:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67811#M43371</guid>
      <dc:creator>sanjiv</dc:creator>
      <dc:date>2013-07-12T14:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: SpringProcessEngineConfiguration - autodeploy</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67812#M43372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have a test for this: org.activiti.spring.test.autodeployment.SpringAutoDeployTest.testNoRedeploymentForSpringContainerRestart, which runs green on our QA (against H2).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt; public void testNoRedeploymentForSpringContainerRestart() throws Exception {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; createAppContext(CTX_PATH);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DeploymentQuery deploymentQuery = repositoryService.createDeploymentQuery();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals(1, deploymentQuery.count());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessDefinitionQuery processDefinitionQuery = repositoryService.createProcessDefinitionQuery();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals(3, processDefinitionQuery.count());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Creating a new app context with same resources doesn't lead to more deployments&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; new ClassPathXmlApplicationContext(CTX_NO_DROP_PATH);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals(1, deploymentQuery.count());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals(3, processDefinitionQuery.count());&lt;BR /&gt;&amp;nbsp; }&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Actual code that checks the duplicates:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;if ( deploymentBuilder.isDuplicateFilterEnabled() ) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DeploymentEntity existingDeployment = Context&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .getCommandContext()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .getDeploymentEntityManager()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .findLatestDeploymentByName(deployment.getName());&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; if ( (existingDeployment!=null)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;amp; !deploymentsDiffer(deployment, existingDeployment)) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return existingDeployment;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Deployment is looked up by name (in this case, SpringAutoDeployment) and all non-generated resources are checked to see if they differ (byte-level). If they differ, a new deployment is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What DB are you on? only thing I can think of is that the bytes returned from the database are a bit different than the bytes from the actual files on the hard disk (maybe encoding?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 10:43:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/springprocessengineconfiguration-autodeploy/m-p/67812#M43372</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-17T10:43:00Z</dc:date>
    </item>
  </channel>
</rss>

