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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -