[wsf-dev] ECP plugin build/execute feedback
Peter Pritchard
peter.openliberty at zenn.net
Mon Apr 28 11:19:42 PDT 2008
Sorry about the docs ...
I will update them soon ...
So I built the final .xpi file, so we no longer have to use eclipse to
launch the extension
On Apr 27, 2008, at 2:56 AM, Peter Williams wrote:
> Using instructions at http://openliberty.org/wiki/index.php?title=ECP_Plugin_Documentation&action=edit
> , 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.
>
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
> Some pretty raw feedback follows:-
> 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.
>
> I had almost no modern personal context on any of the browser/
> toolchain, but followed steps 1-4 quite easily
>
> Eclipse 3.2 for Java/EE
> Web Tools latest
> XUL tool chain latest
> SVN src control plugin.
>
> 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).
>
> 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).
Just make sure to read the two 'Cheat Sheet' items regarding XUL/
Firefox usage ...
>
> 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.
>
the extensions/ folder is where to put it ... (below the
81ecn5k5.default/ directory) ...
>
> In the .txt file, I typed one line - a DOS file path to my eclipse
> workspace/sub-directory wherein lie various files - exactly as
> checkedout from the SVN repository. The line is "C:\Users
> \Administrator\workspace\saml2_ecp at openliberty.org", at which
> directory there are several files, including saml2_ecp at openliberty.org.xpi
> - No local build has completed (lacking sh(1) and zip(1) - or
> alternative instructions)
>
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)
> 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 saml2_ecp at openliberty.org
> .
Good point, the 'install.rdf' file reflects the new method of
installation:
- Checkout the project (anywhere suitable). Then open FireFox and
File > Open File ..., navigate the File Chooser to the saml2_ecp at openliberty.org.xpi
file ... this will copy all the necessary files into their correct
places. ...
- (Although it hasn't worked for me yet)(Mac OS X), this url: https://openliberty.svn.sourceforge.net/svnroot/openliberty/SAMLv2/ECP/FirefoxPlugin/trunk/saml2_ecp@openliberty.org.xpi
, 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 application/x-xpinstall.
>
> 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.
When installation is successful, it should appear under Tools, and add
a Sidebar toggle item to your main Toolbar.
>
> 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.
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.
>
> _________________________
> Peter Williams
> Chief Information Security Officer
> Mobile (805) 416-6305
> _______________________________________________
> Wsf-dev mailing list
> Wsf-dev at lists.openliberty.org
> http://lists.openliberty.org/mailman/listinfo/wsf-dev_lists.openliberty.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openliberty.org/pipermail/wsf-dev_lists.openliberty.org/attachments/20080428/23c7c489/attachment.html
More information about the Wsf-dev
mailing list