Santosh,
You should use a fileset for pattern matching:
<copy todir="${SEARCH_DIRECTORY}">
<fileset>
<include name="*.pl" />
</fileset>
</copy>
You may want to check out the online help:
http://nant.sourceforge.net/release/latest/help/
Best regards,
Gert
From: Santosh A - TLS, Chennai. [mailto:santo...@hcl.in]
Sent: donderdag 12 maart 2009 13:30
To: nantcontrib-developer@lists.sourceforge.net
Subject: [NAntC-Dev] Copying files from one folder to other folder
Hi,
I am new to Nant. Need to write a script to do builds.
What code should be written to copy files from one folder to other folder?
I tried the following code.
<copy source="*.pl" destination="${SEARCH_DIRECTORY}" />
It is giving error.
Please let me know the correct way of doing this.
With Regards,
Santosh.A
Extn:2723
DISCLAIMER:
----------------------------------------------------------------------------
-------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect
the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail
is strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.
----------------------------------------------------------------------------
-------------------------------------------
Internal Virus Database is out of date.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.11.8/1985 - Release Date: 3/5/2009
7:54 AM
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer