You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/08/12 11:34:58 UTC

DO NOT REPLY [Bug 22323] - Problem with Copy when todir has a space in it

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22323>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22323

Problem with Copy when todir has a space in it





------- Additional Comments From peter.reilly@corvil.com  2003-08-12 09:34 -------
What exactly is the problem?

The following works fine for me.

<project name="test" default="test">
    <property name="t" value="targetdir/dir1 with space/dir2 with space"/>
    <target name="test">
        <delete dir="${t}"/>
        <mkdir dir="${t}"/>
        <copy  todir="${t}" file="build.xml"/>
    </target>
</project>
output: (using ant 1.5.3)
test:
   [delete] Deleting directory /home/preilly/proj/learning/space/targetdir/dir1
with space/dir2 with space
    [mkdir] Created dir: /home/preilly/proj/learning/space/targetdir/dir1 with
space/dir2 with space
     [copy] Copying 1 file to /home/preilly/proj/learning/space/targetdir/dir1
with space/dir2 with space

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org