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?