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

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


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

Viacheslav Kabanovich commented on JBIDE-12823:
-----------------------------------------------

Sometimes, new project has no runtime. That happens, because we add runtime in a job, while another job, started by Java script plugin (ConvertJob), configures the new project. I checked in debug mode the failing sequence of events: 
(1) Project is created initially without runtime; 
(2) Java script's ConvertJob starts and creates working copy of the new project;
(3) Our RuntimeJob starts and adds runtime to the new project (if ConvertJob is suspended in debugger, one can make sure in Studio that the new project has the runtime);
(4) ConvertJob commits changes to the new project, and since its working copy has no runtime, it is removed.

If event (3) happens before (2) or after (4), then the runtime is set to the project.
                
> 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