[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8756) Importing a standard JSF project from outside the workspace produces infinite build

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Apr 19 18:53:33 EDT 2011


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

Viacheslav Kabanovich commented on JBIDE-8756:
----------------------------------------------

I reproduced disappearing web.xml and found who is responsible for it.

It is done by org.eclipse.wst.jsdt.core.javascriptValidator in class org.eclipse.wst.jsdt.internal.core.builder.IncrementalImageBuilder

This behavior takes place if an external project is imported with 'Create Eclipse project in workspace' checked. In this case, the workspace project contains links to folders of the original external project so that auxiliary files (.project, .classpath, etc) are not appended to the external project. It seems that IncrementalImageBuilder makes mistake, when estimating if a modified resource is inside the output folder, and removes web.xml as a file to be rebuilt. I think we need to report that to Eclipse bugzilla but first we need to reproduce it on a simple case that does not involve JBoss Tools.


> Importing a standard JSF project from outside the workspace produces infinite build
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-8756
>                 URL: https://issues.jboss.org/browse/JBIDE-8756
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 3.2.0.Final
>         Environment: JBoss 3.2
> Ubuntu
>            Reporter: Max Katz
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.1, 3.3.x
>
>
> Import a standard JSF project from outside the workspace
> Project is imported fine, however it goes into some sort of infinite build problem. See screen shot. 
> In one instance, the web.xml file was deleted as well (copying it back, the file would be deleted again)
> http://img6.imagebanana.com/img/2b5sj6eo/jboss3.2_infinite_build.png
> There are no problem when the project is imported from within the workspace. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list