Joyce:
to Move a set of files to a new directory
<move todir="some/new/dir" > //the exact target directory
<fileset dir="my/src/dir" > //the exact src directory
<include name="**/*.jar"/> //include these files
<exclude name="**/ant.jar"/> //exclude these files
</fileset>
</move>
Keep us apprised,
-Martin
>From: Joyce Li <[EMAIL PROTECTED]>
>Reply-To: "Ant Users List" <[EMAIL PROTECTED]>
>To: Ant Users List <[EMAIL PROTECTED]>
>Subject: Moving a set of directories.
>Date: Tue, 13 Aug 2002 16:50:07 -0400
>MIME-Version: 1.0
>Received: from nagoya.betaversion.org ([192.18.49.131]) by
>mc1-f28.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 13
>Aug 2002 13:51:44 -0700
>Received: (qmail 11154 invoked by uid 97); 13 Aug 2002 20:51:56 -0000
>Received: (qmail 11141 invoked by uid 98); 13 Aug 2002 20:51:56 -0000
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
>List-Subscribe: <mailto:[EMAIL PROTECTED]>
>List-Help: <mailto:[EMAIL PROTECTED]>
>List-Post: <mailto:[EMAIL PROTECTED]>
>List-Id: "Ant Users List" <ant-user.jakarta.apache.org>
>Delivered-To: mailing list [EMAIL PROTECTED]
>X-Antivirus: nagoya (v4198 created Apr 24 2002)
>Message-ID: <[EMAIL PROTECTED]>
>Organization: DWL Inc.
>X-Mailer: Mozilla 4.7 [en] (WinNT; I)
>X-Accept-Language: en
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>Return-Path: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 13 Aug 2002 20:51:44.0787 (UTC)
>FILETIME=[3BDD8630:01C2430B]
>
>Hi,
>
>I'm having some trouble moving a set of directories to a new location.
>The source location is not deleted after the move.
>
>For example, I have
>
>A/dir1
>A/dir2
>A/dir3
>
>and I'd like to move dir1 and dir2 to a new location B so I can have
>
>A/dir3
>B/dir1
>B/dir2
>
>My build.xml segment is something like this:
>
> < move todir="${base.dir}/B">
> <fileset dir="${base.dir}/A"
> defaultexcludes="no">
> <include name="dir1/**"/>
> <include name="dir2/**"/>
> </fileset>
> </move>
>
>After the move operation, I have
>
>A/dir1 <with only empty directories>
>A/dir2 <with only empty directories>
>A/dir3
>B/dir1
>B/dir2
>
>Why aren't dir1 and dir2 removed from A?
>
>Please help.
>
>Thanks.
>Joyce
>
>
>--
>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Martin Gainty
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relating to the official
business of Laconia Data Systems (LDS) is proprietary to the company. It is
confidential, legally privileged and protected by law. LDS does not own and
endorse any other content. Views and opinions are those of the sender unless
clearly stated as being that of LDS.
The person addressed in the e-mail is the sole authorised recipient. Please
notify the sender immediately if it has unintentionally reached you and do
not read, disclose or use the content in any way.
LDS can not assure that the integrity of this communication has been
maintained nor that it is free of errors, virus, interception or
interference.
_______________________________________________:
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>