ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W. Sean Hennessy" <>
Subject RE: mkdir and mapped drives / remote servers
Date Thu, 02 Oct 2003 22:22:52 GMT
1. Did you really want to redefine that property or did you want to append?
   <property name="" value="${}${file.separator}crud"/>

1. single mkdir should suffice.
   <mkdir dir="${}"/>

-----Original Message-----
From: Nick Neuberger [] 
Sent: Thursday, October 02, 2003 2:21 PM
To: 'Ant Users List'
Subject: mkdir and mapped drives / remote servers

In my build script, I would like to copy our "build" to an archive directory on a different
windows server.  I have the
drive (U: drive) mapped on my machine.

My build failed because it can't create the directory.

Can you copy files out of the "basedir" like this is or am I using the wrong ant task.  It
looks like ant is trying to
append on the "basedir" to the path.

Any thoughts?


Nick Neuberger


C:\wsadie\workspace-imsii\sncc-ims-build\package-all.xml:140: Directory C:\wsadie\workspace-imsii\
creation was not successful for an unknown reason

///////////////CODE SNIPPET//////////////////////

    <property name="" value="133_0_TEST"/>

    <property name="dist.dir" value="sncc-ims-build/dist"/>
    <property name="crud.dir" value="sncc-ims-build/dist/crud"/>

    <property name="" value="C:/builds/${}"/>
	<property name="" value="${}/crud"/>

    <property name="" value="IMS-IIWeb.war"/>
    <property name="" value="IMS_${}.ear"/>

    <target name="clean-new-build-dir" description="Creating New Build Directory Structure">
		<echo message ="Cleaning Distribution Directory"/>    
        <mkdir dir=" ${}"/>
        <mkdir dir="${}"/>

- - - - - - 
This e-mail message is intended only for the use of the individual or entity identified in
the alias address of this
message and may contain confidential and privileged information. Any unauthorized review,
use, disclosure or
distribution of this e-mail message is strictly prohibited. If you have received this e-mail
message in error, please
notify the sender immediately by reply e-mail and delete this message from your system. Thank

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message