troubleshooting Question

ant build error

Avatar of rmvprasad
rmvprasad asked on
Editors IDEs
2 Comments1 Solution1555 ViewsLast Modified:
I am getting the following error when I do an ant build.xml.

prasad@prasad-laptop:~/Projects/springapp$ ant deploy
Buildfile: build.xml


/home/prasad/Projects/springapp/build.xml:38: Directory /home/prasad/Projects/springapp/war/WEB-INF/classes creation was not successful for an unknown reason

<property name="src.dir" value="src"/>
	<property name="web.dir" value="war"/>
	<property name="build.dir" value="${web.dir}/WEB-INF/classes"/>
	<property name="name" value="springapp"/>
<target name="build" description="Compile main source tree java file">
	<mkdir dir="${build.dir}"/>
	<javac testdir="${build.dir}" source="1.5" target="1.5" debug="true"
               deprecation="false" optimize="false" failonerror="true">
		<src path="${src.dir}" />
		<classpath redif="master-classpath"/> 
<target name="deploy" depends="build" description="deploy application">
		<copy todir="${deploy.path}/${name}" preservelastmodified="true">
		<fileset dir="${web.dir}">
			<include name="**/*.*"/>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros