ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Neuberger <Nick.Neuber...@sncc.com>
Subject mkdir and mapped drives / remote servers
Date Thu, 02 Oct 2003 21:21:03 GMT
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?

Thanks,

Nick Neuberger

/////////////////////ERROR//////////////////
BUILD FAILED

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


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

    <property name="version.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="new.build.dir" value="C:/builds/${version.name}"/>
	<property name="new.build.crud.dir"
value="${new.build.crud.dir}/crud"/>

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

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


- - - - - - 
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 you.

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


Mime
View raw message