Bug 724186 (BRMS-129)

Summary: few minor updates for the JBoss Rules 5 Guide from 5.0 GA
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Dana Mison <dmison>
Component: DocumentationAssignee: Len DiMaggio <ldimaggi>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.0.0 GA   
Target Milestone: ---   
Target Release: 5.0.1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-129
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-03 20:34:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 724275    

Description Dana Mison 2009-05-21 03:50:37 UTC
Affects: Documentation (Ref Guide, User Guide, etc.)
Date of First Response: 2009-09-03 16:34:22
securitylevel_name: Public

A few issues left: 

======== PAGE 10 ======== 
kbase.addKnowledgePackages( builder.getKnowledgePackages() ); 
it's kbuilder, not builder: 
kbase.addKnowledgePackages( kbuilder.getKnowledgePackages() ); 

======== PAGE 11 ======== 

we have to use the Arraysmethod 
no space after Arrays 

======== PAGE 12 ======== 

assertFalse( application().isValid ); 
parenthesis in wrong place 
assertFalse( application.isValid() ); 

======== PAGE 15 ======== 
System.err.println( builder.getErrors().toString() ); 
it's kbuilder, not builder: 
System.err.println( kbuilder.getErrors().toString() ); 


======== PAGE 16/17 ======== 

then 
     System.out.println( "Hello Chuck" ); 
     end 

There shouldn't be any white chars before "end" 


======== PAGE 22 ======== 
versions will add support for <remove>and <modify>. 
missing space after <remove>: 
versions will add support for <remove> and <modify>. 

======== PAGE 32 ======== 
KnowledgeBaseFactory.createKnowledgeBaseConfiguration( null, cl ); 
should be: 
KnowledgeBaseFactory.newKnowledgeBaseConfiguration( null, cl ); 

======== PAGE 38 ======== 
Example 3.24. AddCreating a new StatefulKnowledgeSession 
should be: 
Example 3.24. Creating a new StatefulKnowledgeSession 

======== PAGE 52 ======== 
kbuilder.add( ResourceFactory.newFilemResource( fileName ), ResourceType.DRL ); 
typo: newFilemResource, should be newFileResource: 
kbuilder.add( ResourceFactory.newFileResource( fileName ), ResourceType.DRL ); 

======== PAGE 64 ======== 
The only only difference is that StatelessKnowledgeSession executes 
remove one "only"

Comment 1 Dana Mison 2009-05-21 04:18:01 UTC
Fixes checked in to docbook source

Comment 2 Len DiMaggio 2009-09-02 18:02:43 UTC
Link: Added: This issue is a dependency of BRMS-220


Comment 3 Len DiMaggio 2009-09-03 20:34:22 UTC
Changes verified in doc here:  https://svn.devel.redhat.com/repos/jboss-soa/trunk/build-tools/docs/BRMS/