Bug 843439
Summary: | URLs are changed if Sportsclub example is deployed via JBDS | ||
---|---|---|---|
Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Tomas Repel <trepel> |
Component: | Examples, Spring | Assignee: | Marius Bogoevici <mariusb> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas Repel <trepel> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.0.0.GA | CC: | bsutter, irooskov, kpiwko, lpearce, mnovotny, rruss, vdedik |
Target Milestone: | CR1 | ||
Target Release: | 2.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | sportsclub | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, Sportsclub projects deployed using JBoss Developer Studio displayed example access URLs that differed from the URLs projects displayed when deployed using Maven. With Web Framework Kit 2.1, the URLs to access the examples now appear uniform regardless of the tool used for packaging and deployment.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-30 15:33:57 UTC | Type: | Enhancement |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tomas Repel
2012-07-26 10:36:28 UTC
Copying solution from JBIDE-12369: You need to remove the <earSourceExcludes>**/application.xml</earSourceExcludes> from your ear plugin config. And update the ear project configuration (right click on project > Maven > Update project configuration. Basically all exclusion patterns in the pom are translated to packaging exclusion patterns in WTP / the JBoss AS server adapter. There's no easy way to match that maven feature in WTP, so it's a trade-off and you've hit one of the corner cases. I removed <earSourceExcludes>**/application.xml</earSourceExcludes> from all sportsclub examples. http://git.app.eng.bos.redhat.com/?p=snowdrop/snowdrop-examples.git;a=commitdiff;h=c2d2c394fa06b3fa77e4f7c1d88392f7016609b7 Only sportsclub-ear/pom.xml files for all spring variants have been fixed. The same fix has to be applied to sportsclub-jpa-ear/pom.xml files for all spring variants. Ok, done - I applied the fix for all sportsclub-jpa-ear/pom.xml files. Verified in WFK 2.1.0.CR1 and JBDS 5.0.1.GA. Distributed as a part of WFK 2.1.0.GA release. |