ANT dirset does not include directories having ${str} string in the name
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gaurav_Sawant
Posted On:   Thursday, April 14, 2011 09:35 AM

I need to selectively delete directories matching a particular regular expression pattern (e.g all directories starting with literal - 'foobar'. Foll is my build.xml - The problem comes when there is folder with name as foobar${lorem}ipsum.war . In that case the dirset never matches this name. I guess the ${lorem} literal in the folder name is causing a problem. But I need to delete it through ANT. I am using ANT-1.7.1 Thanks in advance ~ Gaurav S    More>>

I need to selectively delete directories matching a particular regular expression pattern (e.g all directories starting with literal - 'foobar'.


Foll is my build.xml -

			






















The problem comes when there is folder with name as foobar${lorem}ipsum.war . In that case the dirset never matches this name. I guess the ${lorem} literal in the folder name is causing a problem. But I need to delete it through ANT.




I am using ANT-1.7.1


Thanks in advance


~ Gaurav S    <<Less
About | Sitemap | Contact