How to get substring of a property

2009-03-30 Thread Document
Hi, How do I get a substring of a property? Lets say I have a property whose value is "some.value". I want only the characters before the dot i.e. "some". Any pointers? Please reply to me along with the u...@ant.apache.orgemail id Thanks P

How to use variable within a variable in ant?

2009-03-19 Thread Document
Hi, I want to use a variable within variable scenario. For eg. Now I want to use something like ${${var1}} to retrieve ${somevar}. How do I do it? On unix shell, eval works fine but when I try ant exec task to run eval, it doesnt recognize the command. Thanks