Bug 832389
| Summary: | Errai: Broken EAR scanning on Windows | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Karel Piwko <kpiwko> | ||||
| Component: | Errai | Assignee: | Pavel SLegr <pslegr> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | thradec | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 2.0.0.ER8 | CC: | cbrock, csadilek, jfuerth, kpiwko, mnovotny, myarboro, pslegr, rnewton, thradec | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 2.0.0.CR1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Windows | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: |
Windows 2008 r2 64bit
JDK 7
|
|||||
| Last Closed: | 2012-06-22 07:32:18 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: | |||||||
| Attachments: |
|
||||||
|
Description
Karel Piwko
2012-06-15 09:56:40 UTC
This bug is in class `org.jboss.errai.common.metadata.PackagingUtil` method `findActualDeploymentFile`, where is like path separator used string "/" instead `File.separator`. Const `File.separator` should be used as well another places.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Annotation scanning of WARs included in EAR package does not work properly in Windows based environments.
Patch en route from QE will be attached to this bug and then pslegr will include the patch in an Errai re-build Created attachment 592702 [details]
Patch
Tomas Hradec <thradec> made a comment on jira ERRAI-322 patch
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1 +1 @@
-Annotation scanning of WARs included in EAR package does not work properly in Windows based environments.+Annotation scanning of WARs included in EAR package did not work properly in Windows based environments but this issue is fixed in the JBoss Web Framework Kit 2 release.
backported into Errai-2.0.1 - WFK2 CR1 with http://git.app.eng.bos.redhat.com/?p=errai/errai.git;a=commit;h=9c24a52cb135b43e1bb122f1e00b27e30cfd07aa Pavel Slegr <pslegr> updated the status of jira ERRAI-322 to Coding In Progress Pavel Slegr <pslegr> made a comment on jira ERRAI-322 Fixed upstream with https://github.com/pslegr/errai/commit/b134244cb0a02f0c7cb6ffdd32763bb25c5b7d18 & asked for pull into 2.0.1 and 2.1.0 https://github.com/errai/errai/pull/7, https://github.com/errai/errai/pull/8 new build with fix was picked up in WFK aggregator build Christian Sadilek <csadilek> updated the status of jira ERRAI-322 to Resolved Christian Sadilek <csadilek> made a comment on jira ERRAI-322 Thanks! Pull requests merged. Deleted Technical Notes Contents. Old Contents: Annotation scanning of WARs included in EAR package did not work properly in Windows based environments but this issue is fixed in the JBoss Web Framework Kit 2 release. Verified, classpath scanning works correctly on windows. Christian Sadilek <csadilek> updated the status of jira ERRAI-322 to Closed |