Skip to content

Instantly share code, notes, and snippets.

@sobi3ch
Last active December 27, 2015 01:59
Show Gist options
  • Save sobi3ch/7249048 to your computer and use it in GitHub Desktop.
Save sobi3ch/7249048 to your computer and use it in GitHub Desktop.
Phing: Potential error in attribute 'options' in filesync task. Always adding 'v' (verbose) on the end of options line whatever you put in options. 'verbose' options can be turn but I think that's not a solution. Below target will produce following command: [filesync] /usr/bin/rsync -av --exclude=sites/default/settings.phpv "/var/www/drupal/drup…
<?xml version="1.0" encoding="UTF-8"?>
<project name="TCS intranet" default="build" basedir="." description="a demo project">
<property name="project.name" value="intranet.childrenssociety.org.uk" />
<property name="rsync.sourcedir" value="/var/www/drupal/drupal-7.x/" />
<property name="rsync.destinationdir" value="/var/www/drupal/jenkins-drupal7/live" />
<target name="update-code" >
<filesync
sourcedir="${rsync.sourcedir}"
destinationdir="${rsync.destinationdir}"
options="-av --exclude=sites/default/settings.php" />
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment