[JBoss JIRA] (JBIDE-22878) EAR deployed from DevStudio to EAP contains errorneously named ejbs
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22878?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-22878:
---------------------------------------
Rob and I went through this together and we are both able to replicate seeing the version number in simple-ejb filename when deployed as a compressed ear, but not when the ear is deployed as expanded or if you export the ear. Rob is investigating the issue further.
> EAR deployed from DevStudio to EAP contains errorneously named ejbs
> -------------------------------------------------------------------
>
> Key: JBIDE-22878
> URL: https://issues.jboss.org/browse/JBIDE-22878
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.2.3.Final, 4.4.0.Final
> Environment: I've observed this problem on a Win7 64 bit machine with Oracle JRE 1.8.0_102 64 bit. It was present in both JBoss Developer Studio 8.1.0.GA and 10.0.0.GA when used in conjunction with embedded Maven installation and JBoss EAP 6.4 target runtime.
> Reporter: Mikhail Kalkov
> Assignee: Rob Stryker
> Fix For: 4.5.0.AM1
>
> Attachments: JBIDE-22878-deployment-assembly.png, screendump.png, test-ear.ear, test-projects.zip
>
>
> I've created a maven-based EAR project that contains serveral ejb modules some of which come from workspace whereas others are downloaded from binary artifact repository. All modules have bundleFileName specified as module-name.jar in order to override the default module-name-version.jar.
> When I right-click on an EAR project and choose Export..., a correct EAR file is built, which looks exactly the same as when I build it from command line. However, when I add this project to an EAP 6.4 server, and check "Deploy projects as compressed archives" option, an EAR with erroneously named ejbs is deployed. the bundleFileName option is namely ignored for EJBs that come from binary artifact repository. See attached screenshot.
> This problem makes it extremely difficult to debug issues that arise only with zipped ear deployments. The only workaround is to comment out bundleFileName lines in test-ear pom.xml as well as possibly fix filenames in persistence.xml, and remember to revert these changes before committing!
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (JBIDE-23567) Integration tests global refactoring
by Jeff MAURY (JIRA)
Jeff MAURY created JBIDE-23567:
----------------------------------
Summary: Integration tests global refactoring
Key: JBIDE-23567
URL: https://issues.jboss.org/browse/JBIDE-23567
Project: Tools (JBoss Tools)
Issue Type: Task
Components: integration-tests
Reporter: Jeff MAURY
Fix For: 4.4.3.AM1
We should done some work on integration tests so that we can rely on them to improve our code quality and reduce the technical debt.
A sprint will be dedicated.
Here are the tasks we should work on:
* run tests from Maven and document how to run them if specific steps are required
* If failure, fix the failed tests
* Refactor / move tests to the components repository
* Fix/make sure tests are run in PR check
This huge task should be done component per component. Sub-tasks JIRA will be created for each component.
You can use this document as a starting point:[https://docs.google.com/document/d/1bl8pJ2aW65UpyGpr3qxoAUREDWL26N...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months