14 Replies Latest reply: Jul 4, 2011 7:17 PM by Darryl Miles RSS

64 bit xulrunner - has anyone got one, or detailed steps to build one?

Steve Kohler Newbie

Hi All,

 

Has anyone got a resolution to the xulrunner (JBoss tools) problem for 64 bit windows?  I found the following how to:

 

"Q: How do I build the 64-bit version of SWT GTK?
    A: Follow these steps to extract the 64-bit SWT GTK source code from CVS and produce your own build:

 

    1. Start Eclipse and retrieve the org.eclipse.swt, org.eclipse.swt.gtk.linux.x86_64 and org.eclipse.swt.tools projects from dev.eclipse.org (see How to use SWT from CVS, use .classpath_gtk as the .classpath file in the org.eclipse.swt project). 
    2. Convert SWT's Java and C code from its 32-bit form to 64-bit:  * To convert the Java code in-place, go to the build.xml ant script in  the org.eclipse.swt.gtk.linux.x86_64 project and run its  "replace.32.to.64" target.  Once this target has completed you must refresh (F5) the org.eclipse.swt project in order to pick up the changes.  * To convert and build the C code, run the "buildNatives" target in the  same build.xml file.  Refresh (F5) the org.eclipse.swt.gtk.linux.x86_64  project when this target has completed, to pick up the new libraries.
    3. You're done! The org.eclipse.swt.gtk.linux.x86_64 project will now  contain the 64-bit native libraries, and if you're interested, the  64-bit source code will now be available in the  org.eclipse.swt.gtk.linux.x86_64/src folder." 

 

It sounds easy, but I've had the following problems:

  1. Can't get to the CVS repository from eclipse.  (I've tried the dev.eclipse.org site with /cvsroot/eclipse anonymous and a set of newer parameters listed on the eclipse website.)  This may be a firewall problem but I'm not sure. 
  2. Attempted to use the SWT .zip file downloaded from eclipse and unzipped as the basis for a project to follow above steps after creating project, but can't seem to get that to do what it's suppose to either.  I have fooled around with the build.xml, tweaking and running the targets individually, but no success yet and can't help wondering if it's really supposed to be this complicated, or if I'm missing something that I'm just not seeing.  Also, when I extracted the inner src.zip file (to the same level as the zip file itself for lack of any instructions), there were numerous "ActionErrors cannot be resolved to a type" messages after I refreshed the project. 

 

Has anyone actually created a 64 bit xulrunner that can be used by the JBoss tool plugins?  If so can you point me to the instructions and/or an actual working example or steps that will really work?