Bug 825268

Summary: Errai jars contain java source files
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Petr Široký <psiroky>
Component: Build ProcessAssignee: Ryan Zhang <rzhang>
Status: CLOSED NOTABUG QA Contact: Petr Široký <psiroky>
Severity: low Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: atangrin, brms-jira, manstis, porcelli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-04 16:10:48 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 Petr Široký 2012-05-25 13:59:09 UTC
Description of problem:
Errai jars (errai-bus-1.1.Final.jar and errai-common-1.1.Final.jar) that are bundled with business-central.war and jbpm-gwt-console-server.war contain appart from class files also Java source files. This is not breaking anything, but it is not standard practice to include source files into jars.

Comment 1 Alexandre Porcelli 2012-05-25 21:57:07 UTC
Definitely this this is not a standard practice, but Errai is a GWT related tool and GWT related libraries usually must provide the source code bundled with it's jars. 
Note that GWT needs those source files in order to transform them into JS code.

Comment 2 manstis 2012-05-25 22:04:53 UTC
(In reply to comment #1)
> Definitely this this is not a standard practice, but Errai is a GWT related
> tool and GWT related libraries usually must provide the source code bundled
> with it's jars. 
> Note that GWT needs those source files in order to transform them into JS
> code.

+1

Comment 3 Petr Široký 2012-09-04 16:10:48 UTC
I see. We can't do much about that, so closing as not a bug.