Sorry for the previous post. I touch an Enter by mistake:-)
So the line I meant is
getProject().setNewProperty("ABC")
And from then you may access ABC property as it would have been created
from a script
RomanR
> -Original Message-
> From: Malik, Yousuff M [mailto:[EMAIL PROT
If you wanna create a property ABC you may do it as follows:
public void setValue(String value){
> //Strip out the build number from the ant label
> BUILD_LABEL
> String temp2 = value.substring(value.indexOf("_")+1);
> //Convert it into the format x.x.
> Btw, ant-contrib works Ok for such a simple task and I'm fine
> with it (unless there is no 'standard' solution).
>
But I met another problem. There is no kind of substring funtion so I
can't take off just a file name out of the full path, can I?