ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ram Krish <krish_j...@yahoo.co.in>
Subject Re: Jar size differs..
Date Thu, 12 Dec 2002 13:04:28 GMT
Hi stefan,
         The class files differ in size when i use
<jar> task(i compared these class files with those
madw with the dos batch file).

For production builds,  i don't want to create the
manifest file.But ant is creating an empty manifest
file.That's why i bound to use jar utility inside the
buildfile.

My boss doesn't want this.So i decided to use either
<apply> task or <exec> task.

even if i include <fileset> in <apply> or <exec> task,
i found it is not working.

Any help would be appreciated.

Ram


 --- Stefan Bodewig <bodewig@apache.org> wrote: > On
Thu, 12 Dec 2002, Ram Krish
> <krish_j2ee@yahoo.co.in> wrote:
> 
> > I want to use jar command line utility inside the
> build file.
> 
> Out of curiosity, why?
> 
> > When i tried, i dont know how to specify the
> fileset in the
> > following code.
> 
> Add a <fileset> with the dir attribute pointing to
> whatever would be
> the basedir attribute in your <jar> task.
> 
> > <arg value="-cf  Aggregation.jar"/>
> 
> You will want to use either
> 
> <arg value="-cf"/>
> <arg value="Aggregation.jar"/>
> 
> or
> 
> <arg line="-cf  Aggregation.jar"/>
> 
> Stefan
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
>  

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message