I want to append data to a js file at specific location using ant build
Here is the js file
fun1= function(){
var data="data1";
}
I want to append one line only if this does not exist in file
data =data+"data2";
inside the fun1. Is there any way to do so as xmltask is specific to XML files only?