Closed
Bug 168052
Opened 22 years ago
Closed 21 years ago
GRE enable regxpcom.exe...
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: chak, Assigned: dougt)
References
Details
(Keywords: topembed+)
Currently regxpcom registers components only in the "components" directory relative to where it's run from. We need the ability for regxpcom to register components in a specified GRE directory also.
Assignee | ||
Comment 1•22 years ago
|
||
what is wrong with what it does now? usage: regxpcom directory-to-register regxpcom -u directory-to-unregister
what exactly does the -u option do? Does it delete both components.reg and xpti.dat? What does it do if the .xpt files are zipped up?
Assignee | ||
Comment 3•22 years ago
|
||
>what exactly does the -u option do? -u calls AutoUnregister for give directory or component. This calls trickes down to calling UnregisterSelf on each of the give components. AutoUnregister also removes all references to the given components from the compreg.dat file. >Does it delete both components.reg and xpti.dat? No. > What does it do if the .xpt files are zipped up? Currently it does not touch xpt files, but this is a bug.
Reporter | ||
Comment 4•22 years ago
|
||
Since you can currently specify just one components dir to register, that can be used to rergister either just the applicaction specific components dir or the MRE's components dir - not both. Or am i still missing something?
Assignee | ||
Comment 5•22 years ago
|
||
do you want to be able to specify multiple directories?
Reporter | ||
Comment 6•22 years ago
|
||
I guess being able to specify multiple component dirs will probably solve the issue of autoreg when running in a GRE based env. Doug : Do you think that's the way to go or are there any other approaches you'd prefer/reccommend?
Assignee | ||
Comment 7•22 years ago
|
||
chak, are you working on this? If not, please reassign it to me.
Updated•22 years ago
|
Comment 9•21 years ago
|
||
EDT triage: talked to Doug, and it seems like he needs to clean up regxpcom before embedding clients can make effective/complete use of it. Plussing topembed nomination. Doug, can you please describe the scenarios under which the current implementation is insufficient for embedding customers which we plan on addressing in this bug?
Assignee | ||
Comment 10•21 years ago
|
||
the fix in bug 183075 gives you many more options. Usage: regxpcom [options] [file-or-directory] Options: -x path Specifies the location of a directory containing the xpcom library which will be used when registering new component libraries. This path will also be added to the "load library" path. If not specified, the current working directory will be used. -c path Specifies the location of the compreg.dat file. If not specifed, the compreg.dat file will be in its default location. -d path Specifies the location of the xpti.dat file. If not specifed, the xpti.dat file will be in its default location. -a Option to register all files in the default component directories. This is the default behavoir if regxpcom is called without any arguments. -h Displays this help screen. -u Option to uninstall the files-or-directory instead of registering them. -q Quiets some of the output of regxpcom Marking as fixed. Chak, please verify that with these options, the scenarios you had in mind are addressed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 11•21 years ago
|
||
dougt: so regxpcom will not automatically find the GRE... you need to specify -x PATH_TO_GRE to get it working?
Assignee | ||
Comment 12•21 years ago
|
||
regxpcom will assume the GRE is in the CWD if no GRE location is specified.
You need to log in
before you can comment on or make changes to this bug.
Description
•