cancel
Showing results for 
Search instead for 
Did you mean: 

Command not executing in Deployment

junderwood
Champ in-the-making
Champ in-the-making
Running Version: Labs - v3.2.0 (_Preview2_dev 1810) on Windows

The Deployment says successful but the bat file I have is not getting executed.  It is there and will execute fine on it's own.  Not getting any error messages in the log file.

Has anyone else run into this or is there something I am missing?

Thanks in advance for any help….

Code snippets from application-context:

<bean id="DevFTPDeploy" class="org.alfresco.deployment.ProgramRunnable">
           <property name="program"><value>test.bat</value></property>
            <!– The directory that the program runs in. –>
            <property name="directory"><value>C:\Alfresco\deployment\dev-aviall.com\app1-dev-1</value></property>
   </bean>

<entry key="runnables">
            <list>
               <ref bean="DevFTPDeploy"/>
            </list>
         </entry>
1 REPLY 1

mrogers
Star Contributor
Star Contributor
That does not look like 3.2 deployment configuration.

You should inject your DevFTPDeploy bean into the postCommit property of your target.

http://wiki.alfresco.com/wiki/File_System_Deployment_Target