sorry, I guess this will do the trick.

                                        <include name="*"/>
                                        <exclude name="*.*"/>

-----Original Message-----
From: Michael Wang (IT) 
Sent: Friday, February 18, 2005 4:27 PM
To: 'Ant Users List'
Subject: fileset pattern matching
Importance: High


Hi,

I tried to grab the files without extention from a directory.

I have the following ANT script.

                                <copy 
todir="${package.dir}/${batch.lib.dir}/bin">
                                    <fileset dir="${build.dir}/${lib.src.dir}">
                                        <include name="*."/>
                                        </fileset>
                                </copy>

Apparently, it does not copy any file at all. Which regular expression should I 
use to get those files without extension. Thanks.

Mike

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

Reply via email to