I'm having a problem with the force='true' directive over SSHFS. At first I 
thought it was just being ignored but I think the bug is more subtle than that. 
Based on the error it may even be a race condition.
 
I have attached an example build file that demonstrates the error, basically 
every other run, it will fail with a FileNotFound exception (Permission Denied)
 
Basically the folder structure (which ant creates in init), is as follows:
 
build.xml
localdest (A local destination to deploy to)
remotedest (A remote FUSE mounted place to deploy to)
src (the source files to deploy)
target (The actual target of remotedest)
 
i.e. here is the output of mount:
 
sjr@localhost:/home/sjr/anttest/target on /home/sjr/anttest/remotedest type 
fuse.sshfs (rw,nosuid,nodev,max_read=65536,user=sjr)
 
 
Attached find the output of antdiag.txt, as well as a debug run of both the 
success and the fail runs.
 
 
Subsequent runs of ant follow these two patterns:
 
 
 
[13:47:44] sjr@hilbert:~/anttest$ant
Unable to locate tools.jar. Expected to find it in 
/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
Buildfile: /home/sjr/anttest/build.xml
 
init:
     [echo] Mount Dir
     [exec] total 12
     [exec] 4 drwxrwxr-x 1 sjr sjr 4096 Jun 23 13:47 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [exec] 4 -r--r--r-- 1 sjr sjr   16 Jun 23 13:47 testfile
     [echo] Dest Dir
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:47 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:47 testfile
     [echo] Target Dir
     [exec] total 12
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:47 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [exec] 4 -r--r--r-- 1 sjr sjr   16 Jun 23 13:47 testfile
 
local:
     [copy] Copying 1 file to /home/sjr/anttest/localdest
 
remote:
     [copy] Copying 1 file to /home/sjr/anttest/remotedest
 
BUILD FAILED
/home/sjr/anttest/build.xml:51: Failed to copy /home/sjr/anttest/src/testfile 
to /home/sjr/anttest/remotedest/testfile due to java.io.FileNotFoundException 
/home/sjr/anttest/remotedest/testfile (Permission denied)
 
Total time: 1 second
[13:47:50] sjr@hilbert:~/anttest$ant
Unable to locate tools.jar. Expected to find it in 
/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
Buildfile: /home/sjr/anttest/build.xml
 
init:
     [echo] Mount Dir
     [exec] total 8
     [exec] 4 drwxrwxr-x 1 sjr sjr 4096 Jun 23 13:47 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [echo] Dest Dir
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:47 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:47 testfile
     [echo] Target Dir
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:47 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
 
local:
     [copy] Copying 1 file to /home/sjr/anttest/localdest
 
remote:
     [copy] Copying 1 file to /home/sjr/anttest/remotedest
 
all:
     [echo] Mount Dir
     [exec] total 8
     [exec] 4 drwxrwxr-x 1 sjr sjr 4096 Jun 23 13:49 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:49 testfile
     [echo] Dest Dir
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:49 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:49 testfile
     [echo] Target Dir
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:49 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:49 testfile
 
BUILD SUCCESSFUL
Total time: 3 seconds
[13:49:18] sjr@hilbert:~/anttest$ant
Unable to locate tools.jar. Expected to find it in 
/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
Buildfile: /home/sjr/anttest/build.xml
 
init:
     [echo] Mount Dir
     [exec] total 8
     [exec] 4 drwxrwxr-x 1 sjr sjr 4096 Jun 23 13:49 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:49 testfile
     [echo] Dest Dir
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:49 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:49 testfile
     [echo] Target Dir
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:49 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:46 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:49 testfile
 
local:
     [copy] Copying 1 file to /home/sjr/anttest/localdest
 
remote:
     [copy] Copying 1 file to /home/sjr/anttest/remotedest
 
BUILD FAILED
/home/sjr/anttest/build.xml:51: Failed to copy /home/sjr/anttest/src/testfile 
to /home/sjr/anttest/remotedest/testfile due to java.io.FileNotFoundException 
/home/sjr/anttest/remotedest/testfile (Permission denied)
 
Total time: 1 second
 

<?xml version="1.0"?>
<project name="SSHFS Fail" default="all">
	<description>
		Both jobs should pass, but the latter fails
	</description>
	<property name="main.dir" value="/home/sjr/anttest/"/>
	<property name="src.dir" value="${main.dir}/src"/>
	<property name="dest.dir" value="${main.dir}/localdest"/>
	<property name="mount.dir" value="${main.dir}/remotedest/"/>
	<property name="target.dir" value="${main.dir}/target/"/>
	
	<target name="init">
	  <mkdir dir="${src.dir}"/>
	  <mkdir dir="${dest.dir}"/>
	  
	  <mkdir dir="${target.dir}"/>
	  <touch file="${src.dir}/testfile"/>
	  <available file="${mount.dir}" property="mount.ready"/>
	    <fail unless="${mount.ready}" message="SSHFS Mount is not ready"/>
	      <echo>Mount Dir</echo>
	    <exec executable="ls">
	      <arg value="-asl"/>
		<arg value="${mount.dir}"/>
	    </exec>
	  <echo>Dest Dir</echo> 
	     <exec executable="ls">
	      <arg value="-asl"/>
		<arg value="${dest.dir}"/>
	    </exec>
	   
	    <echo>Target Dir</echo>
	    <exec executable="ls">
	      <arg value="-asl"/>
		<arg value="${target.dir}"/>
	    </exec>
	</target>
	
	<target name="local" depends="init">
			<copy todir="${dest.dir}" force="true">
				<fileset dir="${src.dir}">
					<include name="*"/>
				</fileset>
			</copy>
			<chmod perm="444">
			      <fileset dir="${dest.dir}">
				<include name="*"/>
			      </fileset>
			</chmod>
	</target>
	<target name="remote" depends="init">
			<copy todir="${mount.dir}" force="true">
				<fileset dir="${src.dir}">
					<include name="*"/>
				</fileset>
			</copy>
			<chmod perm="444">
			      <fileset dir="${mount.dir}">
				<include name="*"/>
			      </fileset>
			</chmod>
	</target>
	<target name="all" depends="local,remote">
	  <echo>Mount Dir</echo>
	    <exec executable="ls">
	      <arg value="-asl"/>
		<arg value="${mount.dir}"/>
	    </exec>
	  <echo>Dest Dir</echo> 
	     <exec executable="ls">
	      <arg value="-asl"/>
		<arg value="${dest.dir}"/>
	    </exec>
	   
	    <echo>Target Dir</echo>
	    <exec executable="ls">
	      <arg value="-asl"/>
		<arg value="${target.dir}"/>
	    </exec>
	  </target>
	
	
</project>
Unable to locate tools.jar. Expected to find it in 
/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
------- Ant diagnostics report -------
Apache Ant(TM) version 1.8.2 compiled on December 3 2011

-------------------------------------------
 Implementation Version
-------------------------------------------
core tasks     : 1.8.2 in file:/usr/share/ant/lib/ant.jar

-------------------------------------------
 ANT PROPERTIES
-------------------------------------------
ant.version: Apache Ant(TM) version 1.8.2 compiled on December 3 2011
ant.java.version: 1.7
Is this the Apache Harmony VM? no
Is this the Kaffe VM? no
Is this gij/gcj? no
ant.core.lib: /usr/share/ant/lib/ant.jar
ant.home: /usr/share/ant

-------------------------------------------
 ANT_HOME/lib jar listing
-------------------------------------------
ant.home: /usr/share/ant
ant-jmf.jar (6726 bytes)
ant-apache-resolver.jar (4073 bytes)
ant-testutil.jar (15199 bytes)
ant-commons-logging.jar (3913 bytes)
ant-junit4.jar (7125 bytes)
ant-apache-oro.jar (39625 bytes)
ant.jar (1935872 bytes)
ant-apache-regexp.jar (3765 bytes)
ant-javamail.jar (7962 bytes)
ant-commons-net.jar (85401 bytes)
ant-swing.jar (7545 bytes)
ant-jsch.jar (40228 bytes)
ant-junit.jar (102273 bytes)
ant-apache-log4j.jar (3048 bytes)
ant-apache-xalan2.jar (2295 bytes)
ant-jdepend.jar (8214 bytes)
ant-antlr.jar (5756 bytes)
ant-apache-bcel.jar (8767 bytes)
ant-launcher.jar (12293 bytes)
ant-apache-bsf.jar (3943 bytes)

-------------------------------------------
 USER_HOME/.ant/lib jar listing
-------------------------------------------
user.home: /home/sjr
No such directory.

-------------------------------------------
 Tasks availability
-------------------------------------------
image : Not Available (the implementation class is not present)
sshexec : Missing dependency com.jcraft.jsch.Logger
wlrun : Not Available (the implementation class is not present)
scp : Missing dependency com.jcraft.jsch.Logger
stlist : Not Available (the implementation class is not present)
sshsession : Missing dependency com.jcraft.jsch.Logger
netrexxc : Not Available (the implementation class is not present)
starteam : Not Available (the implementation class is not present)
stlabel : Not Available (the implementation class is not present)
jdepend : Missing dependency jdepend.xmlui.JDepend
stcheckin : Not Available (the implementation class is not present)
stcheckout : Not Available (the implementation class is not present)
ejbc : Not Available (the implementation class is not present)
gjdoc : Not Available (the implementation class is not present)
wlstop : Not Available (the implementation class is not present)
ddcreator : Not Available (the implementation class is not present)
A task being missing/unavailable should only matter if you are trying to use it

-------------------------------------------
 org.apache.env.Which diagnostics
-------------------------------------------
Not available.
Download it at http://xml.apache.org/commons/

-------------------------------------------
 XML Parser information
-------------------------------------------
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location: file:/usr/share/java/xercesImpl-2.11.0.jar
Namespace-aware parser : org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser
Namespace-aware parser Location: file:/usr/share/java/xercesImpl-2.11.0.jar

-------------------------------------------
 XSLT Processor information
-------------------------------------------
XSLT Processor : com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl
XSLT Processor Location: unknown

-------------------------------------------
 System properties
-------------------------------------------
java.runtime.name : OpenJDK Runtime Environment
sun.boot.library.path : /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
java.vm.version : 22.0-b10
ant.library.dir : /usr/share/ant/lib
java.vm.vendor : Oracle Corporation
java.vendor.url : http://java.oracle.com/
path.separator : :
java.vm.name : OpenJDK 64-Bit Server VM
file.encoding.pkg : sun.io
user.country : CA
sun.java.launcher : SUN_STANDARD
sun.os.patch.level : unknown
java.vm.specification.name : Java Virtual Machine Specification
user.dir : /home/sjr/anttest
java.runtime.version : 1.7.0_03-b147
java.awt.graphicsenv : sun.awt.X11GraphicsEnvironment
java.endorsed.dirs : /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/endorsed
os.arch : amd64
java.io.tmpdir : /tmp
line.separator : 

java.vm.specification.vendor : Oracle Corporation
os.name : Linux
ant.home : /usr/share/ant
sun.jnu.encoding : UTF-8
java.library.path : 
/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.specification.name : Java Platform API Specification
java.class.version : 51.0
sun.management.compiler : HotSpot 64-Bit Tiered Compilers
os.version : 3.2.0-25-generic
user.home : /home/sjr
user.timezone : America/Vancouver
java.awt.printerjob : sun.print.PSPrinterJob
file.encoding : UTF-8
java.specification.version : 1.7
user.name : sjr
java.class.path : 
/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-testutil.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ant-junit4.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant-commons-net.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-apache-xalan2.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-apache-bsf.jar
java.vm.specification.version : 1.7
sun.arch.data.model : 64
java.home : /usr/lib/jvm/java-7-openjdk-amd64/jre
sun.java.command : org.apache.tools.ant.launch.Launcher -cp  -diagnostics
java.specification.vendor : Oracle Corporation
user.language : en
awt.toolkit : sun.awt.X11.XToolkit
java.vm.info : mixed mode
java.version : 1.7.0_03
java.ext.dirs : 
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
sun.boot.class.path : 
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/netx.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/plugin.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes
java.vendor : Oracle Corporation
file.separator : /
java.vendor.url.bug : http://bugreport.sun.com/bugreport/
sun.cpu.endian : little
sun.io.unicode.encoding : UnicodeLittle
sun.cpu.isalist : 

-------------------------------------------
 Temp dir
-------------------------------------------
Temp dir is /tmp
Temp dir is writeable
Temp dir alignment with system clock is -345 ms

-------------------------------------------
 Locale information
-------------------------------------------
Timezone Pacific Standard Time offset=-25200000

-------------------------------------------
 Proxy information
-------------------------------------------
Java1.5+ proxy settings:
Direct connection


Unable to locate tools.jar. Expected to find it in 
/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
Trying the default build file: build.xml
Buildfile: /home/sjr/anttest/build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.7 in: /usr/lib/jvm/java-7-openjdk-amd64/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Setting ro project property: ant.file -> /home/sjr/anttest/build.xml
Setting ro project property: ant.file.type -> file
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile /home/sjr/anttest/build.xml with URI = 
file:/home/sjr/anttest/build.xml
Setting ro project property: ant.project.name -> SSHFS Fail
Adding reference: SSHFS Fail
Setting ro project property: ant.project.default-target -> all
Setting ro project property: ant.file.SSHFS Fail -> /home/sjr/anttest/build.xml
Setting ro project property: ant.file.type.SSHFS Fail -> file
Project base dir set to: /home/sjr/anttest
 +Target: 
 +Target: init
 +Target: local
 +Target: remote
 +Target: all
Adding reference: ant.LocalProperties
parsing buildfile 
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = 
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip 
file
Setting project property: main.dir -> /home/sjr/anttest/
Setting project property: src.dir -> /home/sjr/anttest//src
Setting project property: dest.dir -> /home/sjr/anttest//localdest
Setting project property: mount.dir -> /home/sjr/anttest//remotedest/
Setting project property: target.dir -> /home/sjr/anttest//target/
Setting ro project property: ant.project.invoked-targets -> all
Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `all' is [init, local, remote, all]
Complete build sequence is [init, local, remote, all, ]

init:
    [mkdir] Skipping /home/sjr/anttest/src because it already exists.
    [mkdir] Skipping /home/sjr/anttest/localdest because it already exists.
    [mkdir] Skipping /home/sjr/anttest/target because it already exists.
[available] Found: remotedest
Setting project property: mount.ready -> true
     [echo] Mount Dir
     [exec] Current OS is Linux
     [exec] Executing 'ls' with arguments:
     [exec] '-asl'
     [exec] '/home/sjr/anttest//remotedest/'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'ls' with arguments:
'-asl'
'/home/sjr/anttest//remotedest/'

The ' characters around the executable and arguments are
not part of the command.
     [exec] total 8
     [exec] 4 drwxrwxr-x 1 sjr sjr 4096 Jun 23 13:50 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:50 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:50 testfile
     [echo] Dest Dir
     [exec] Current OS is Linux
     [exec] Executing 'ls' with arguments:
     [exec] '-asl'
     [exec] '/home/sjr/anttest//localdest'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'ls' with arguments:
'-asl'
'/home/sjr/anttest//localdest'

The ' characters around the executable and arguments are
not part of the command.
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:50 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:50 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:50 testfile
     [echo] Target Dir
     [exec] Current OS is Linux
     [exec] Executing 'ls' with arguments:
     [exec] '-asl'
     [exec] '/home/sjr/anttest//target/'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'ls' with arguments:
'-asl'
'/home/sjr/anttest//target/'

The ' characters around the executable and arguments are
not part of the command.
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:50 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:50 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:50 testfile

local:
fileset: Setup scanner in dir /home/sjr/anttest/src with patternSet{ includes: 
[*] excludes: [] }
     [copy] testfile added as testfile is outdated.
     [copy] No sources found.
     [copy] Copying 1 file to /home/sjr/anttest/localdest
     [copy] Copying /home/sjr/anttest/src/testfile to 
/home/sjr/anttest/localdest/testfile
fileset: Setup scanner in dir /home/sjr/anttest/localdest with patternSet{ 
includes: [*] excludes: [] }
    [chmod] Executing 'chmod' with arguments:
    [chmod] '444'
    [chmod] '/home/sjr/anttest/localdest/testfile'
    [chmod] 
    [chmod] The ' characters around the executable and arguments are
    [chmod] not part of the command.
Execute:Java13CommandLauncher: Executing 'chmod' with arguments:
'444'
'/home/sjr/anttest/localdest/testfile'

The ' characters around the executable and arguments are
not part of the command.
    [chmod] Applied chmod to 1 file and 0 directories.

remote:
fileset: Setup scanner in dir /home/sjr/anttest/src with patternSet{ includes: 
[*] excludes: [] }
     [copy] testfile added as testfile is outdated.
     [copy] No sources found.
     [copy] Copying 1 file to /home/sjr/anttest/remotedest
     [copy] Copying /home/sjr/anttest/src/testfile to 
/home/sjr/anttest/remotedest/testfile
Unable to locate tools.jar. Expected to find it in 
/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
Trying the default build file: build.xml
Buildfile: /home/sjr/anttest/build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.7 in: /usr/lib/jvm/java-7-openjdk-amd64/jre
Detected OS: Linux
Adding reference: ant.ComponentHelper
Setting ro project property: ant.file -> /home/sjr/anttest/build.xml
Setting ro project property: ant.file.type -> file
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile /home/sjr/anttest/build.xml with URI = 
file:/home/sjr/anttest/build.xml
Setting ro project property: ant.project.name -> SSHFS Fail
Adding reference: SSHFS Fail
Setting ro project property: ant.project.default-target -> all
Setting ro project property: ant.file.SSHFS Fail -> /home/sjr/anttest/build.xml
Setting ro project property: ant.file.type.SSHFS Fail -> file
Project base dir set to: /home/sjr/anttest
 +Target: 
 +Target: init
 +Target: local
 +Target: remote
 +Target: all
Adding reference: ant.LocalProperties
parsing buildfile 
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = 
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip 
file
Setting project property: main.dir -> /home/sjr/anttest/
Setting project property: src.dir -> /home/sjr/anttest//src
Setting project property: dest.dir -> /home/sjr/anttest//localdest
Setting project property: mount.dir -> /home/sjr/anttest//remotedest/
Setting project property: target.dir -> /home/sjr/anttest//target/
Setting ro project property: ant.project.invoked-targets -> all
Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `all' is [init, local, remote, all]
Complete build sequence is [init, local, remote, all, ]

init:
    [mkdir] Skipping /home/sjr/anttest/src because it already exists.
    [mkdir] Skipping /home/sjr/anttest/localdest because it already exists.
    [mkdir] Skipping /home/sjr/anttest/target because it already exists.
[available] Found: remotedest
Setting project property: mount.ready -> true
     [echo] Mount Dir
     [exec] Current OS is Linux
     [exec] Executing 'ls' with arguments:
     [exec] '-asl'
     [exec] '/home/sjr/anttest//remotedest/'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'ls' with arguments:
'-asl'
'/home/sjr/anttest//remotedest/'

The ' characters around the executable and arguments are
not part of the command.
     [exec] total 8
     [exec] 4 drwxrwxr-x 1 sjr sjr 4096 Jun 23 13:50 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:50 ..
     [echo] Dest Dir
     [exec] Current OS is Linux
     [exec] Executing 'ls' with arguments:
     [exec] '-asl'
     [exec] '/home/sjr/anttest//localdest'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'ls' with arguments:
'-asl'
'/home/sjr/anttest//localdest'

The ' characters around the executable and arguments are
not part of the command.
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:50 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:50 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:50 testfile
     [echo] Target Dir
     [exec] Current OS is Linux
     [exec] Executing 'ls' with arguments:
     [exec] '-asl'
     [exec] '/home/sjr/anttest//target/'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'ls' with arguments:
'-asl'
'/home/sjr/anttest//target/'

The ' characters around the executable and arguments are
not part of the command.
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:50 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:50 ..

local:
fileset: Setup scanner in dir /home/sjr/anttest/src with patternSet{ includes: 
[*] excludes: [] }
     [copy] testfile added as testfile is outdated.
     [copy] No sources found.
     [copy] Copying 1 file to /home/sjr/anttest/localdest
     [copy] Copying /home/sjr/anttest/src/testfile to 
/home/sjr/anttest/localdest/testfile
fileset: Setup scanner in dir /home/sjr/anttest/localdest with patternSet{ 
includes: [*] excludes: [] }
    [chmod] Executing 'chmod' with arguments:
    [chmod] '444'
    [chmod] '/home/sjr/anttest/localdest/testfile'
    [chmod] 
    [chmod] The ' characters around the executable and arguments are
    [chmod] not part of the command.
Execute:Java13CommandLauncher: Executing 'chmod' with arguments:
'444'
'/home/sjr/anttest/localdest/testfile'

The ' characters around the executable and arguments are
not part of the command.
    [chmod] Applied chmod to 1 file and 0 directories.

remote:
fileset: Setup scanner in dir /home/sjr/anttest/src with patternSet{ includes: 
[*] excludes: [] }
     [copy] testfile added as testfile doesn't exist.
     [copy] No sources found.
     [copy] Copying 1 file to /home/sjr/anttest/remotedest
     [copy] Copying /home/sjr/anttest/src/testfile to 
/home/sjr/anttest/remotedest/testfile
fileset: Setup scanner in dir /home/sjr/anttest/remotedest with patternSet{ 
includes: [*] excludes: [] }
    [chmod] Executing 'chmod' with arguments:
    [chmod] '444'
    [chmod] '/home/sjr/anttest/remotedest/testfile'
    [chmod] 
    [chmod] The ' characters around the executable and arguments are
    [chmod] not part of the command.
Execute:Java13CommandLauncher: Executing 'chmod' with arguments:
'444'
'/home/sjr/anttest/remotedest/testfile'

The ' characters around the executable and arguments are
not part of the command.
    [chmod] Applied chmod to 1 file and 0 directories.

all:
     [echo] Mount Dir
     [exec] Current OS is Linux
     [exec] Executing 'ls' with arguments:
     [exec] '-asl'
     [exec] '/home/sjr/anttest//remotedest/'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'ls' with arguments:
'-asl'
'/home/sjr/anttest//remotedest/'

The ' characters around the executable and arguments are
not part of the command.
     [exec] total 8
     [exec] 4 drwxrwxr-x 1 sjr sjr 4096 Jun 23 13:50 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:50 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:50 testfile
     [echo] Dest Dir
     [exec] Current OS is Linux
     [exec] Executing 'ls' with arguments:
     [exec] '-asl'
     [exec] '/home/sjr/anttest//localdest'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'ls' with arguments:
'-asl'
'/home/sjr/anttest//localdest'

The ' characters around the executable and arguments are
not part of the command.
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:50 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:50 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:50 testfile
     [echo] Target Dir
     [exec] Current OS is Linux
     [exec] Executing 'ls' with arguments:
     [exec] '-asl'
     [exec] '/home/sjr/anttest//target/'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'ls' with arguments:
'-asl'
'/home/sjr/anttest//target/'

The ' characters around the executable and arguments are
not part of the command.
     [exec] total 8
     [exec] 4 drwxrwxr-x 2 sjr sjr 4096 Jun 23 13:50 .
     [exec] 4 drwxrwxr-x 6 sjr sjr 4096 Jun 23 13:50 ..
     [exec] 0 -r--r--r-- 1 sjr sjr    0 Jun 23 13:50 testfile

BUILD SUCCESSFUL
Total time: 3 seconds
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to