Arch2Arch Tab BEA.com
Syndicate this blog (XML)

Workshop 9.2 Build Performance Trick

Bookmark Blog Post

del.icio.us del.icio.us
Digg Digg
DZone DZone
Furl Furl
Reddit Reddit

Chris Hogue's Blog | January 22, 2007  12:37 PM | Comments (2)


It's become clear that one of the builders in Workshop 9.2 can be costly to run on larger projects. This builder is just performing some validation, and it's a rare enough case that it's safe to disable this validation.

To turn off this validator, go to Project > Properties > Builders. On this page, uncheck the Control Validator builder. You will still get almost all of the control validation (red squiggles and problems view entries) since it's mostly run by the Java Builder. The Java Builder must remain enabled, of course.

The Control Validator just does a little bit of additional validation on top of the Java Builder, but since it's complex validation it can take a bit of time.

The specific validation you'll be turning off is checking whether a page flow is trying to handle an external callback (such as from a service control that gets an asynchronous callback from the external service). This isn't supported in the runtime so the IDE looks for it to flag as a warning at build time. If you're trying to do this beware that you will now get a runtime error rather than a build time error.

Comments

Comments are listed in date ascending order (oldest first) | Post Comment

  • Good information Chris. Also, I have seen that turning off "Build Automatically" helps save some CPU cycles. Wanted to find out your opinion on the same. This would mean that the developers will have to explicitly trigger build when they want to.

    Posted by: srengan on February 21, 2007 at 1:57 PM

  • True, that can help especially in the cases where you're making a lot of changes at once since it would batch them up. Though if you're making a lot of small changes and running my guess is you wouldn't save much time.

    Personally I like the Build Automatically feature and use it as a general practice. But I do occasionally turn it off if I'm making a big change (or doing something like importing a big project).

    Posted by: hogue on February 21, 2007 at 3:27 PM



Only logged in users may post comments. Login Here.

Powered by
Movable Type 3.31