[ 
https://issues.jenkins-ci.org/browse/JENKINS-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158867#comment-158867
 ] 

Gordon Palumbo commented on JENKINS-3405:
-----------------------------------------

I made changes available in git://github.com/gpalumbo/starteam-plugin.git that 
address this issue

                
> Workspace not being updated properly when files are deleted from the SCM 
> system
> -------------------------------------------------------------------------------
>
>                 Key: JENKINS-3405
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-3405
>             Project: Jenkins
>          Issue Type: Bug
>          Components: starteam
>    Affects Versions: current
>         Environment: Platform: All, OS: Linux
>            Reporter: dsilk01
>            Assignee: Gordon Palumbo
>            Priority: Critical
>
> In the StarTeam plugin for Hudson, when the file changes are detected in the 
> code (StarTeamConnection.java) the checkout method fails to do anything with 
> files that are on local disk but not in the starteam repo.  In this case, the 
> files would normally show up as "not in view" in a regular starteam client 
> meaning that they are not present in the repository but they are in the 
> working 
> path on disk.  The plugin seems to report these files were changed in the 
> changelog, but they are simply gone from the repo.  
> In the switch statement in the checkout method, it looks like you just need 
> to 
> add "Status.NEW" to the list of status that will initiate a delete of the 
> file 
> on local disk.  I have not considered the affect on the changelog, but my 
> hope 
> is it will be nothing.  I am not setup to build the plugin right now, but 
> will 
> try to get some time to test my theory in the next week or so.  In the 
> meantime, if someone can make the fix, I would be glad to test it.

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

        

Reply via email to