[Anthill] Doesn't match label, checkin, or other

Marcio Marchini marcio at bedarra.com
Thu Dec 1 14:05:52 CST 2005


	You are giving me date ranges for when the project did not exist yet. 
Are you aure that's what you want?

"\\develdata01\sourcesafe\Foobar3\win32\ss" history -Y"builds" -R -I-Y 
-vd10/01/2005;10:08A~10/27/2005;09:49P


	The project did not exist in this date range.

	Anyway... I ran it, and I see errorlevel=100


	If I pass a range for today, I get this:


"\\develdata01\sourcesafe\Foobar3\win32\ss" history -Y"builds" -R -I-Y 
-vd12/01/05;10:08A~12/01/05;03:49
P
Project $BASE has been destroyed, and cannot be rebuilt.
Continue anyway?(Y/N)Y
Version not found


  errorlevel=100 in this case too.


marcio

varban wrote:
> Sorry, I missed that part.
> 
> Anyway, I looked a little further and I found out that the "Doesn't 
> match label, checkin, or other..." message will appear if there are no 
> revisions, but the message itself is not an error message. The error 
> comes from the fact that the ss command exits with code other than 0. 
> And the reason for that might be the error message that you got when you 
> ran all 3 commands together. On the other hand you said that everyting 
> was running fine before you changed the clock yestarday. Now, if you 
> notice the history command takes a date range and I am curious to find 
> out if vss is having a problem with that. Did the server with the 
> repository change time too and did it restart if so?
> 
> Let's try and do the 3 separate commands, but after the third one do an
> echo %errorlevel%
> and see if that returns 0.
> Also try the same first two commands, but use this for the third one:
> 
> "\\develdata01\sourcesafe\Foobar3\win32\ss" history -Y"builds" -R -I-Y 
> -vd10/01/2005;10:08A~10/27/2005;09:49P
> 
> and do an
> echo %errorlevel%
> right afer that.
> 
> Varban
> Marcio Marchini wrote:
> 
>>
>>     I tried that already (in pieces). Did you not red my comment "If I 
>> try the commands individually, I get no output from the last command"?
>>
>>     Anyway, here it is again:
>>
>>
>> varban wrote:
>>
>>> Ok, that is stubborn. Let's try few commands in a row.
>>>
>>> first
>>> cd /d "C:\java\anthill-1.8.0.264\work\ContinuousBuildExample"
>>
>>
>>
>>
>> =>works
>>
>>> then
>>> "\\develdata01\sourcesafe\Foobar3\win32\ss" cp 
>>> "$/ContinuousBuildExample" -Y"builds"
>>
>>
>>
>>
>> =>Current project is $/ContinuousBuildExample
>>
>>
>>> then
>>> "\\develdata01\sourcesafe\Foobar3\win32\ss" history -Y"builds" -R 
>>> -I-Y -vd11/01/2005;10:08A~11/29/2005;09:49P
>>
>>
>>
>> => No output.
>>
>>
>>
>>
>> marcio
>>
>>
>>
>>>
>>>
>>> This should eliminate the && confusion from before.
>>> Marcio Marchini wrote:
>>>
>>>>
>>>>     If I try the full thing you sent, from a command prompt, I get:
>>>>
>>>> Username: builds &&
>>>> Password: **************
>>>> User "builds &&" not found
>>>>
>>>>     It must be thinking it must ask for the password interactively 
>>>> (we have
>>>> an empty password).
>>>>
>>>>     If I try the commands individually, I get no output from the 
>>>> last command.
>>>>
>>>>     If I try the following history:
>>>>
>>>> history -R -I-Y -vd11/01/2005;10:08A~12/01/2005;09:49P"
>>>>
>>>>     I get output:
>>>>
>>>> Version not found
>>>>
>>>>
>>>>     Any other suggestion?
>>>>
>>>>
>>>>     Note: everything was working just fine. Things started to fail like
>>>> this 12:30AM today. Notice that we had a month change from yesterday to
>>>> today. I bet this is related.
>>>>
>>>>
>>>> marcio
>>>>
>>>>
>>>> varban wrote:
>>>>
>>>>> try this one
>>>>>
>>>>> cmd /x/c "cd /d 
>>>>> "C:\java\anthill-1.8.0.264\work\ContinuousBuildExample" && 
>>>>> "\\develdata01\sourcesafe\Foobar3\win32\ss" cp 
>>>>> "$/ContinuousBuildExample" -Y"builds" &&
>>>>>  "\\develdata01\sourcesafe\Foobar3\win32\ss" history -Y"builds" -R 
>>>>> -I-Y -vd11/01/2005;10:08A~11/29/2005;09:49P"
>>>>>
>>>>>
>>>>> Marcio Marchini wrote:
>>>>>
>>>>>>
>>>>>>     That produces no output to the DOS console either.
>>>>>>
>>>>>>     I have not heard from the VSS guru yet, so I have no news 
>>>>>> about the date format or any other possible issue.
>>>>>>
>>>>>> marcio
>>>>>>
>>>>>> varban wrote:
>>>>>>
>>>>>>> I just need to see a revision log, you could probably try this:
>>>>>>>
>>>>>>> "\\develdata01\sourcesafe\Foobar3\win32\ss" history -R -I-Y 
>>>>>>> -vd11/01/2005;10:08A~11/29/2005;09:49P"
>>>>>>>
>>>>>>> Marcio Marchini wrote:
>>>>>>>
>>>>>>>> Hi Varban,
>>>>>>>>
>>>>>>>>     Do you mrean this part of my email:
>>>>>>>>
>>>>>>>> 3) "\\develdata01\sourcesafe\Foobar3\win32\ss" history 
>>>>>>>> -Y"builds" -R -I-Y -vd12/01/2005;10:08A~11/29/2005;09:49P"
>>>>>>>> output===> nothing. No error message, no positive message either.
>>>>>>>>
>>>>>>>>
>>>>>>>>     Basically I get nothing from this VSS command. Could this be 
>>>>>>>> confusing Anthill?
>>>>>>>>
>>>>>>>>     I just emailed the VSS guru asking if the date format is 
>>>>>>>> correct (MM/dd/yyyy;hh:mma). That was teh only thing I could 
>>>>>>>> think of myself.
>>>>>>>>
>>>>>>>>     Ideas?
>>>>>>>>
>>>>>>>> marcio
>>>>>>>>
>>>>>>>> varban wrote:
>>>>>>>>
>>>>>>>>> Hi Marcio,
>>>>>>>>>
>>>>>>>>> this happens when Anthill tries to parse the revision log. Then 
>>>>>>>>> it looks for particular clues and patterns in order to 
>>>>>>>>> recognise the different parts of the revision log. If at one 
>>>>>>>>> point the revision log contains something that Anthill cannot 
>>>>>>>>> recognize, you get the "Doesn't match label, checkin, or 
>>>>>>>>> other..." message. If you could send me the output from the 
>>>>>>>>> history command I can take a look and see what the problems is.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Varban
>>>>>>>>>
>>>>>>>>> Marcio Marchini wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>>     Any idea what is causing this Anthill error? The build log 
>>>>>>>>>> says:
>>>>>>>>>>
>>>>>>>>>> FAILED to get revision list.  Message: Exception when getting 
>>>>>>>>>> revisions.
>>>>>>>>>>
>>>>>>>>>>     And here's the exception:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 10:08:39:372 [Thread - AnthillBuildDaemon] INFO 
>>>>>>>>>> com.urbancode.anthill.adapter.VSSRepositoryAdapter  - get 
>>>>>>>>>> revisions since command: cmd /x/c "cd /d 
>>>>>>>>>> "C:\java\anthill-1.8.0.264\work\ContinuousBuildExample" && 
>>>>>>>>>> "\\develdata01\sourcesafe\Foobar3\win32\ss" cp 
>>>>>>>>>> "$/ContinuousBuildExample" -Y"builds" &&
>>>>>>>>>>  "\\develdata01\sourcesafe\Foobar3\win32\ss" history 
>>>>>>>>>> -Y"builds" -R -I-Y -vd12/01/2005;10:08A~11/29/2005;09:49P"
>>>>>>>>>>
>>>>>>>>>> 10:08:39:904 [Thread - AnthillBuildDaemon] DEBUG 
>>>>>>>>>> com.urbancode.anthill.adapter.VSSRepositoryAdapter  - Doesn't 
>>>>>>>>>> match label, checkin, or other...
>>>>>>>>>> 10:08:39:919 [Thread - AnthillBuildDaemon] ERROR 
>>>>>>>>>> com.urbancode.anthill.BuildManager  - Exception when getting 
>>>>>>>>>> revisions.
>>>>>>>>>> com.urbancode.anthill.adapter.RepositoryException: Exception 
>>>>>>>>>> when getting revisions.
>>>>>>>>>>     at 
>>>>>>>>>> com.urbancode.anthill.adapter.VSSRepositoryAdapter.getRevisionsSince(VSSRepositoryAdapter.java:211) 
>>>>>>>>>>
>>>>>>>>>>     at 
>>>>>>>>>> com.urbancode.anthill.BuildManager.loadRevisions(BuildManager.java:287) 
>>>>>>>>>>
>>>>>>>>>>     at 
>>>>>>>>>> com.urbancode.anthill.BuildManager.build(BuildManager.java:215)
>>>>>>>>>>     at 
>>>>>>>>>> com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231) 
>>>>>>>>>>
>>>>>>>>>>     at 
>>>>>>>>>> com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158) 
>>>>>>>>>>
>>>>>>>>>>     at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>     Any idea why the "Doesn't match label, checkin, or 
>>>>>>>>>> other..." ? If I execute the commands individually they seem 
>>>>>>>>>> to work.
>>>>>>>>>>
>>>>>>>>>> 1) cd /d "C:\java\anthill-1.8.0.264\work\ContinuousBuildExample"
>>>>>>>>>> ==> changes dir ok
>>>>>>>>>>
>>>>>>>>>> 2)"\\develdata01\sourcesafe\Foobar3\win32\ss" cp 
>>>>>>>>>> "$/ContinuousBuildExample" -Y"builds"
>>>>>>>>>> output=> Current project is $/ContinuousBuildExample
>>>>>>>>>>
>>>>>>>>>> 3) "\\develdata01\sourcesafe\Foobar3\win32\ss" history 
>>>>>>>>>> -Y"builds" -R -I-Y -vd12/01/2005;10:08A~11/29/2005;09:49P"
>>>>>>>>>> output===> nothing. No error message, no positive message either.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>     Ideas?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> marcio
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Anthill mailing list
>>>>>>>>>> Anthill at lists.urbancode.com
>>>>>>>>>> http://lists.urbancode.com/mailman/listinfo/anthill
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Anthill mailing list
>>>>>>>>> Anthill at lists.urbancode.com
>>>>>>>>> http://lists.urbancode.com/mailman/listinfo/anthill
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Anthill mailing list
>>>>>>>> Anthill at lists.urbancode.com
>>>>>>>> http://lists.urbancode.com/mailman/listinfo/anthill
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Anthill mailing list
>>>>>>> Anthill at lists.urbancode.com
>>>>>>> http://lists.urbancode.com/mailman/listinfo/anthill
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Anthill mailing list
>>>>>> Anthill at lists.urbancode.com
>>>>>> http://lists.urbancode.com/mailman/listinfo/anthill
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Anthill mailing list
>>>>> Anthill at lists.urbancode.com
>>>>> http://lists.urbancode.com/mailman/listinfo/anthill
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Anthill mailing list
>>>> Anthill at lists.urbancode.com
>>>> http://lists.urbancode.com/mailman/listinfo/anthill
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Anthill mailing list
>>> Anthill at lists.urbancode.com
>>> http://lists.urbancode.com/mailman/listinfo/anthill
>>
>>
>>
>> _______________________________________________
>> Anthill mailing list
>> Anthill at lists.urbancode.com
>> http://lists.urbancode.com/mailman/listinfo/anthill
> 
> 
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill




More information about the Anthill mailing list