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

Configurable values to MDB annotations

java annotations ejb-3.0 jboss-mdb

I'm trying to use this method for receiving mail in our EJB3 app. In short, that means creating an MDB with the following annotations:

How would REST handle post-processing / including relevant resources?

web-services rest computer-architecture

I have a web service for a forum, and I have the following two resources:

What is the best library for computer vision in C/C++?

c++ c computer-vision

What libraries do I have to pick from when working with Computer Vision in C/C++?

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.