I had installed ant 1.7 but while run ant script i was getting error unable to find symbol getFileUtils(). This function is included in ant since version ant 1.6.3 . But even though I had ant 1.7 I was getting the error. I looked version of ant by typing > ant -version and what i got was ant 1.6.2. What actually the problem was that in the CLASSPATH variable weblogic.jar was set at first. And inside weblogic .jar there was ant 1.6.2 due to which this version was getting picked. Simply removing the weblogic.jar from CLASSPATH variable solved the problem.
No comments:
Post a Comment