Page 1 of 1

How to stop build if an error occured duringCompileTimeBuild

Posted: Sat Jan 10, 2009 8:20 pm
by zims
I am currently working on a new Plugin that works with files during "CompileTimeBuild".

If I for some reasons can't find the files I would like the build to fail but I am not show how to do that.

I have tried to return both TRUE and FALSE from the meothod without any diffrence.

Zims

Posted: Mon Jan 12, 2009 10:09 am
by MichaelNesmith
Plug-ins currently do not have the capability to abort the build. The return value is reserved for future use. You can display a MessageBox as a warning to the developer if something goes wrong during the build (this is what, for instance, File Bag currently does).

We are looking to add the ability to abort builds from plug-ins with a custom error text in future versions.

Posted: Mon Jan 12, 2009 10:11 am
by zims
To bad but atleast I know. The problem is that a MessageBox is not possible for me since I run automated builds.

I hope for that in the next version.

Zims