-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Platform: All, OS: Linux
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.