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.
This is odd as it was working before.
(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.
*** Bug 1039078 has been marked as a duplicate of this bug. ***
Verified on ER6.