----- Original Message ----- From: "Anthony Rodriguez" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 10:16 AM Subject: RE: pushd and popd
> What I'm really trying to acheive here is to map a network path to a drive > letter, then copy files to that path. The copy utility I'm using was > developed in-house and has trouble with UNC paths. It has other features > however that are specific and necessary to my environment. So the idea was > to pushd the UNC path, copy to the new drive that pushd assigns, then popd > when I'm done. > However by reading the various responses, it looks like Ant wouldn't leave > me in the drive that pushd would assign. Is this correct? Is there a way > for me to work around this aspect of Ant? Would I be better served by > writing a .bat file and executing that from Ant? > > -Anthony > You dont need to faff around with pushd and popd; I am not even sure that net use is needed if you set your domain up right <property name="outdir" location=\\server\c$$\tomcat\webapps" /> <copy todir="outdir"> <fileset dir="dist"> <include name="*.war"/> </fileset </copy> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
