aspose file tools*
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
Author

Eclipse + Ant + Consoles

Carey Brown
Ranch Hand

Joined: Nov 19, 2001
Posts: 174

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: 5827
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse + Ant + Consoles