*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse + Ant + Consoles" Watch "Eclipse + Ant + Consoles" New topic
Author

Eclipse + Ant + Consoles

Carey Brown
Ranch Hand

Joined: Nov 19, 2001
Posts: 173

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
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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 http://ant.apache.org/manual/Tasks/recorder.html


JBoss In Action
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Eclipse + Ant + Consoles
 
Similar Threads
import to eclipse
Using Ant in Eclipse
Main program not giving output
Ant not working in Eclipse
Checked out CVS project not Java one