[jbosstools-issues] [JBoss JIRA] (JBIDE-10697) when pushing app the server says publishing and module says "synchronized"

Rob Stryker (JIRA) jira-events at lists.jboss.org
Tue Apr 10 05:08:48 EDT 2012


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

Rob Stryker commented on JBIDE-10697:
-------------------------------------

this seems to be a synchronization issue somehow on WTP's side.   I tested using non-openshift server, but a regular as7 server adapter with a project containing 3000 class files.  The full publish action sets the module publish states to resynch needed. If i set a breakpoint after the module publish state resets, but before the publish executes, the status in the view updates before the publish begins, and then updates itself to synchronized after the publish is over.  

If I add a one second delay before kicking off the publish, an ear projcet / web project will accurately show that they need to be republished. If you are publishing a large web project standalone, the view will accurately state resynch needed during the entire publish.  However, if your web is nested under an ear, and you full-publish the ear project, as soon as the ear project finishes it's republish (which is before the web project even begins its own), the ear status is updated immediately, the view collapses the expansion to see the web project, and, if you re-expand it, the web project shows no decorator information. 

Basically, this seems like some upstream wtp issue. My full publish actions already set the module restart state accurately.  The best I can do is add a one second delay before kicking off the publish job so that the view can update its status before the dialog comes up.  
                
> when pushing app the server says publishing and module says "synchronized"
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-10697
>                 URL: https://issues.jboss.org/browse/JBIDE-10697
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers, openshift
>            Reporter: Max Rydahl Andersen
>            Assignee: Rob Stryker
>            Priority: Minor
>             Fix For: 3.3.0.Beta3
>
>
> module's says "synchronized" even though it is actually "Synchronzing"
> how to reproduce: publish large app with enough changes via openshift server to have it take enough time to show progress bar.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list