java - Unable to create folder "classes" in WEB_INF folder in eclipse while building using ANT -
i using ant build simple web application project named "hellowebapp" in eclipse. while using ant build build.xml file getting following error.
buildfile: c:\users\bimal\workspace\hellowebapp\build.xml clean: [echo] cleaning build init: [echo] creating build directory build failed c:\users\bimal\workspace\hellowebapp\build.xml:18: directory c:\users\bimal\workspace\hellowebapp\build \web-inf\classes creation not successful unknown reason total time: 849 milliseconds
the section in build.xml file causes error given below.
<target name="init" depends="clean">` <echo>creating build directory</echo> <mkdir dir="${build.dir}/web-inf/classes"/> <mkdir dir="${build.dir}/web-inf/lib"/> <mkdir dir="${dist.dir}"/> </target>
please provide me solution problem. in advance.
make sure has read/write permissions on folder, use windows permission tab on preferences menu in folder check out if that's right.
Comments
Post a Comment