[Anthill] Doesn't match label, checkin, or other
Marcio Marchini
marcio at bedarra.com
Thu Dec 1 14:46:12 CST 2005
Hi Varban,
I have good news, finally. The VSS date format is dd/MM according to
the VSS guru here, and now MM/dd. I changed it, and now it seems to
work. Whew!
Here's my answer to your questions (in case you are curious):
Yes, I did run the 3 in order. After the 2nd command it printed:
Current project is $/ContinuousBuildExample
By the time I ran the 3rd command, it printed $BASE.
I just ran the 3 commands again. You won't believe it. After the 2nd I get:
Current project is $/ContinuousBuildExample
but after the 3rd, this time I got:
Project $Garbage has been destroyed, and cannot be rebuilt.
Continue anyway?(Y/N)Y
Version not found
My guess? Maybe another user is logged in, and trying things as well (I
did ask the VSS guru to look into it). Is there any chance that 2 users
on the same machine could hose each other? I mean, how does VSS keep
track of the current project after you run something like
\\develdata01\sourcesafe\Foobar3\win32\ss" cp "$/ContinuousBuildExample"
-Y"builds" ???
Hopefully in my home dir? Or is it globally/registry? That would be
super bad for a multi-user server box like this one...
Something else: I did not adjust any clock. I am just saying that
yesterday, 11/31, it was working. Then as the clock *naturally
advanced*, at 12:30AM 12/01 it failed to build.
marcio
varban wrote:
> Why is saying "Project $BASE has been destroyed, and cannot be rebuilt."
> ? Wasn't the project called something else? Did you do the first 2
> commands before that? You said that you did the 3 commands separately
> before and the last one did not return anything. I need to find out the
> return code from that scenario. Also I wanted to try and use a date
> range that corresponds to the date before you moved the clock so that it
> is a valid date if for some reason VSS did not detect the clock change.
> I need the exit code from that too. I have the suspicion that for some
> reason VSS is still working with the old date and the date ranges that
> Anthill is using do not exist yet. This would explain the empty output
> and error return codes.
>
> Varban
>
> Marcio Marchini wrote:
>
>>
>> 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
>>
>>
>>
>> _______________________________________________
>> 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