|
[
Permlink
| « Hide
]
Dan Tran added a comment - 23/Jan/06 09:48 PM
Would this http://jira.codehaus.org/browse/SCM-67
I will try setting that option (to delete local files) and see if that is what was causing my pain. You might want to check out the "bco" program and use it in place of "stcmd". "bco" is way way faster. Ok, it isnt a deleted (local) file issue. for some reason, its not always getting the current contents of starteam. Seems like it sometimes skips some files. The only corrective measure I can take is to blow away the working-directory and let it recheck everything out. I'm suspecting this has something to do with how files are checked out of starteam.
stcmd co -x -nologo -stop -p bobh@starteam2:49303/PR-j/PR-j -fp /home/bobh/continuum-1.0.2/apps/continuum/working-directory/1 -merge -neverprompt -is stcmd delete-local -x -nologo -stop -p bobh@starteam2:49303/PR-j/PR-j -fp /home/bobh/continuum-1.0.2/apps/continuum/working-directory/1 -is -filter N These commmands look fine. Although we have had problems doing incremental builds with AntHill too. So I suspect something funny with starteam. I am using continuum with starteam provider for quite sometime, so far i am very happy about it.
I encounter http://jira.codehaus.org/browse/SCM-117 Agree that starteam is acting funny at your side. We can force the update as full checkout, but it is not a ultimate so solution, since will take longer. full checkout has 7524 files (most .jsp and .java files) I found by renaming "stccmd" and "stcmd.lax" to; "stcmd.real" and "stcmd.real.lax", that I can substitute this script for stcmd, if [ "$1" = "co" ] Naturally this is a tad specific to my env, although it could be generalized. I find that my problems have gone away.... The output of bco is different enough that it doesnt detect file changes. So the "stcmd" to "bco" thing is only really useful if you only always force builds (and don't mind that it always says No Changes.) I'm experimenting some more, trying to get this stuff to work correctly. Will keep this bug advised of developements Does anybody have a solution yet for this problem?
I have the same problem too and it seems that starteam has sometimes troubles with updating the status of the files. Maybe this can be solved by using the update-status command (stcmd update-status ...) first before doing the checkout from starteam. I think this will solve most of the problems. I made a small modification to the maven-scm-provider-starteam plugin in my own continuum installation (version 1.0.3). In this modification i do a update-status command just before the checkout command (class StarteamUpdateCommand).
Some small tests showed to me that it works. So, i hope that someone can pick up this issue and implement this change for future releases. When necessary, i can provide a patch. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||