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 <[EMAIL PROTECTED]> wrote: > On Thu, 12 Dec 2002, Ram Krish > <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > ________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>