Hi there.

Eclipse build [output] dir and ant dir make no difference.
unless you have relation between the 2.
ex. 
        if you don't use ant to compile the classes and take the compiled one 
form eclipse you should set  
            both to the same location - since ant needs the complied classes 
under the build dir.
        
        otherwise id dont see any real need to point them to the same location.

for your second question:
I'd love to find a good article with the subject being "the best way to use Ant 
in your Eclipse project".

As far as I know there isn't any article with this title.
Eclipse is the most power tool for ant  users.
I might be wrong here but as far as I know Eclipse is the only tool with ant 
debugger
all other tools have same things (validation, autocompletion etc).

Hope it was helpful.

Nir.




-----Original Message-----
From: Erik Weibust [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 20, 2005 4:28 PM
To: user@ant.apache.org
Subject: Ant with Eclipse question


I have been using Ant to build my projects for a number of years but am
fairly new to Eclipse.  I have a couple of questions about how to best
use Ant while developing a project in Eclipse.

Should I be setting my output dir in my Eclipse project properties to
the same thing I set as my destdir in my build.xml?  Or, does it make
more sense to let Eclipse and it auto-compile output to put classes in
one place and then have my build.xml javac task put output in a
different place?

I'd love to find a good article with the subject being "the best way to
use Ant in your Eclipse project".

Thanks,
erik

Erik Weibust
Java developer and blogger - http://erik.weibust.net
co-leader J2EE SIG - Dallas, TX - http://j2eesig.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to