ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glenn opdycke-hansen" <glenn...@gmail.com>
Subject Re: exec task with *
Date Fri, 12 Sep 2008 02:02:05 GMT
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 <ragjan@gmail.com> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message