File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Ant, Maven and Other Build Tools
ant problem please solve
Joined: Apr 05, 2010
Apr 05, 2010 23:06:04
there is one more problem when i put srcdir="." then C:/>
utility at commont prompt try to compile all the file existing inside any perticular folder and if it gets error then compilation get failed.
Joined: Jul 20, 2005
Apr 05, 2010 23:45:01
Which task are you adding that attribute to? And why are you adding "." as the srcdir? Please post any relevant section from the build file.
Joined: May 14, 2008
Apr 06, 2010 11:55:10
Wow, a srcdir of '.' and a basedir of c:\ is bound to cause interesting results! If this is in the javac task, like I suspect, Ant will compile every .java file it finds on your C: drive!
You should, instead, create a directory and place everything for your app into that directory, including the build.xml file. Then cd to that directory before running ant!
JBoss In Action
I agree. Here's the link:
subject: ant problem please solve
Netbeans IDE for Part II preperation
Ant automatically runs
ant optional task and core give the problem in version mismatch
Ant Build inside Eclipse Problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015