On 08/01/2010, at 2:42 PM, [email protected] wrote:
> - buildResult = getContinuum().getBuildResult( getBuildId() );
> + try
> + {
> + buildResult = getContinuum().getBuildResult( getBuildId() );
> + }
> + catch ( ContinuumException e )
> + {
> + buildResult = null;
> + }
Is there a need to log the exception or does it provide no value?
> +
> + ConfigurationService configuration =
> getContinuum().getConfiguration();
> +
> + if ( configuration.isDistributedBuildEnabled() &&
> + project.getState() ==
> ContinuumProjectState.BUILDING )
> + {
> + model.setLatestBuildId( 0 );
> + }
Why is this only 0'd on the distributed build scenario?
- Brett
--
Brett Porter
[email protected]
http://brettporter.wordpress.com/