<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sorry about the docs ...<div><br></div><div>I will update them soon ...</div><div><br></div><div>So I built the final .xpi file, so we no longer have to use eclipse to launch the extension</div><div><br></div><div><br><div>On Apr 27, 2008, at 2:56 AM, Peter Williams wrote:<br class="Apple-interchange-newline"><blockquote type="cite"><div> <div id="idOWAReplyText66603" dir="ltr"> <div dir="ltr"><font face="Arial" color="#000000" size="2">Using instructions at <a href="http://openliberty.org/wiki/index.php?title=ECP_Plugin_Documentation&action=edit" target="_blank">http://openliberty.org/wiki/index.php?title=ECP_Plugin_Documentation&action=edit</a>, I have the capability to now mostly build the ECP extensions, but have not succeeded to run the ECP plug-in on windows2008 Enterprise Edition.</font></div> <div dir="ltr"><font face="Arial" color="#000000" size="2"></font> </div></div></div></blockquote><div><br></div><div>My bad ... I pulled the rug out from under my own wiki installation instructions ... if you have the extension working, it means that you ignored my installation instructions completely ... again ... my bad</div><br><blockquote type="cite"><div><div id="idOWAReplyText66603" dir="ltr"> <div dir="ltr"><font face="Arial" size="2">Some pretty raw feedback follows:-</font></div> <blockquote dir="ltr" style="MARGIN-RIGHT: 0px"> <div dir="ltr"><font face="Arial" size="2">Windows does not have a shell to build .sh file scripts, or a zip command. Perhaps, only Eclipse tools (or tool extensions) should be used to build the project to maintain build portability.</font></div> <div dir="ltr"><font face="Arial" size="2"></font> </div> <div dir="ltr"><font face="Arial" size="2">I had almost no modern personal context on any of the browser/toolchain, but followed steps 1-4 quite easily</font></div> <div dir="ltr"><font face="Arial" size="2"></font> </div> <div dir="ltr"><font face="Arial" size="2">Eclipse 3.2 for Java/EE</font></div> <div dir="ltr"><font face="Arial" size="2">Web Tools latest </font></div> <div dir="ltr"><font face="Arial" size="2">XUL tool chain latest</font></div> <div dir="ltr"><font face="Arial" size="2">SVN src control plugin.</font></div> <div dir="ltr"><font face="Arial" size="2"></font> </div> <div dir="ltr"><font face="Arial" size="2">To practice a little with Firefox (Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14) and get a basic orientation, I installed the "sxipper" commercial-grade plugin, learning to install/use it on an openid site (where it did fine). </font></div> <div dir="ltr"><font face="Arial" size="2"></font> </div> <div dir="ltr"><font face="Arial" size="2">Step 5 was a little more difficult, given I have no recent context in Eclipse or its whole UI concept for the IDE. I did use the IBM JCOP Eclipse for building javacard firmware 3 years ago, and thus half-figured/half-remembered XUL project making/running out, by analogy. I think I figured things out to about 90% completion; but build documentation was just lacking (for a complete novice in this highly technical toolchain).</font></div></blockquote></div></div></blockquote><div>Just make sure to read the two 'Cheat Sheet' items regarding XUL/Firefox usage ... </div><blockquote type="cite"><div><div id="idOWAReplyText66603" dir="ltr"><blockquote dir="ltr" style="MARGIN-RIGHT: 0px"> <div dir="ltr"><font face="Arial" size="2"></font> </div> <div dir="ltr"><font face="Arial" size="2">Step 6 is confusing. I created a txt file (I called it "foo.txt") in C:\Users\Administrator\AppData\Local\Mozilla\Firefox\Profiles\81ecn5k5.default. There is no subdirectory there called plugins, note well - taking a hint from the wiki notes.</font></div> <div dir="ltr"><font face="Arial" size="2"></font><br></div></blockquote></div></div></blockquote><div>the extensions/ folder is where to put it ... (below the 81ecn5k5.default/ directory) ...</div><br><blockquote type="cite"><div><div id="idOWAReplyText66603" dir="ltr"><blockquote dir="ltr" style="MARGIN-RIGHT: 0px"><div dir="ltr"> </div> <div dir="ltr"><font face="Arial" size="2">In the .txt file, I typed one line - </font><font face="Arial" size="2">a DOS file path to my eclipse workspace/sub-directory wherein lie various files - exactly as checkedout from the SVN repository. </font><font face="Arial" size="2">The line is "</font><font face="Arial" size="2">C:\Users\Administrator\workspace\<a href="mailto:saml2_ecp@openliberty.org">saml2_ecp@openliberty.org</a>", at which directory there are several files, including <a href="mailto:tsaml2_ecp@openliberty.org.xpi" target="_blank"><font face="Arial" size="2">saml2_ecp@openliberty.org.xpi</font></a><font face="Arial" size="2"> - No local build has completed (lacking sh(1) and zip(1) - or alternative instructions)</font></font></div> <div dir="ltr"><font face="Arial" size="2"></font> </div></blockquote></div></div></blockquote>I will update the wiki for both development-level instructions using Eclipse & XULBooster and also for deployment, using the .xpi file archive. (By Tuesday hopefully)<br><blockquote type="cite"><div><div id="idOWAReplyText66603" dir="ltr"><blockquote dir="ltr" style="MARGIN-RIGHT: 0px"> <div dir="ltr"><font face="Arial" size="2">I do note that the src file :install.rdf" (that updated_package.sh would zip up into the xpi file along with other resources) has a {GUID} in its ID field. This seems to counter the counsel of the wiki that seems to want the GUID replaced by the string <font face="Arial" size="2"><a href="mailto:saml2_ecp@openliberty.org" target="_blank">saml2_ecp@openliberty.org</a>.</font></font></div></blockquote></div></div></blockquote><div>Good point, the 'install.rdf' file reflects the new method of installation:</div><div><br></div><div>- Checkout the project (anywhere suitable). Then open FireFox and File > Open File ..., navigate the File Chooser to the <a href="mailto:saml2_ecp@openliberty.org.xpi">saml2_ecp@openliberty.org.xpi</a> file ... this will copy all the necessary files into their correct places. ...</div><div><br></div><div>- (Although it hasn't worked for me yet)(Mac OS X), this url: <span class="Apple-style-span" style="white-space: pre; "><a href="https://openliberty.svn.sourceforge.net/svnroot/openliberty/SAMLv2/ECP/FirefoxPlugin/trunk/saml2_ecp@openliberty.org.xpi">https://openliberty.svn.sourceforge.net/svnroot/openliberty/SAMLv2/ECP/FirefoxPlugin/trunk/saml2_ecp@openliberty.org.xpi</a><span class="Apple-style-span" style="text-decoration: none;"> , when opened in Firefox, should start the install process, using the latest version of the plugin ... the apache server HAS added the necessary line to the config file, to map files of type .xpi <--> to the mimeType of <span class="Apple-style-span" style="font-family: Arial; line-height: 18px; ">application/x-xpinstall.</span></span></span></div><blockquote type="cite"><div><div id="idOWAReplyText66603" dir="ltr"><blockquote dir="ltr" style="MARGIN-RIGHT: 0px"> <div dir="ltr"><font face="Arial" size="2"></font> </div> <div dir="ltr"><font face="Arial" size="2">Selecting the extension project root, and Launching the Firefox Launcher does launch Firefox, and allows selection of the default profile. Its not clear the extension is being loaded however, and no ECP add-on appears in the list of add-ons, under Tools.</font></div></blockquote></div></div></blockquote><div>When installation is successful, it should appear under Tools, and add a Sidebar toggle item to your main Toolbar.</div><br><blockquote type="cite"><div><div id="idOWAReplyText66603" dir="ltr"> <div dir="ltr"><font face="Arial" size="2"></font> </div> <div dir="ltr"><font face="Arial" size="2">The notes might want to suggest an SP site, with which to make a trial - and/or define a means to know at least that the extensions is at least loaded into Firefox.</font></div></div></div></blockquote><div><br></div><div>This is an obvious, but purposeful omission. This plugin needs to be tested on SPs ... which I myself do not have running. The ECP plugin SHOULD work with any SP/IDP combo which purports to be ECP-compliant. If you have success or failure, please send the test results to me or better yet, to this mailing list. It could very well be that I have some tweaking to do.</div><br><blockquote type="cite"><div><div id="idOWAReplyText66603" dir="ltr"> <div dir="ltr"><font face="Arial" size="2"></font><font face="Arial" size="2"></font> </div></div> <div id="idSignature74830" dir="ltr"> <div><font face="Arial" color="#000000" size="2"><span style="FONT-SIZE: 7.5pt">_________________________<br></span><b>Peter Williams<br></b><span style="FONT-SIZE: 7.5pt">Chief Information Security Officer<br>Mobile (805) 416-6305</span></font></div></div></div> _______________________________________________<br>Wsf-dev mailing list<br><a href="mailto:Wsf-dev@lists.openliberty.org">Wsf-dev@lists.openliberty.org</a><br><a href="http://lists.openliberty.org/mailman/listinfo/wsf-dev_lists.openliberty.org">http://lists.openliberty.org/mailman/listinfo/wsf-dev_lists.openliberty.org</a><br></blockquote></div><br></div></body></html>