[jbosstools-issues] [JBoss JIRA] (JBIDE-18508) EAR Maven project loses lib/ artifacts deployed to EAP broken after closing/reopening

Fred Bricon (JIRA) issues at jboss.org
Mon May 4 10:16:46 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-18508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065031#comment-13065031 ] 

Fred Bricon commented on JBIDE-18508:
-------------------------------------

So the underlying problem is events sent went reopening projects are not sorted per project dependency.
So the EAR is configured first, then the EJB. Given we're still on the same workspace lock, no other events are sent, to tell the EAR that EJB has been imported.

This needs to be fixed in m2e, but that will require delicate tuning, because projects dependency needs to be fully loaded when the events are sent, which can only happen ... after some events were sent. Typical chicken-egg problem.

Given the workaround is simply to force project configuration update, I'll punt that issue for a while.

> EAR Maven project loses lib/ artifacts deployed to EAP broken after closing/reopening
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-18508
>                 URL: https://issues.jboss.org/browse/JBIDE-18508
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven, upstream
>    Affects Versions: 4.1.2.Final
>            Reporter: Marek Schmidt
>            Assignee: Fred Bricon
>              Labels: f2f2014
>             Fix For: LATER
>
>         Attachments: seam-restbay-src.zip
>
>
> EAR Maven project loses lib/ artifacts deployed to EAP after closing/reopening
> 0. setup the redhat techpreview/all maven repository
> 1. Import the (attached) project as Maven project 
> 2. Deploy the restbay-ear project to EAP 6.2 (or 6.3)
> 3. Close all 4 subprojects of the restbay project
> 4. reopen all the restbay projects
> 5. now the application will automatically redeploy
> 6. this redeployment will result in a failure.
> If you compare the deployment folders before/after the closing/reopening of the project, you will notice some of the restbay-ear.ear/lib/ libraries are missing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list