Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "ATF/XULRunner"

< ATF
 
(7 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
At ATF we use XULRunner to embed Mozilla browser into Eclipse to provide advanced web development environment with such features as javascript debugging or browser DOM model inspection and more. You can get XULRunner from [http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/ Mozilla downloads].
 
At ATF we use XULRunner to embed Mozilla browser into Eclipse to provide advanced web development environment with such features as javascript debugging or browser DOM model inspection and more. You can get XULRunner from [http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/ Mozilla downloads].
  
Following are the steps to package XULRunner into Eclipse update site so it can be consumed by Eclipse application.
+
Following are the steps to package XULRunner into Eclipse update site so it can be consumed by Eclipse application. This steps require [http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php Eclipse 3.5].
  
* Check-out the org.mozilla.xulrunner.releng project
+
# '''Check-out the org.eclipse.atf.mozilla.xulrunner.releng project from Eclipse CVS'''
* Import org.eclipse.pde.build into your workspace
+
## Paste this to Eclipse CVS Connection wizard :pserver:anonymous@dev.eclipse.org:/cvsroot/tools
* Launch antRunner with
+
## Check out this node from CVS: org.eclipse.atf/components/releng/org.eclipse.atf.mozilla.xulrunner.releng
** application arguments: -buildfile ${workspace_loc}\org.eclipse.pde.build\scripts\build.xml
+
# '''Import org.eclipse.pde.build into your workspace'''
** vmargs: -Dbuilder=${workspace_loc}\org.mozilla.xulrunner.releng -DbaseLocation=""
+
## Click File->Import...,
 +
## choose "Plug-ins and Fragments", press Next
 +
## add "org.eclipse.pde.build" to plug-ins to import and press Finish.
 +
# '''Launch build'''
 +
## choose "Run -> Run Configurations...", select "XULRunner Packaging" and press Run.
 +
# '''Ready!'''
 +
## Now your XULRunner update site is ready! point your p2 Update Manager at org.eclipse.atf.mozilla.xulrunner.releng\build\result\xulrunner.zip and enjoy!
 +
 
 +
In case of any trouble please check  [http://help.eclipse.org/ganymede/topic/org.eclipse.pde.doc.user/tasks/pde_feature_build.htm PDE Help topic] or ask at [http://www.eclipse.org/atf ATF] forums.
 +
 
 +
Please also see Eclipse {{bug|286207}} about automatically building XULRunner and Mozilla [http://bugzilla.mozilla.org/show_bug.cgi?id=507575 bug 507575] about publishing Eclipse update site on Mozilla.org.

Latest revision as of 05:59, 12 August 2009

Mozilla XULRunner is a Mozilla runtime package that allows to embed and launch a complete Mozilla-based browser into an application.

At ATF we use XULRunner to embed Mozilla browser into Eclipse to provide advanced web development environment with such features as javascript debugging or browser DOM model inspection and more. You can get XULRunner from Mozilla downloads.

Following are the steps to package XULRunner into Eclipse update site so it can be consumed by Eclipse application. This steps require Eclipse 3.5.

  1. Check-out the org.eclipse.atf.mozilla.xulrunner.releng project from Eclipse CVS
    1. Paste this to Eclipse CVS Connection wizard :pserver:anonymous@dev.eclipse.org:/cvsroot/tools
    2. Check out this node from CVS: org.eclipse.atf/components/releng/org.eclipse.atf.mozilla.xulrunner.releng
  2. Import org.eclipse.pde.build into your workspace
    1. Click File->Import...,
    2. choose "Plug-ins and Fragments", press Next
    3. add "org.eclipse.pde.build" to plug-ins to import and press Finish.
  3. Launch build
    1. choose "Run -> Run Configurations...", select "XULRunner Packaging" and press Run.
  4. Ready!
    1. Now your XULRunner update site is ready! point your p2 Update Manager at org.eclipse.atf.mozilla.xulrunner.releng\build\result\xulrunner.zip and enjoy!

In case of any trouble please check PDE Help topic or ask at ATF forums.

Please also see Eclipse bug 286207 about automatically building XULRunner and Mozilla bug 507575 about publishing Eclipse update site on Mozilla.org.

Back to the top