final SourceGenerationContext context = new SourceGenerationContext( form,
resourcePath, root, local, shared, server,
vfsFormFinderService.findAllForms( resourcePath ) );
final String formModelSource = formModelSourceGenerator.generateJavaSource( context );
if ( form.getLayoutTemplate() == null ) {
<BUG>form.setLayoutTemplate( formLayoutTemplateGenerator.generateLayoutTemplate( form ) );
}</BUG>
final String formTemplateLayout = formDefinitionSerializer.serialize( form );
final String formViewSource = formViewSourceGenerator.generateJavaSource( context );
final String formViewTemplate = formViewTemplateGenerator.generateHTMLTemplate( context );

final SourceGenerationContext context = new SourceGenerationContext( form,
resourcePath, root, local, shared, server,
vfsFormFinderService.findAllForms( resourcePath ) );
final String formModelSource = formModelSourceGenerator.generateJavaSource( context );
if ( form.getLayoutTemplate() == null ) {
formLayoutTemplateGenerator.generateLayoutTemplate( form );
}
final String formTemplateLayout = formDefinitionSerializer.serialize( form );
final String formViewSource = formViewSourceGenerator.generateJavaSource( context );
final String formViewTemplate = formViewTemplateGenerator.generateHTMLTemplate( context );
