below is the script I am using and it is failing with error :
java.lang.RuntimeException: Source File: ../CalcMgr/exploded/ear/adf/META-INF/adf-config.xml does not exist.
I tried running it locally and the build.xml
works. But in jenkins server though the file exists it is failing with that error.
<echo message="Replacing '#\{JAVASCRIPT_VERSION\}' with '${env.JAVASCRIPT_VERSION}' in file: '${exploded}/ear/adf/META-INF/adf-config.xml'" />
<refactorbuildno fileName="${exploded}/ear/adf/META-INF/adf-config.xml" searchText="#\{JAVASCRIPT_VERSION\}" replaceText="${env.JAVASCRIPT_VERSION}"/>
Anyone kindly help to fix this