Unable to create folder “classes” in WEB_INF folder in eclipse while building using ANT

I am using ANT to build a simple web application project named "HelloWebApp" in eclipse. But while using ANT to build the build.xml file I am getting the following error.

    Buildfile: C:\Users\bimal\workspace\HelloWebApp\build.xml
clean:
     [echo] Cleaning the build  
init:
     [echo] Creating the build directory

BUILD FAILED
C:\Users\bimal\workspace\HelloWebApp\build.xml:18: Directory C:\Users\bimal\workspace\HelloWebApp\build  \WEB-INF\classes creation was not successful for an unknown reason

Total time: 849 milliseconds

The section in build.xml file which causes error is given below.

<target name="init" depends="clean">`  
<echo>Creating the 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 for this problem. Thanks in advance.

Answers


make sure that everyone has read/write permissions on that folder, use the windows permission tab on the preferences menu in the folder to check out if that's right.


Need Your Help

Grouping in WPF

c# wpf datagrid grouping

I am trying to modify an existing code which allows to add articles by rows and remove them wherever needed, the problem is that I am trying to find a way to group articles of the same category. So...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.