I just committed a tiny change to the build system which allows a module to bypass the compile/output phase when the module has already been built and is up to date.

It works using the uptodate task and checking the ${module.source} tree, module build files and project build files against a build marker (output/build-marker) which is created/touched at the end of the output generation target.

I am seeing a 5x speed increase when rebuilding an already built project (30s vs 2m 30s) . Normally this will never happen, but it will still speed up project builds when only one or two modules change.

If you want to turn this functionality off you can set build-bypass.disabled=true on the command line or in local.properties.

Lastly I only updated the build.xml files for modules which are part of the default build. Feel free to update the other modules as needed. Something similar might make the testsuite much easier to run over and over... who knows.

As always I tested this on my machine, but shit happens... to me... a lot. If this totally breaks your build please let me know. I do not think it will, it is small and uses standard Ant.

--jason



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to