Generating GUIDs

  • Revision slug: Generating_GUIDs
  • Revision title: Generating GUIDs
  • Revision id: 85412
  • Created:
  • Creator: Waldo
  • Is current revision? No
  • Comment add i.m.o mozbot to online sources

Revision Content

In order to create an extension, you have to generate GUID for it. GUIDs are also used for identifying other entities, including Interfaces and XPCOM Components.

Tools

Windows

Windows users can use the GuidGen tool from Microsoft to obtain a GUID. (This tool is also part of MS Visual C++)

Linux

Use /usr/bin/uuidgen. This can be found in package libuuid1 (Debian).

Perl

jkeiser's Mozilla tools include a UUID generator with output format of both C++ and IDL style.

On-line tools

You can get GUID at the page of Shailesh N. Humbad Generate GUID Online. Another generator can be found at the Homepage of family Kruithof - UUID (GUID) Generator on the WEB. Finally, you can usually get a GUID from one of the bots (such as mozbot) on #mozilla.

Revision Source

<p>In order to create an extension, you have to generate GUID for it. GUIDs are also used for identifying other entities, including Interfaces and XPCOM Components.
</p>
<h3 name="Tools">Tools</h3>
<h4 name="Windows">Windows</h4>
<p>Windows users can use the <a class="external" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=94551F58-484F-4A8C-BB39-ADB270833AFC&amp;displaylang=en">GuidGen</a> tool from Microsoft to obtain a GUID. (This tool is also part of MS Visual C++)
</p>
<h4 name="Linux">Linux</h4>
<p>Use <code>/usr/bin/uuidgen</code>. This can be found in package <code>libuuid1</code> (Debian).
</p>
<h4 name="Perl">Perl</h4>
<p><a class="external" href="http://www.johnkeiser.com/mozilla/mozilla_tools.html">jkeiser's Mozilla tools</a> include a UUID generator with output format of both C++ and IDL style.
</p>
<h4 name="On-line_tools">On-line tools</h4>
<p>You can get GUID at the page of Shailesh N. Humbad <a class="external" href="http://www.somacon.com/p113.php">Generate GUID Online</a>. Another generator can be found at the Homepage of family Kruithof - <a class="external" href="http://kruithof.xs4all.nl/uuid/uuidgen">UUID (GUID) Generator on the WEB</a>.  Finally, you can usually get a GUID from one of the bots (such as mozbot) on <a class="external" href="irc://irc.mozilla.org/mozilla">#mozilla</a>.
</p>
Revert to this revision