PC Review


Reply
Thread Tools Rate Thread

Detecting missing repository files

 
 
Larry Waibel
Guest
Posts: n/a
 
      20th Jul 2005
I've noticed that I can import a component without any errors even if the
file(s) that need to go to the repository aren't found. Then I don't find
out about it until I go to do a build. Is there some way to turn on better
detection at component import time? Thanks!

 
Reply With Quote
 
 
 
 
Slobodan Brcin \(eMVP\)
Guest
Posts: n/a
 
      21st Jul 2005
Larry,

There are no files that should go to repository. Import process work is following way.

1. You can created repository node in your component project.
2. You have created one or many components that use this or/and other repositories and some files fom them (not necesarily all).
3. You place all files in repository flat folder that you have specified.
4. You import you components project.
5. CDBM will delete all files if there were from old unique repository folder in DB.
6. CDBM will copy all files from your rep folder to DB folder.
7. TD buring build phase will try to find filed in repository and if they are not there it will complain.

Based on this you can see that file fist that you made is for TD not for CDBM import puroses.

Regards,
Slobodan




"Larry Waibel" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> I've noticed that I can import a component without any errors even if the
> file(s) that need to go to the repository aren't found. Then I don't find
> out about it until I go to do a build. Is there some way to turn on better
> detection at component import time? Thanks!
>



 
Reply With Quote
 
Larry Waibel
Guest
Posts: n/a
 
      21st Jul 2005
But it seems to me that your steps 5 and 6 should find that CDBM is importing a component
that specifies a file it needs from a particular repository and if that file isn't there
it should notify me at that point. I am creating a number of
components/files/repositories that I have to formally release through our SCM group. If
some of the files are missing and I don't find out until the formal release of the TD file
then I have to do another release of each that I could have found out about much earlier.

In article <#(E-Mail Removed)>, Slobodan Brcin (eMVP) wrote:
> From: "Slobodan Brcin \(eMVP\)" <(E-Mail Removed)>
> Subject: Re: Detecting missing repository files
> Date: Thu, 21 Jul 2005 11:43:19 +0200
> Newsgroups: microsoft.public.windowsxp.embedded
>
> Larry,
>
> There are no files that should go to repository. Import process work is following way.
>
> 1. You can created repository node in your component project.
> 2. You have created one or many components that use this or/and other repositories and

some files fom them (not necesarily all).
> 3. You place all files in repository flat folder that you have specified.
> 4. You import you components project.
> 5. CDBM will delete all files if there were from old unique repository folder in DB.
> 6. CDBM will copy all files from your rep folder to DB folder.
> 7. TD buring build phase will try to find filed in repository and if they are not there

it will complain.
>
> Based on this you can see that file fist that you made is for TD not for CDBM import

puroses.
>
> Regards,
> Slobodan
>
> "Larry Waibel" <(E-Mail Removed)> wrote in message

news:(E-Mail Removed)...
> > I've noticed that I can import a component without any errors even if the
> > file(s) that need to go to the repository aren't found. Then I don't find
> > out about it until I go to do a build. Is there some way to turn on better
> > detection at component import time? Thanks!
> >

>



 
Reply With Quote
 
Andy Allred [MS]
Guest
Posts: n/a
 
      21st Jul 2005
At image build time, there is a concept of 'repository fallback logic',
meaning that when a component's files are being bin placed to the new
runtime being created, if the file is not found the platform script will
search the system repositories in a particular order until the latest
version of a filename is found. If the file is not found after that, you
receive the build error.

This is why its acceptable to import a component who's files aren't in the
associated repository folder during import.

However, i do think it would be cool to write a script that compares the
file resources of a component against the associated repository to provide
you reassurance that you're golden before importing the component.

-andy

--
Embedded team blog: http://blogs.msdn.com/embedded/

This posting is provided "AS IS" with no warranties, and confers no rights.



"Larry Waibel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> But it seems to me that your steps 5 and 6 should find that CDBM is
> importing a component
> that specifies a file it needs from a particular repository and if that
> file isn't there
> it should notify me at that point. I am creating a number of
> components/files/repositories that I have to formally release through our
> SCM group. If
> some of the files are missing and I don't find out until the formal
> release of the TD file
> then I have to do another release of each that I could have found out
> about much earlier.
>
> In article <#(E-Mail Removed)>, Slobodan Brcin (eMVP)
> wrote:
>> From: "Slobodan Brcin \(eMVP\)" <(E-Mail Removed)>
>> Subject: Re: Detecting missing repository files
>> Date: Thu, 21 Jul 2005 11:43:19 +0200
>> Newsgroups: microsoft.public.windowsxp.embedded
>>
>> Larry,
>>
>> There are no files that should go to repository. Import process work is
>> following way.
>>
>> 1. You can created repository node in your component project.
>> 2. You have created one or many components that use this or/and other
>> repositories and

> some files fom them (not necesarily all).
>> 3. You place all files in repository flat folder that you have specified.
>> 4. You import you components project.
>> 5. CDBM will delete all files if there were from old unique repository
>> folder in DB.
>> 6. CDBM will copy all files from your rep folder to DB folder.
>> 7. TD buring build phase will try to find filed in repository and if they
>> are not there

> it will complain.
>>
>> Based on this you can see that file fist that you made is for TD not for
>> CDBM import

> puroses.
>>
>> Regards,
>> Slobodan
>>
>> "Larry Waibel" <(E-Mail Removed)> wrote in message

> news:(E-Mail Removed)...
>> > I've noticed that I can import a component without any errors even if
>> > the
>> > file(s) that need to go to the repository aren't found. Then I don't
>> > find
>> > out about it until I go to do a build. Is there some way to turn on
>> > better
>> > detection at component import time? Thanks!
>> >

>>

>
>



 
Reply With Quote
 
Larry Waibel
Guest
Posts: n/a
 
      21st Jul 2005
I'll be glad to try out that script when it's available :-) I could incorporate
it into the batch file that's doing our release of components so the release
wouldn't complete successfully if the files weren't available.

In article <(E-Mail Removed)>, Andy Allred [MS] wrote:
> From: "Andy Allred [MS]" <(E-Mail Removed)>
> Subject: Re: Detecting missing repository files
> Date: Thu, 21 Jul 2005 07:59:11 -0700
> Newsgroups: microsoft.public.windowsxp.embedded
>
> At image build time, there is a concept of 'repository fallback logic',
> meaning that when a component's files are being bin placed to the new
> runtime being created, if the file is not found the platform script will
> search the system repositories in a particular order until the latest
> version of a filename is found. If the file is not found after that, you
> receive the build error.
>
> This is why its acceptable to import a component who's files aren't in the
> associated repository folder during import.
>
> However, i do think it would be cool to write a script that compares the
> file resources of a component against the associated repository to provide
> you reassurance that you're golden before importing the component.
>
> -andy
>
> --
> Embedded team blog: http://blogs.msdn.com/embedded/
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Larry Waibel" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > But it seems to me that your steps 5 and 6 should find that CDBM is
> > importing a component
> > that specifies a file it needs from a particular repository and if that
> > file isn't there
> > it should notify me at that point. I am creating a number of
> > components/files/repositories that I have to formally release through our
> > SCM group. If
> > some of the files are missing and I don't find out until the formal
> > release of the TD file
> > then I have to do another release of each that I could have found out
> > about much earlier.
> >
> > In article <#(E-Mail Removed)>, Slobodan Brcin (eMVP)
> > wrote:
> >> From: "Slobodan Brcin \(eMVP\)" <(E-Mail Removed)>
> >> Subject: Re: Detecting missing repository files
> >> Date: Thu, 21 Jul 2005 11:43:19 +0200
> >> Newsgroups: microsoft.public.windowsxp.embedded
> >>
> >> Larry,
> >>
> >> There are no files that should go to repository. Import process work is
> >> following way.
> >>
> >> 1. You can created repository node in your component project.
> >> 2. You have created one or many components that use this or/and other
> >> repositories and

> > some files fom them (not necesarily all).
> >> 3. You place all files in repository flat folder that you have specified.
> >> 4. You import you components project.
> >> 5. CDBM will delete all files if there were from old unique repository
> >> folder in DB.
> >> 6. CDBM will copy all files from your rep folder to DB folder.
> >> 7. TD buring build phase will try to find filed in repository and if they
> >> are not there

> > it will complain.
> >>
> >> Based on this you can see that file fist that you made is for TD not for
> >> CDBM import

> > puroses.
> >>
> >> Regards,
> >> Slobodan
> >>
> >> "Larry Waibel" <(E-Mail Removed)> wrote in message

> > news:(E-Mail Removed)...
> >> > I've noticed that I can import a component without any errors even if
> >> > the
> >> > file(s) that need to go to the repository aren't found. Then I don't
> >> > find
> >> > out about it until I go to do a build. Is there some way to turn on
> >> > better
> >> > detection at component import time? Thanks!
> >> >
> >>

> >
> >

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WMI system files & repository files MISSING Demajen Windows XP Help 5 9th Apr 2008 07:25 AM
repository files missing from final build =?Utf-8?B?UGF1bA==?= Windows XP Embedded 4 25th Apr 2005 08:06 PM
repository file missing from =?Utf-8?B?UGF1bA==?= Windows XP Embedded 1 25th Apr 2005 06:46 PM
Failed copying file '811114_asp51.dll' into QFE repository folder. repository folder {41B0394B-74D8-4CFD-86C0-BDCE45CE4728} does not exist. Zhang Hui Windows XP Embedded 1 4th Mar 2005 04:30 AM
Excel as a Repository for files? Doggo Microsoft Excel Discussion 1 19th Feb 2004 08:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:45 AM.