Thanks for the responses. There are no locks that I am aware of.

Kinjal, can you elaborate on that please? Which "file name" should I
include? I want all files under those directories to be moved along with the
directory. I have defined my fileset as 
                                    <fileset dir="${root.dir}">
                                         <include
name="${project.name}-*/**"/>
                                    </fileset>

Does that not include all directories, subdirectories and files under the
directory I want moved?


Rizwan Merchant
Software Developer
Alpha-IT Technologies
416-449-2166
[EMAIL PROTECTED]
 
-----Original Message-----
From: Kinjal [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 13, 2005 12:39 PM
To: Ant Users List
Subject: RE: moving directories

Read the examples of fileset in Apache Ant document and do the changes as
per it. It should work.

Including the file name in your script should work.

Thanks and Regards,
Kinjal Vohra




------------------------------------
LionBridge Technologies Pvt. Ltd.
Kinjal Vohra
SCM/Build Engineer
[EMAIL PROTECTED]
5th Floor, Spectra Bldg.,
Hiranandani Business Park,
Powai, Mumbai-400076.
Maharashtra, India.
tel: +912255567349
mobile: +919867240708
------------------------------------


-----Original Message-----
From: Bhadra, Jatin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 22:01
To: 'Ant Users List'
Subject: RE: moving directories


I am guessing here. Is there some process keeping a lock on those files or
folders that left behind in source directory?

Jatin Bhadra
www.cmware.co.uk

-----Original Message-----
From: Rizwan Merchant [mailto:[EMAIL PROTECTED]
Sent: 13 September 2005 17:07
To: 'Ant Users List'
Subject: moving directories




Hi,

I'm trying to move directories that have a certain pattern in their name to
another directory using the command below



                        <move todir="${backUp.dir}" failonerror="true">

                                    <fileset dir="${root.dir}">

                                                <include
name="${project.name}-*/**"/>

                                    </fileset>

                        </move>



So for example, I would like to move all directories (and all of their
contents) that have name of the pattern "UHM-*" to a backup directory. The
above command does move the directories over to the backup dir but not all
of the contents of the directories. It leaves behind the directories UHM-*
in the original directory and also creates the same in the backup directory.



Can anyone please tell me why the above command does not execute
successfully?



Thanks.







Rizwan Merchant

Software Developer

Alpha-IT Technologies

416-449-2166

[EMAIL PROTECTED]







The following companies are subsidiary companies of the Legal & General
Group Plc which are authorised and regulated by the Financial Services
Authority for advising and arranging the products shown: Legal & General
Partnership Services Limited (insurance and mortgages), Legal & General
Insurance Limited (insurance), Legal & General Assurance Society Limited
(life assurance, pensions and investments), Legal & General Unit Trust
Managers Limited and Legal & General Portfolio Management Services Limited
(investments).

They are registered in England under numbers shown.
The registered office is Temple Court, 11 Queen Victoria Street, London EC4N
4TP.

Legal & General Partnership Services Limited: 5045000 Legal & General
Assurance Society Limited: 166055 Legal & General (Unit Trust Managers)
Limited: 1009418 Legal &general (Portfolio Management Services) Limited:
2457525 Legal & General Insurance Limited: 423930

They are registered with the Financial Services Authority under numbers
shown. You can check this at www.fsa.gov.uk/register

Legal & General Partnership Services Limited: 300792 Legal & General
Assurance Society Limited: 117659 Legal & General (Unit Trust Managers)
Limited: 119273 Legal &general (Portfolio Management Services) Limited:
146786 Legal & General Insurance Limited: 202050


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to