Bug 983510

Summary: WorkDefinitions.wid file not included in jar file after deployment.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: Business CentralAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: kverlaen
Target Milestone: ER5   
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:12: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:
Embargoed:

Description Marek Baluch 2013-07-11 10:59:04 UTC
Description of problem:
When a new BPMN 2 process is created in a new project then a WorkDefinition.wid file is generated. When I try to build the project then the jar file does not include the WorkDefinition.wid file but only the process file.

How to reproduce:
1) create a new project
2) create a new package in the src/resources directory
3) create a new BPMN2 process.
4) optionaly refresh the view for Guvnor to detect the WorkDefinition.wid file (BZ-983509)
5) build the project

Expected result:
Both process file and wid file present in the jar file.

Actual result:
Only process file present in the jar file

Affected version:
DR6

Comment 2 Mauricio Salatino 2013-07-11 22:24:49 UTC
This is once again related with the policies to build kjars

Comment 3 manstis 2013-09-05 20:21:08 UTC
I checked a project that has a WID added manually (i.e. not via creation of a process) and it is included in the resulting KJAR. Suspect there is a problem with how WID files are created and added to the project when created along with a process. Assigning to Tiho to check.

Steps I did:-
1) Select project
2) Create new valid Work Item Definition
3) Save
4) Build & Deploy project
5) Check JAR in .m2 (it contains the WID)

Comment 4 Kris Verlaenen 2013-10-09 17:06:11 UTC
This seems to no longer be reproducable in CR4.

Comment 5 Marek Baluch 2013-11-23 15:08:26 UTC
Verified on ER5.