Hi Angrez, I'm trying to use the FireWatir for automating on Firefox 3.5 on Mac OS X Leopard (Intel arch). The JSSh XPI I downloaded for Firefox 3.0 was from http://wiki.openqa.org/download/attachments/13893658/jssh-20080924-Darwin.xpi.
I tried to unpack the XPI and modify the <em:maxVersion> value to 3.*.* and repacked. This does not open the port 9997 when Firefox launched as # ./firefox-bin -jssh I tried to download the Mozilla source for v3.5 and build with the extension jssh. The built firefox-bin (available at ./fx-jssh/dist/ firefox/Shiretoko.app/Contents/MacOS/firefox-bin) solves the problem but not completely. I'm expecting to have an XPI that could be installed on a Firefox bundle that is available in the www.mozilla.com/firefox/ Steps I used to build the firefox are 1. Download tar ball from ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/3.5rc3/source/firefox-3.5rc3-source.tar.bz2 2. Install Xcode, MacPorts and ports for mercurial, libidl and autoconf213. 3. Create .mozconfig file in the home directory with the contents ######### ~/.mozconfig ############# . $topsrcdir/browser/config/mozconfig mk_add_options moz_objd...@topsrcdir@/fx-jssh mk_add_options MOZ_CO_PROJECT=browser,xulrunner ac_add_options --enable-extensions=default,jssh #ac_add_options --enable-debug --disable-optimize #ac_add_options --enable-shared --disable-static #ac_add_options --enable-static ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk mk_add_options MOZ_MAKE_FLAGS="-s -j4" 4. Compile the source # cd mozilla; make -f client.mk build Then I grabbed the libjssh.dylib from the newly built Firefox; replaced it for the libjssh.dylib in the XPI that was working for v3.0. Modify the max version tag in the install.rdf and repack it. The newly packed XPI does not work for both Firefox 3.0 & 3.5. Could you please help me over here and let me know if I have been doing something wrong. thanks, Hari. On Jul 6, 12:01 pm, Angrez Singh <[email protected]> wrote: > You need to build Firefox with the JSSh extension enabled. To create the XPI > go to JSSh directory and say "make xpi" that will generate the XPI. The only > problem with the generated XPI is that its format is compatible with only > Firefox 1.5.x versions. We need to tweak the XPI (nothing but a zip file) a > bit. Let me know if you need any help while compiling Firefox code. > > Thanks, > Angrez > > On Fri, Jul 3, 2009 at 6:45 PM, Felipe Knorr Kuhn <[email protected]> wrote: > > > Hello Angrez, > > > To build the XPI, do you have to go through the whole Firefox building > > process? > > > I've seen guides to build Firefox+JSSh, but I don't know if it creates the > > extension file separately or not :) > > > I could try to build it for Linux. > > > FK > > > On Fri, Jul 3, 2009 at 9:44 AM, Angrez Singh <[email protected]> wrote: > > >> Sure let me know where it fails > > >> On Fri, Jul 3, 2009 at 5:28 PM, Gonza <[email protected]> wrote: > > >>> Works fine! After testing it for a while I can tell you It works! I've > >>> several TCs, if any fails because jssh, I'll let you know. > > >>> Thanks, > > >>> Gonza --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
