hoares

分类

最新留言

链接

RSS

RSS Link
Build XULRUNNER SDK for windows 64 from source
SWT resources

Build swt-xulrunner.dll from source on Windows

hoares posted @ 2012年11月12日 15:20 in 未分类 with tags build Eclipse , 1813 阅读

Environments:

Windows 2003 Server 32 bit

Windows SDK: http://www.microsoft.com/en-us/download/details.aspx?id=15656 (Win SDK V7.0a/V7.1 does Not work)

Visual studio .net 2003 (VS 2005 works when building other SWT dlls but NOT swt-xulrunner.dll)

Gecko SDK: 1.8.0.4/1.9.2 (2.0 above has compilation error)

org.eclipse.swt.win32.win32.x86.source_3.100.1.v4234e.jar

JDK 1.6

build.bat changes:

 

:XULRUNNER
set MSSDK=C:\MSSDK
call "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vcvars32.bat"
call %MSSDK%\setenv /XP32 /RETAIL
IF x.%XULRUNNER_SDK%==x. set XULRUNNER_SDK=C:\gecko-sdk
IF x.%1==x.x86 shift
GOTO MAKE

Steps:

  1. Extract SWT source.jar 
  2. Modify build.bat
  3. Run cmd.exe
  4. Navigate to SWT source fold
  5. Run command: set BUILD_XULRUNNER=true
  6. Run command: build.bat x86 make_xulrunner

References:

http://www.eclipse.org/swt/faq.php#howbuilddll

http://www.blogjava.net/lifesting/archive/2008/07/24/217236.html

http://d.hatena.ne.jp/t-katochin/20090105


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter