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
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
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
--
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.