# Clearcase Polling

8 messages
Open this post in threaded view
|

 I was just trying to enable the polling mechanism in Clearcase and it looked like it was working, except that when there were changes in the build, it did not trigger any builds, the UCM polling log said that there were no changes even though the lshistory showed several checkins and a couple added files. My thought on this is that the regular expression for matching the history lines is not actually matching the events because there is are some single quotes in the output format like this: ''"20090707.170648" "username" "path\to\somefile.c" "\main\APP_Int\49" "create version" "checkin" "deliver.APP_username.20090707.170506" There are two single quotes at the front. I think this comes from the string that is passed to the shell: $cleartool lshistory -r -since 8-jul-09.01:28:41utc+0000 -fmt '"\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n"' -branch brtype:APP_Int -nco app_foo app_foo2 You can see it has a single quote at the beginning and a single quote at the end before the first double quotes and after the last double quotes. I am not sure why these are there. -- slide-o-blog http://slide-o-blog.blogspot.com/--------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] Reply | Threaded Open this post in threaded view | ## Re: Clearcase Polling  Hi -This is the second report I've seen of this - I'm not yet sure what the cause is. You may want to try an older version of the ClearCase plugin, such as 0.8.4.A.On Tue, Jul 7, 2009 at 8:46 PM, Slide wrote: I was just trying to enable the polling mechanism in Clearcase and it looked like it was working, except that when there were changes in the build, it did not trigger any builds, the UCM polling log said that there were no changes even though the lshistory showed several checkins and a couple added files. My thought on this is that the regular expression for matching the history lines is not actually matching the events because there is are some single quotes in the output format like this: ''"20090707.170648" "username" "path\to\somefile.c" "\main\APP_Int\49" "create version" "checkin" "deliver.APP_username.20090707.170506" There are two single quotes at the front. I think this comes from the string that is passed to the shell:$ cleartool lshistory -r -since 8-jul-09.01:28:41utc+0000 -fmt '"\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n"' -branch brtype:APP_Int -nco app_foo app_foo2 You can see it has a single quote at the beginning and a single quote at the end before the first double quotes and after the last double quotes. I am not sure why these are there. -- slide-o-blog http://slide-o-blog.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email]
Open this post in threaded view
|