ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "St. Denis, David" <david.stde...@siemens.com>
Subject Copy task fails on AIX
Date Wed, 26 May 2010 14:03:06 GMT

<project>
<echo message="junk" file="foo" />
<copy verbose="true" file="foo" tofile="foo2" />
</project>

Ant copy task fails to copy file properly on AIX with Ant 1.8.0 and 1.8.1. The files appear
to copy but end up empty.
Switching between Java 1.5 and 1.6 had no effect when using Ant 1.8 or 1.8.1, but switching
back to Ant 1.7 the copy task started working again.

Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: copy.xml
Detected Java version: 1.6 in: /plm/svnas/tc_ref/TOOLBOX/aix/JDK/jdk1.6.0_00/jre
Detected OS: AIX
     [copy] Copying 1 file to /plm/svnas/uhome/dsd
     [copy] Copying /plm/svnas/uhome/dsd/foo to /plm/svnas/uhome/dsd/foo2

svibm006 (~) [27]la foo*
-rw-r--r--    1 dsd      pdmusr            4 May 26 08:54 foo
-rw-r--r--    1 dsd      pdmusr            4 May 26 08:54 foo2


Apache Ant version 1.8.1 compiled on April 30 2010
Buildfile: /plm/svnas/uhome/dsd/copy.xml
Detected Java version: 1.6 in: /plm/svnas/tc_ref/TOOLBOX/aix/JDK/jdk1.6.0_00/jre
Detected OS: AIX
     [copy] Copying 1 file to /plm/svnas/uhome/dsd
     [copy] Copying /plm/svnas/uhome/dsd/foo to /plm/svnas/uhome/dsd/foo2

svibm006 (~) [30]la foo*
-rw-r--r--    1 dsd      pdmusr            4 May 26 08:55 foo
-rw-r--r--    1 dsd      pdmusr            0 May 26 08:55 foo2


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message