[jbosstools-issues] [JBoss JIRA] (JBIDE-12823) Compilation error in JSF project

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Oct 10 18:32:03 EDT 2012


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

Viacheslav Kabanovich edited comment on JBIDE-12823 at 10/10/12 6:31 PM:
-------------------------------------------------------------------------

To fix the problem, we should set runtime to data model before project creation rather than to the project after it is created. To prevent a deadlock, we should run the creation operation in the same mode as New Dynamic Web project wizard does it (fork=true, cancelable=false), we did exactly opposite.
                
      was (Author: scabanovich):
    To fix the problem we should set runtime to data model rather then to the project after it is created. To prevent a deadlock, we should run the creation operation in the same mode as New Dynamic Web project wizard does it (fork=true, cancelable=false), we did exactly opposite.
                  
> Compilation error in JSF project
> --------------------------------
>
>                 Key: JBIDE-12823
>                 URL: https://issues.jboss.org/browse/JBIDE-12823
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 4.0.0.Alpha2
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.0.0.Beta1
>
>
> 1. Open Eclipse
> 2. Create a new JSF project (2.0 or 2.1) - JSFKickStartWithoutLibs using New JSF Project wizard
> 3. FAILURE: User.java has compilation errors since javax.* can't be found.
> 4. Clean/re-build the project. Compilation errors are gone.
> 5. Create one more JSF project. Now there are no errors.
> 6. Close Eclipse. Open it again. Steps 2-5 are reproducible again.
> Not sure that's a bug of JSF Tools. Maybe it's an upstream bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list