[jbosstools-issues] [JBoss JIRA] (JBIDE-19536) Infinite job loop when creating project

Vsevolod Golovanov (JIRA) issues at jboss.org
Fri Sep 4 08:25:00 EDT 2015


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

Vsevolod Golovanov commented on JBIDE-19536:
--------------------------------------------

I think, my problem is not really related to this task...
I've attached [^workspace_jbds9_endless_building_loop.rar].
The problem began to reproduce when I configured metamodel generation (APT processing) in the root project.
This triggered m2e to consider the ear project to contain java sources too (this is not the case with JBDS8): it adds Java Nature, considers the whole ear project directory to be its sources, and sets the output directory to be "bin" inside the ear project directory. The output directory is thus inside the "source" directory. I think, this is what creates the endless building loop.
So the problem seems to be:
* Our weird configuration results in ear project having maven-compiler-plugin and maven-processor-plugin configured.
* The newer m2e versions started adding Java Nature to such ear projects.

> Infinite job loop when creating project
> ---------------------------------------
>
>                 Key: JBIDE-19536
>                 URL: https://issues.jboss.org/browse/JBIDE-19536
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>    Affects Versions: 4.3.0.Alpha1
>            Reporter: Rastislav Wagner
>            Assignee: Snjezana Peco
>              Labels: xtriage
>             Fix For: 4.3.x
>
>         Attachments: building.png, cdi_jstack, jstack.out, threaddump-1440009974151.tdump, threaddump-1440009999047.tdump, threaddump-1440010035476.tdump, workspace_jbds9_endless_building_loop.rar
>
>
> Sometimes i end up in infinite job loop after creating a CDI project. There's no description of what jobs are running, not exception in log. In progress view I can see only "Building workspace (sleeping)" -see on video https://vimeo.com/123634974
> I was able to reproduce on CDI projects (1.0,1.2) but not on any other (Dynamic Web..)



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list