problem using ant move task
Posted
by user315228
on Stack Overflow
See other posts from Stack Overflow
or by user315228
Published on 2010-05-26T14:42:26Z
Indexed on
2010/05/26
14:51 UTC
Read the original article
Hit count: 279
ant
I have a directory structure like this
client/lib
a.jar
b-4.3.jar
c-1.2.jar
d-4.3.jar
e.jar
I need to copy some jars without version and some with version. The only information that i have is version number, and that is stored in a variable.
Problem is version number that i have in variable is 4.3.1 and version that jars have is just first two digits from the variable value (i.e. 4.3 in my case). I need all the jars that has starting two digits that my variable has and some of the jars without version. For e.g. from above directory structure i need:
b-4.3.jar
d-4.3.jar
e.jar
Can somebody please help?
© Stack Overflow or respective owner