This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 713

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

When I was your age I was toggling in the bootstrap code on the front panel
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Eclipse + Ant + Consoles
It's not a secret anymore!