File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse + Ant + Consoles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse + Ant + Consoles" Watch "Eclipse + Ant + Consoles" New topic

Eclipse + Ant + Consoles

Carey Brown
Ranch Hand

Joined: Nov 19, 2001
Posts: 885

I'm using the latest Juno version of Eclipse with a large project with multiple build.xml's kicked off by a parent build.xml. Unfortunately as each build is launched in turn it overwrites the contents in the console window so that any errors appear for a second but then are gone. Ideally I would like the output of the nested builds to just append to one another, but if that's not possible, I'd like each build to appear in its own console window so that I can go back to each console if there's an error.
Or, have the build process halt when it hits any error.
Thanks, Carey

Understanding the scope of the problem is the first step on the path to true panic
Peter Johnson

Joined: May 14, 2008
Posts: 5852

I don't know if you can control that in Eclipse but you could do either of the following:

a) Run the build from a command prompt (not from within Eclipse)

b) Set up your build scripts to create build logs. See

JBoss In Action
I agree. Here's the link:
subject: Eclipse + Ant + Consoles
It's not a secret anymore!