Re: ant task output file differs in API from command line usage

2004-10-14 Thread Conor MacNeill
Kelly Davis wrote: Would you be able to offer any detailed instructions on accomplishing this. I have tried to redirect the output streams of a DefaultLogger to a file, but this still doesn't give the compile errors in the subproject. The best place to start is to look at Main.java to see where

Re: ant task output file differs in API from command line usage

2004-10-14 Thread Kelly Davis
Would you be able to offer any detailed instructions on accomplishing this. I have tried to redirect the output streams of a DefaultLogger to a file, but this still doesn't give the compile errors in the subproject. Quoting Conor MacNeill <[EMAIL PROTECTED]>: > > > > Why am I not getting the c

Re: ant task output file differs in API from command line usage

2004-10-14 Thread Conor MacNeill
Why am I not getting the compile error in the output file when I run the build script using the API? because you have not redirected System.out and System.err. I have a blog entry with a bit of info on this - http://codefeed.com/blog/archives/68.html Conor --

ant task output file differs in API from command line usage

2004-10-14 Thread Kelly Davis
I have the following code which executes a build file: Project project = new Project(); project.init(); project.setUserProperty( "base.dir", new File( rootDir ).getAbsolutePath() ); project.setUserProperty( "ant.file", new File( new File( rootDir ), buildFile ).getAbsolutePath() ); project.