deployit - Always deploy artifact of file.File type -


deployit has file.file tag (http://docs.xebialabs.com/releases/3.9/deployit/filepluginmanual.html) has checksum attribute. in our deploy manifest file have provided checksum value. when deploying file, deployit deployed first time. on next deployment skipped deploying file, believe doing because checksum not updated.

<file.file name="create file" file="xyz.jar">   <tags>     <value>domainserver</value>   </tags>   <scanplaceholders>false</scanplaceholders>   <checksum>45466d0181c11f06f266802bde5416c4df2532</checksum>   <targetpath>/dataupload/</targetpath>   <createtargetpath>true</createtargetpath>   <targetfilename>abc.jar</targetfilename> </file.file> 

we deploy file when changes , hence need update checksum in deployit manifest file not desirable.

what our best option?

  1. write program calculate checksum , update manifest file? if so, there ant script can this?
  2. always deploy (less desirable option)
  3. any better option deployit deploys when file has changed?

if leave checksum empty in manifest file, deployit calculate itself, relieving of burden of needing calculate , update it. correctly detect whether file has been changed. see documentation


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -