Bug 1034785

Summary: Defined kbase and ksession not in resulting jar.
Product: [Retired] JBoss BRMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: etirelli, jlocker, kverlaen, manstis
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:18:43 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:
Embargoed:

Description Marek Baluch 2013-11-26 14:03:03 UTC
Description of problem:

Defining a new kbase and ksession has no effect. Does not matter weather I mark them as default or not. The user defined kbase and ksession will not be present in the resulting jar. Interesting thing is that when I navigate to the kmodule.xml file in META-INF of the project then this file contains the proper content.

How to reproduce:
1) create a project
2) navigate to 'knowledge base settings'
3) define a new kbase (optionally make defaut)
4) define a new ksession (optionally make defaut)
5) save the file
6) hit 'build & deploy'
7) check kmodule.xml in the jar file.

Comment 1 Edson Tirelli 2013-11-26 14:58:42 UTC
This is odd as it was working before.

Comment 3 manstis 2013-11-26 15:59:57 UTC
(In reply to Edson Tirelli from comment #1)
> This is odd as it was working before.

Yes, but we changed how incremental builds are triggered inside the UI since then... a work-around exists: open Data Modeller, change something and save it. This forces the internal KieBuilder cache to be invalidated. A subsequent re-build of a project then re-creates the KieBuilder with the correct kmodule.xml.

Comment 4 manstis 2013-12-06 14:45:13 UTC
*** Bug 1039078 has been marked as a duplicate of this bug. ***

Comment 6 Marek Baluch 2013-12-20 20:03:48 UTC
Verified on ER6.