Quantcast
Channel: How to use wild card in ant fileset or src - Stack Overflow
Viewing all articles
Browse latest Browse all 3

How to use wild card in ant fileset or src

$
0
0

Using ant 1.5I am trying to create a jar file with files compiled under product directory that can constantly change the build name

/target   |---myapp-1.3.5-SNAPSHOT          |--- WEB-INF                 |---classes                 |---i18n

It's kind of picky but I have to make a jar file that still keep the web structure

|---myapp-utility.jar       |--- WEB-INF              |---classes              |---i18n

That means I have to put wild card to identify the directory with build and snapshot

<jar destfile="myapp-utility.jar"><manifest>        ....</manifest><fileset dir="myapp-**/"/></jar>

and it doesn't work, wild card is not recognized. So what is the alternative?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images