Do you intent to create a zip or a jar file? What is the value of ${usr}? I suggest that the script be written to use the appropriate task, either <jar> or <zip>
For example, <echo>usr = ${usr}</echo> <jar destfile="doc.jar" basedir="/home/${usr}/doc" includes="*.properties" /> --glenn On Thu, Sep 11, 2008 at 3:04 PM, I am Who i am <[EMAIL PROTECTED]> wrote: > Hi All > > I'm trying to zip one folder, with some specific files from it as part of > build like > <exec dir="/home/${usr}/doc" executable="zip" failonerror="true"> > <arg line="-ll doc.jar *.properties"> > </arg> > > but this throws error zip warning: name not matched: *.properties > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]