ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22323] - Problem with Copy when todir has a space in it
Date Tue, 12 Aug 2003 09:34:58 GMT
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


Mime
View raw message