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
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.
will use the api.
Kelly Davis wrote:
I am using ant 1.6.2 doing a build through the api.
I am creating an instance of DefaultLogger. When I call
setErrorPrintStream to a file for output, and then have a build with a
compile error in it, the error output doesn't go to the file, but to
my co
Antoine
Yeah, your right. I am using 1.6.2 on the mac and 1.6.1 on linux. I
should have included the versions in the post. thanks for the info.
Kelly
Antoine Levy-Lambert wrote:
Hello,
In ant 1.6.2, there is a bug [1] preventing empty directories from being
zipped.
This bug is fixed in CVS on the
For some reason the zip task is not consisten between platforms. When I
zip up a directory with some empty directories under it, in Linux, the
empty directories get included in the zip. When I run the same task on
OSX, the empty directories are not created.
-
I am using ant 1.6.2 doing a build through the api.
I am creating an instance of DefaultLogger. When I call
setErrorPrintStream to a file for output, and then have a build with a
compile error in it, the error output doesn't go to the file, but to my
console. Any ideas on why this may be happeni
In that case, how do I find out if there were any exceptions during the
execution of the target?
Stefan Bodewig wrote:
On Tue, 12 Oct 2004, Kelly Davis <[EMAIL PROTECTED]> wrote:
project.executeTarget( "build" );
For some reason the buildStarted & buildFinished metho
I have the following code running against Ant 1.6.2:
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() )