ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edumudi Viswanath <edumudi.viswan...@oracle.com>
Subject problem while creating jar file using ant task
Date Wed, 07 Oct 2009 07:12:55 GMT
Hi,

 

I need to create jar file using ant task.

 

While creating jar file, it should traverse to innermost directory & pick up all .class
from from that folder.

 

The code looks like below. Here, basedir contains "${build}/classes". Classes folder contains
different folders and they contains inner folders. That inner folders contain .class files.


 

<jar destfile="${build.dir}/XYZ.jar"

       basedir="${build}/classes"

       includes="${build}/classes/a/b/c/d/e/**"

  />

 

How to do that?

 

Thanks in adavance.

 

Cheers

vishy

 

 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message