Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows XP > Windows XP Embedded

Notices

Reply

Repository directory doesnt exist

 

LinkBack Thread Tools Display Modes
Old 04-05-2004, 03:18 PM   #1 (permalink)
Default Repository directory doesnt exist

Hi,
This has probably been posted before, but seems that old postings aren't
available to me at the moment.
I created a new (test) component and a new repository for it. They both
belong to the same newly created package and the component's repository
attribute is assigned to the one I created for it. The Component DB manager
can see the new repository and its supposed directory. But that directory
doesn't exist when I open up Explorer, and when adding the component to a
config in Target designer, it doesn't exist either.
Thanks, apologies for the probably trite problem,
SV



SV
Guest
 
Posts: n/a
Reply With Quote  
Old 04-05-2004, 04:56 PM   #2 (permalink)
Default Re: Repository directory doesnt exist

For old problems archive use:
http://groups.google.com/groups?hl=e...roup=microsoft.
public.windowsxp.embedded

I can't follow what you have done exactly.

1. How did you created folder for new repository? Trough explorer of CDBM
created it during the import.
2. What happened to old component, its repository and do you use package
option as well?
3. Do you need old test component? If not from CDBM delete all previous
versions of component. Repository, and Package if you have created it.
Then make a clean import.
4. If you have still problem write exact steps how did you imported your
component and is it using old repository or new repository created by your
new component.


I understand why you have created new test component.
What I don't understand why did you created new repository.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/...ity/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"SV" <svaccxa@hotmail.com> wrote in message
news:ejS5hGyGEHA.2888@TK2MSFTNGP12.phx.gbl...
Quote:
> Hi,
> This has probably been posted before, but seems that old postings aren't
> available to me at the moment.
> I created a new (test) component and a new repository for it. They both
> belong to the same newly created package and the component's repository
> attribute is assigned to the one I created for it. The Component DB
manager
Quote:
> can see the new repository and its supposed directory. But that directory
> doesn't exist when I open up Explorer, and when adding the component to a
> config in Target designer, it doesn't exist either.
> Thanks, apologies for the probably trite problem,
> SV
>
>
>

Slobodan Brcin \(eMVP\)
Guest
 
Posts: n/a
Reply With Quote  
Old 04-05-2004, 05:41 PM   #3 (permalink)
Default Re: Repository directory doesnt exist

My overall objective is simply Proof of Concept - just to successfully make
a component for a sample application (because the real application isn't
ready yet). I just tried to do so again from scratch and got the same error,
so I think I'm omitting a fundamental step somewhere.

1. I didn't directly create a folder for the repository. I just created a
repository for my component through Component Designer (as per Ch. 6.11,
Example 8 in the XPe Advanced text). When I imported the .sld file in the
CDBM, I tried to import with the 'copy files to root repository' box
checked, but the output was that nothing was copied. So I unchecked it and
it said the files were copied. When I clicked on the tab to view the new
repository object that should have been created with the import, it is
there. It has an directory, but the directory doesn't seem to exist when I
look at the drive through MS's file explorer.
2. I deleted the old component, a different .sld file (though both are for
same application and use same component/repository/application names), and I
deleted its package and repositories before I tried to import the second
file. I did create a package for the component in the new .sld file. I
should mention, I earlier renamed my computer because the original name had
an underscore. Then I made the mistake of disabling network share
permissions to my repository directory. Then I made the first .sld file. I
realized the mistake and changed permissions back to readwrite, and realized
it may have been the problem when I couldn't successfully import and use the
first .sld file. When a reimport didn't work, I tried to just make a new
file and do it again.
3. I believe I did that - delete everything from CDBM and reimport it.
4. Its using the new repository.
Okay, my steps are:
1. Create a component
a. Create package 'dummy'
b. Create repository 'dummy'
c. create group dependency to package 'dummy'
e. point source to c:\dummy\dummy.exe (0bytes)
f. create component 'dummy'
g. assign repository 'dummy' to it.
h. enable component instances are editable
i. add group dependency to 'dummy' package
j. add gruop dependncy to software>applicaitons>other
k. add file to component: dummy.exe, source name= dummy.exe, destination
%11%dummy.exe (release and debug enabled)
l. no registry information (my actual sample doesn't seem to write to a key
in reg), no build or component dependencies
m. save it
2. Import - close all tools, open cdbm.
a. select my .sld file
b. import. i try first to do it with 'copy all files to repository root'
enabled, but it doesn't work (says the follwoing files were not
imported...), so i uncheck it. it says it works, and it indicates a new
directory is created for the new repository under the repositories tab, but
that directory isn't actually there.

Why did I create a new repository (through CD)? Probably because I don't
have a good grip on whats going on yet. Am I supposed to manually create a
directory for a new repository and then indicate it during import? I thought
the process was tool-driven. I'm surprised the import process wasn't
indicated in this textbook (or maybe I've missed it somewhere).

I can't thank you enough for your time,
SV




"Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
news:%23LSaq5yGEHA.1152@TK2MSFTNGP10.phx.gbl...
Quote:
> For old problems archive use:
>
http://groups.google.com/groups?hl=e...roup=microsoft.
Quote:
> public.windowsxp.embedded
>
> I can't follow what you have done exactly.
>
> 1. How did you created folder for new repository? Trough explorer of CDBM
> created it during the import.
> 2. What happened to old component, its repository and do you use package
> option as well?
> 3. Do you need old test component? If not from CDBM delete all previous
> versions of component. Repository, and Package if you have created it.
> Then make a clean import.
> 4. If you have still problem write exact steps how did you imported your
> component and is it using old repository or new repository created by your
> new component.
>
>
> I understand why you have created new test component.
> What I don't understand why did you created new repository.
>
> Regards,
> Slobodan
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Tell
Quote:
> Microsoft!
> https://www.windowsembeddedeval.com/...ity/newsgroups
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> "SV" <svaccxa@hotmail.com> wrote in message
> news:ejS5hGyGEHA.2888@TK2MSFTNGP12.phx.gbl...
Quote:
> > Hi,
> > This has probably been posted before, but seems that old postings aren't
> > available to me at the moment.
> > I created a new (test) component and a new repository for it. They both
> > belong to the same newly created package and the component's repository
> > attribute is assigned to the one I created for it. The Component DB
> manager
Quote:
> > can see the new repository and its supposed directory. But that
directory
Quote:
Quote:
> > doesn't exist when I open up Explorer, and when adding the component to
a
Quote:
Quote:
> > config in Target designer, it doesn't exist either.
> > Thanks, apologies for the probably trite problem,
> > SV
> >
> >
> >
>
>

SV
Guest
 
Posts: n/a
Reply With Quote  
Old 04-05-2004, 05:43 PM   #4 (permalink)
Default Re: Repository directory doesnt exist

also, the new name of my computer is not a problem anymore because ive been
careful to fix the name of the server whereever it appears.

"Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
news:%23LSaq5yGEHA.1152@TK2MSFTNGP10.phx.gbl...
Quote:
> For old problems archive use:
>
http://groups.google.com/groups?hl=e...roup=microsoft.
Quote:
> public.windowsxp.embedded
>
> I can't follow what you have done exactly.
>
> 1. How did you created folder for new repository? Trough explorer of CDBM
> created it during the import.
> 2. What happened to old component, its repository and do you use package
> option as well?
> 3. Do you need old test component? If not from CDBM delete all previous
> versions of component. Repository, and Package if you have created it.
> Then make a clean import.
> 4. If you have still problem write exact steps how did you imported your
> component and is it using old repository or new repository created by your
> new component.
>
>
> I understand why you have created new test component.
> What I don't understand why did you created new repository.
>
> Regards,
> Slobodan
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Tell
Quote:
> Microsoft!
> https://www.windowsembeddedeval.com/...ity/newsgroups
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> "SV" <svaccxa@hotmail.com> wrote in message
> news:ejS5hGyGEHA.2888@TK2MSFTNGP12.phx.gbl...
Quote:
> > Hi,
> > This has probably been posted before, but seems that old postings aren't
> > available to me at the moment.
> > I created a new (test) component and a new repository for it. They both
> > belong to the same newly created package and the component's repository
> > attribute is assigned to the one I created for it. The Component DB
> manager
Quote:
> > can see the new repository and its supposed directory. But that
directory
Quote:
Quote:
> > doesn't exist when I open up Explorer, and when adding the component to
a
Quote:
Quote:
> > config in Target designer, it doesn't exist either.
> > Thanks, apologies for the probably trite problem,
> > SV
> >
> >
> >
>
>

SV
Guest
 
Posts: n/a
Reply With Quote  
Old 04-05-2004, 06:18 PM   #5 (permalink)
Default Re: Repository directory doesnt exist

Hi SV,

Everything looks ok except that thing you have done with computer name.

You don't need to do anything manually CDBM will create repository folders
automatically.

You should check that you have all privileged to both Repositories network
share and local security.

For test purposes only put everyone to have full control both for network
and local security.

And let us know how it went.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/...ity/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"SV" <svaccxa@hotmail.com> wrote in message
news:#HXhJWzGEHA.576@TK2MSFTNGP11.phx.gbl...
Quote:
> My overall objective is simply Proof of Concept - just to successfully
make
Quote:
> a component for a sample application (because the real application isn't
> ready yet). I just tried to do so again from scratch and got the same
error,
Quote:
> so I think I'm omitting a fundamental step somewhere.
>
> 1. I didn't directly create a folder for the repository. I just created a
> repository for my component through Component Designer (as per Ch. 6.11,
> Example 8 in the XPe Advanced text). When I imported the .sld file in the
> CDBM, I tried to import with the 'copy files to root repository' box
> checked, but the output was that nothing was copied. So I unchecked it and
> it said the files were copied. When I clicked on the tab to view the new
> repository object that should have been created with the import, it is
> there. It has an directory, but the directory doesn't seem to exist when I
> look at the drive through MS's file explorer.
> 2. I deleted the old component, a different .sld file (though both are for
> same application and use same component/repository/application names), and
I
Quote:
> deleted its package and repositories before I tried to import the second
> file. I did create a package for the component in the new .sld file. I
> should mention, I earlier renamed my computer because the original name
had
Quote:
> an underscore. Then I made the mistake of disabling network share
> permissions to my repository directory. Then I made the first .sld file. I
> realized the mistake and changed permissions back to readwrite, and
realized
Quote:
> it may have been the problem when I couldn't successfully import and use
the
Quote:
> first .sld file. When a reimport didn't work, I tried to just make a new
> file and do it again.
> 3. I believe I did that - delete everything from CDBM and reimport it.
> 4. Its using the new repository.
> Okay, my steps are:
> 1. Create a component
> a. Create package 'dummy'
> b. Create repository 'dummy'
> c. create group dependency to package 'dummy'
> e. point source to c:\dummy\dummy.exe (0bytes)
> f. create component 'dummy'
> g. assign repository 'dummy' to it.
> h. enable component instances are editable
> i. add group dependency to 'dummy' package
> j. add gruop dependncy to software>applicaitons>other
> k. add file to component: dummy.exe, source name= dummy.exe, destination
> %11%dummy.exe (release and debug enabled)
> l. no registry information (my actual sample doesn't seem to write to a
key
Quote:
> in reg), no build or component dependencies
> m. save it
> 2. Import - close all tools, open cdbm.
> a. select my .sld file
> b. import. i try first to do it with 'copy all files to repository root'
> enabled, but it doesn't work (says the follwoing files were not
> imported...), so i uncheck it. it says it works, and it indicates a new
> directory is created for the new repository under the repositories tab,
but
Quote:
> that directory isn't actually there.
>
> Why did I create a new repository (through CD)? Probably because I don't
> have a good grip on whats going on yet. Am I supposed to manually create a
> directory for a new repository and then indicate it during import? I
thought
Quote:
> the process was tool-driven. I'm surprised the import process wasn't
> indicated in this textbook (or maybe I've missed it somewhere).
>
> I can't thank you enough for your time,
> SV
>
>
>
>
> "Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
> news:%23LSaq5yGEHA.1152@TK2MSFTNGP10.phx.gbl...
Quote:
> > For old problems archive use:
> >
>
http://groups.google.com/groups?hl=e...roup=microsoft.
Quote:
Quote:
> > public.windowsxp.embedded
> >
> > I can't follow what you have done exactly.
> >
> > 1. How did you created folder for new repository? Trough explorer of
CDBM
Quote:
Quote:
> > created it during the import.
> > 2. What happened to old component, its repository and do you use package
> > option as well?
> > 3. Do you need old test component? If not from CDBM delete all previous
> > versions of component. Repository, and Package if you have created it.
> > Then make a clean import.
> > 4. If you have still problem write exact steps how did you imported your
> > component and is it using old repository or new repository created by
your
Quote:
Quote:
> > new component.
> >
> >
> > I understand why you have created new test component.
> > What I don't understand why did you created new repository.
> >
> > Regards,
> > Slobodan
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
> Tell
Quote:
> > Microsoft!
> > https://www.windowsembeddedeval.com/...ity/newsgroups
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > "SV" <svaccxa@hotmail.com> wrote in message
> > news:ejS5hGyGEHA.2888@TK2MSFTNGP12.phx.gbl...
Quote:
> > > Hi,
> > > This has probably been posted before, but seems that old postings
aren't
Quote:
Quote:
Quote:
> > > available to me at the moment.
> > > I created a new (test) component and a new repository for it. They
both
Quote:
Quote:
Quote:
> > > belong to the same newly created package and the component's
repository
Quote:
Quote:
Quote:
> > > attribute is assigned to the one I created for it. The Component DB
> > manager
Quote:
> > > can see the new repository and its supposed directory. But that
> directory
Quote:
Quote:
> > > doesn't exist when I open up Explorer, and when adding the component
to
Quote:
> a
Quote:
Quote:
> > > config in Target designer, it doesn't exist either.
> > > Thanks, apologies for the probably trite problem,
> > > SV
> > >
> > >
> > >
> >
> >
>
>

Slobodan Brcin \(eMVP\)
Guest
 
Posts: n/a
Reply With Quote  
Old 04-06-2004, 05:13 PM   #6 (permalink)
Default Re: Repository directory doesnt exist

"getting started books"? What is that?
I want my books!

Seriously there are no books with full product, you have online doc on MSDN
that is most current. Also you have help online doc from TD, and you have
this NG, that is it.
Also you can buy books but not from MS.

You should use:
http://groups.google.com/groups?hl=e...roup=microsoft.
public.windowsxp.embedded
For answers on most of your questions.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/...ity/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"SV" <svaccxa@hotmail.com> wrote in message
news:ea4Vkj$GEHA.2576@TK2MSFTNGP11.phx.gbl...
Quote:
> Hi Slobodan
>
> Thanks for the sanity check and info. I reinstalled the tools and
database,
Quote:
> and put all XPe directories and my working dir under shared folders. I
> probably could have moved directories of my existing install and changed a
> config file somewhere to reflect the new paths, but I don't know where
that
Quote:
> config file might be, if it exists. So I can do an import now. I can't do
a
Quote:
> re-import (overwrite) (which mayn't be a wise idea anyway) because folders
> are all 'read-only'. After doing some homework, I discovered that this is
> "by-design" according to Microsoft and work-arounds are required to change
> the read-only property on folders. However, the files in those folders are
> read-write. I also discovered that this topic mayve been covered in the
> 'getting started' books shipped with software, but i'm only using trial
s/w
Quote:
> right now so didn't have them.
> thanks again
> SV
> "Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
> news:eUvSlnzGEHA.1228@TK2MSFTNGP11.phx.gbl...
Quote:
> > Hi SV,
> >
> > Everything looks ok except that thing you have done with computer name.
> >
> > You don't need to do anything manually CDBM will create repository
folders
Quote:
Quote:
> > automatically.
> >
> > You should check that you have all privileged to both Repositories
network
Quote:
Quote:
> > share and local security.
> >
> > For test purposes only put everyone to have full control both for
network
Quote:
Quote:
> > and local security.
> >
> > And let us know how it went.
> >
> > Regards,
> > Slobodan
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
> Tell
Quote:
> > Microsoft!
> > https://www.windowsembeddedeval.com/...ity/newsgroups
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > "SV" <svaccxa@hotmail.com> wrote in message
> > news:#HXhJWzGEHA.576@TK2MSFTNGP11.phx.gbl...
Quote:
> > > My overall objective is simply Proof of Concept - just to successfully
> > make
Quote:
> > > a component for a sample application (because the real application
isn't
Quote:
Quote:
Quote:
> > > ready yet). I just tried to do so again from scratch and got the same
> > error,
Quote:
> > > so I think I'm omitting a fundamental step somewhere.
> > >
> > > 1. I didn't directly create a folder for the repository. I just
created
Quote:
> a
Quote:
Quote:
> > > repository for my component through Component Designer (as per Ch.
6.11,
Quote:
Quote:
Quote:
> > > Example 8 in the XPe Advanced text). When I imported the .sld file in
> the
Quote:
Quote:
> > > CDBM, I tried to import with the 'copy files to root repository' box
> > > checked, but the output was that nothing was copied. So I unchecked it
> and
Quote:
Quote:
> > > it said the files were copied. When I clicked on the tab to view the
new
Quote:
Quote:
Quote:
> > > repository object that should have been created with the import, it is
> > > there. It has an directory, but the directory doesn't seem to exist
when
Quote:
> I
Quote:
Quote:
> > > look at the drive through MS's file explorer.
> > > 2. I deleted the old component, a different .sld file (though both are
> for
Quote:
Quote:
> > > same application and use same component/repository/application names),
> and
Quote:
> > I
Quote:
> > > deleted its package and repositories before I tried to import the
second
Quote:
Quote:
Quote:
> > > file. I did create a package for the component in the new .sld file. I
> > > should mention, I earlier renamed my computer because the original
name
Quote:
Quote:
> > had
Quote:
> > > an underscore. Then I made the mistake of disabling network share
> > > permissions to my repository directory. Then I made the first .sld
file.
Quote:
> I
Quote:
Quote:
> > > realized the mistake and changed permissions back to readwrite, and
> > realized
Quote:
> > > it may have been the problem when I couldn't successfully import and
use
Quote:
Quote:
> > the
Quote:
> > > first .sld file. When a reimport didn't work, I tried to just make a
new
Quote:
Quote:
Quote:
> > > file and do it again.
> > > 3. I believe I did that - delete everything from CDBM and reimport it.
> > > 4. Its using the new repository.
> > > Okay, my steps are:
> > > 1. Create a component
> > > a. Create package 'dummy'
> > > b. Create repository 'dummy'
> > > c. create group dependency to package 'dummy'
> > > e. point source to c:\dummy\dummy.exe (0bytes)
> > > f. create component 'dummy'
> > > g. assign repository 'dummy' to it.
> > > h. enable component instances are editable
> > > i. add group dependency to 'dummy' package
> > > j. add gruop dependncy to software>applicaitons>other
> > > k. add file to component: dummy.exe, source name= dummy.exe,
destination
Quote:
Quote:
Quote:
> > > %11%dummy.exe (release and debug enabled)
> > > l. no registry information (my actual sample doesn't seem to write to
a
Quote:
Quote:
> > key
Quote:
> > > in reg), no build or component dependencies
> > > m. save it
> > > 2. Import - close all tools, open cdbm.
> > > a. select my .sld file
> > > b. import. i try first to do it with 'copy all files to repository
root'
Quote:
Quote:
Quote:
> > > enabled, but it doesn't work (says the follwoing files were not
> > > imported...), so i uncheck it. it says it works, and it indicates a
new
Quote:
Quote:
Quote:
> > > directory is created for the new repository under the repositories
tab,
Quote:
Quote:
> > but
Quote:
> > > that directory isn't actually there.
> > >
> > > Why did I create a new repository (through CD)? Probably because I
don't
Quote:
Quote:
Quote:
> > > have a good grip on whats going on yet. Am I supposed to manually
create
Quote:
> a
Quote:
Quote:
> > > directory for a new repository and then indicate it during import? I
> > thought
Quote:
> > > the process was tool-driven. I'm surprised the import process wasn't
> > > indicated in this textbook (or maybe I've missed it somewhere).
> > >
> > > I can't thank you enough for your time,
> > > SV
> > >
> > >
> > >
> > >
> > > "Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
> > > news:%23LSaq5yGEHA.1152@TK2MSFTNGP10.phx.gbl...
> > > > For old problems archive use:
> > > >
> > >
> >
>
http://groups.google.com/groups?hl=e...roup=microsoft.
Quote:
Quote:
Quote:
> > > > public.windowsxp.embedded
> > > >
> > > > I can't follow what you have done exactly.
> > > >
> > > > 1. How did you created folder for new repository? Trough explorer of
> > CDBM
Quote:
> > > > created it during the import.
> > > > 2. What happened to old component, its repository and do you use
> package
Quote:
Quote:
> > > > option as well?
> > > > 3. Do you need old test component? If not from CDBM delete all
> previous
Quote:
Quote:
> > > > versions of component. Repository, and Package if you have created
it.
Quote:
Quote:
Quote:
> > > > Then make a clean import.
> > > > 4. If you have still problem write exact steps how did you imported
> your
Quote:
Quote:
> > > > component and is it using old repository or new repository created
by
Quote:
Quote:
> > your
Quote:
> > > > new component.
> > > >
> > > >
> > > > I understand why you have created new test component.
> > > > What I don't understand why did you created new repository.
> > > >
> > > > Regards,
> > > > Slobodan
> > > >
> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > > Have an opinion on the effectiveness of Microsoft Embedded
newsgroups?
Quote:
Quote:
Quote:
> > > Tell
> > > > Microsoft!
> > > > https://www.windowsembeddedeval.com/...ity/newsgroups
> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > >
> > > > "SV" <svaccxa@hotmail.com> wrote in message
> > > > news:ejS5hGyGEHA.2888@TK2MSFTNGP12.phx.gbl...
> > > > > Hi,
> > > > > This has probably been posted before, but seems that old postings
> > aren't
Quote:
> > > > > available to me at the moment.
> > > > > I created a new (test) component and a new repository for it. They
> > both
Quote:
> > > > > belong to the same newly created package and the component's
> > repository
Quote:
> > > > > attribute is assigned to the one I created for it. The Component
DB
Quote:
Quote:
Quote:
> > > > manager
> > > > > can see the new repository and its supposed directory. But that
> > > directory
> > > > > doesn't exist when I open up Explorer, and when adding the
component
Quote:
Quote:
> > to
Quote:
> > > a
> > > > > config in Target designer, it doesn't exist either.
> > > > > Thanks, apologies for the probably trite problem,
> > > > > SV
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

Slobodan Brcin \(eMVP\)
Guest
 
Posts: n/a
Reply With Quote  
Old 04-07-2004, 04:59 AM   #7 (permalink)
Default Re: Repository directory doesnt exist

Hi Slobodan

Thanks for the sanity check and info. I reinstalled the tools and database,
and put all XPe directories and my working dir under shared folders. I
probably could have moved directories of my existing install and changed a
config file somewhere to reflect the new paths, but I don't know where that
config file might be, if it exists. So I can do an import now. I can't do a
re-import (overwrite) (which mayn't be a wise idea anyway) because folders
are all 'read-only'. After doing some homework, I discovered that this is
"by-design" according to Microsoft and work-arounds are required to change
the read-only property on folders. However, the files in those folders are
read-write. I also discovered that this topic mayve been covered in the
'getting started' books shipped with software, but i'm only using trial s/w
right now so didn't have them.
thanks again
SV
"Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
news:eUvSlnzGEHA.1228@TK2MSFTNGP11.phx.gbl...
Quote:
> Hi SV,
>
> Everything looks ok except that thing you have done with computer name.
>
> You don't need to do anything manually CDBM will create repository folders
> automatically.
>
> You should check that you have all privileged to both Repositories network
> share and local security.
>
> For test purposes only put everyone to have full control both for network
> and local security.
>
> And let us know how it went.
>
> Regards,
> Slobodan
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Tell
Quote:
> Microsoft!
> https://www.windowsembeddedeval.com/...ity/newsgroups
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "SV" <svaccxa@hotmail.com> wrote in message
> news:#HXhJWzGEHA.576@TK2MSFTNGP11.phx.gbl...
Quote:
> > My overall objective is simply Proof of Concept - just to successfully
> make
Quote:
> > a component for a sample application (because the real application isn't
> > ready yet). I just tried to do so again from scratch and got the same
> error,
Quote:
> > so I think I'm omitting a fundamental step somewhere.
> >
> > 1. I didn't directly create a folder for the repository. I just created
a
Quote:
Quote:
> > repository for my component through Component Designer (as per Ch. 6.11,
> > Example 8 in the XPe Advanced text). When I imported the .sld file in
the
Quote:
Quote:
> > CDBM, I tried to import with the 'copy files to root repository' box
> > checked, but the output was that nothing was copied. So I unchecked it
and
Quote:
Quote:
> > it said the files were copied. When I clicked on the tab to view the new
> > repository object that should have been created with the import, it is
> > there. It has an directory, but the directory doesn't seem to exist when
I
Quote:
Quote:
> > look at the drive through MS's file explorer.
> > 2. I deleted the old component, a different .sld file (though both are
for
Quote:
Quote:
> > same application and use same component/repository/application names),
and
Quote:
> I
Quote:
> > deleted its package and repositories before I tried to import the second
> > file. I did create a package for the component in the new .sld file. I
> > should mention, I earlier renamed my computer because the original name
> had
Quote:
> > an underscore. Then I made the mistake of disabling network share
> > permissions to my repository directory. Then I made the first .sld file.
I
Quote:
Quote:
> > realized the mistake and changed permissions back to readwrite, and
> realized
Quote:
> > it may have been the problem when I couldn't successfully import and use
> the
Quote:
> > first .sld file. When a reimport didn't work, I tried to just make a new
> > file and do it again.
> > 3. I believe I did that - delete everything from CDBM and reimport it.
> > 4. Its using the new repository.
> > Okay, my steps are:
> > 1. Create a component
> > a. Create package 'dummy'
> > b. Create repository 'dummy'
> > c. create group dependency to package 'dummy'
> > e. point source to c:\dummy\dummy.exe (0bytes)
> > f. create component 'dummy'
> > g. assign repository 'dummy' to it.
> > h. enable component instances are editable
> > i. add group dependency to 'dummy' package
> > j. add gruop dependncy to software>applicaitons>other
> > k. add file to component: dummy.exe, source name= dummy.exe, destination
> > %11%dummy.exe (release and debug enabled)
> > l. no registry information (my actual sample doesn't seem to write to a
> key
Quote:
> > in reg), no build or component dependencies
> > m. save it
> > 2. Import - close all tools, open cdbm.
> > a. select my .sld file
> > b. import. i try first to do it with 'copy all files to repository root'
> > enabled, but it doesn't work (says the follwoing files were not
> > imported...), so i uncheck it. it says it works, and it indicates a new
> > directory is created for the new repository under the repositories tab,
> but
Quote:
> > that directory isn't actually there.
> >
> > Why did I create a new repository (through CD)? Probably because I don't
> > have a good grip on whats going on yet. Am I supposed to manually create
a
Quote:
Quote:
> > directory for a new repository and then indicate it during import? I
> thought
Quote:
> > the process was tool-driven. I'm surprised the import process wasn't
> > indicated in this textbook (or maybe I've missed it somewhere).
> >
> > I can't thank you enough for your time,
> > SV
> >
> >
> >
> >
> > "Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message
> > news:%23LSaq5yGEHA.1152@TK2MSFTNGP10.phx.gbl...
Quote:
> > > For old problems archive use:
> > >
> >
>
http://groups.google.com/groups?hl=e...roup=microsoft.
Quote:
Quote:
Quote:
> > > public.windowsxp.embedded
> > >
> > > I can't follow what you have done exactly.
> > >
> > > 1. How did you created folder for new repository? Trough explorer of
> CDBM
Quote:
Quote:
> > > created it during the import.
> > > 2. What happened to old component, its repository and do you use
package
Quote:
Quote:
Quote:
> > > option as well?
> > > 3. Do you need old test component? If not from CDBM delete all
previous
Quote:
Quote:
Quote:
> > > versions of component. Repository, and Package if you have created it.
> > > Then make a clean import.
> > > 4. If you have still problem write exact steps how did you imported
your
Quote:
Quote:
Quote:
> > > component and is it using old repository or new repository created by
> your
Quote:
Quote:
> > > new component.
> > >
> > >
> > > I understand why you have created new test component.
> > > What I don't understand why did you created new repository.
> > >
> > > Regards,
> > > Slobodan
> > >
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
> > Tell
Quote:
> > > Microsoft!
> > > https://www.windowsembeddedeval.com/...ity/newsgroups
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > >
> > > "SV" <svaccxa@hotmail.com> wrote in message
> > > news:ejS5hGyGEHA.2888@TK2MSFTNGP12.phx.gbl...
> > > > Hi,
> > > > This has probably been posted before, but seems that old postings
> aren't
Quote:
Quote:
> > > > available to me at the moment.
> > > > I created a new (test) component and a new repository for it. They
> both
Quote:
Quote:
> > > > belong to the same newly created package and the component's
> repository
Quote:
Quote:
> > > > attribute is assigned to the one I created for it. The Component DB
> > > manager
> > > > can see the new repository and its supposed directory. But that
> > directory
Quote:
> > > > doesn't exist when I open up Explorer, and when adding the component
> to
Quote:
> > a
Quote:
> > > > config in Target designer, it doesn't exist either.
> > > > Thanks, apologies for the probably trite problem,
> > > > SV
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

SV
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Application repository Mir Windows XP Embedded 1 02-18-2004 06:16 PM
Repository explained HennyK Windows XP Embedded 3 01-25-2004 01:21 AM
Repository Problem Heidi Linda Windows XP Embedded 6 12-12-2003 08:16 AM
moving a repository jim Windows XP Embedded 3