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 "How to build eSWT for Windows Mobile 6 Pro"

(Steps of How to build eswt-converge.dll)
Line 37: Line 37:
 
#Click Build-->Builds Solution
 
#Click Build-->Builds Solution
 
#Then you can build eswt-converge.dll successfully which resides in ~\workspace\org.eclipse.ercp.swt.wm6pro\os\win32\arm
 
#Then you can build eswt-converge.dll successfully which resides in ~\workspace\org.eclipse.ercp.swt.wm6pro\os\win32\arm
 +
  
 
=== Steps of How to build eswt-converge.jar ===  
 
=== Steps of How to build eswt-converge.jar ===  

Revision as of 05:00, 3 November 2008

Prerequisite

  1. Install Visual Studio 2005 and it will also install the .Net framework
  2. Install Windows Mobile 6 Professional SDK Refresh.msi for WM 5 & WM6
  3. Install IBM Java 1.4.2 SDK
  4. Checkout org.eclipse.ercp.swt.core.win org.eclipse.ercp.swt.expanded.win org.eclipse.ercp.swt.mobile.win from dev.eclipse.org
  5. Checkout org.eclipse.ercp.swt.wm6pro from dev.eclipse.org
  6. Should download jniport.h and jni.h to your PC


Steps of How to Resovle the Errors in org.eclipse.ercp.swt.core(expanded|mobile).win

  1. Right click org.eclipse.ercp.swt.core(expanded|mobile).win in your IDE
  2. Click Propertis
  3. Click Java Build Path
  4. Click Libraries
  5. Remove all default jar/lib path
  6. Add Library
  7. Choose JRE System Library
  8. Click Next and Point to the Device JRE
  9. Then we should resolve the errors in these three projects


Steps of How to build eswt-converge.dll

  1. Go to ~\workspace\org.eclipse.ercp.swt.wm6pro\converged_dll
  2. Double click eswt-converged.sln
  3. Visual Studio bring up
  4. Right click ugl_wince_port in right panel
  5. Click Properties, it will bring up the property page
  6. Expand C/C++
  7. Click General
  8. Click the scroll-down button of the Additional Include Diectories, tt will bring up the Additional Include Directories page
  9. Click New Line, it will generate a new entry
  10. Click the scroll-down button on the right hand side again
  11. Point to the folder which jniport.h and jni.h resides
  12. Click OK and save this configuration
  13. Choose the Windows Mobile 6 Professional SDK(ARMV4I) on top-center scroll-down menu
  14. Choose Release mode of top-left-center scroll-down menu
  15. Click Build-->Builds Solution
  16. Then you can build eswt-converge.dll successfully which resides in ~\workspace\org.eclipse.ercp.swt.wm6pro\os\win32\arm


Steps of How to build eswt-converge.jar

  1. This required IBM 1.4.2 Java SDK to build and I assume you install this SDK in the default path --> C:\Program Files\IBM\Java142\
  2. Modify the env.ini under ~\workspace\org.eclipse.ercp.swt.wm6pro converged_jar folder
    1. JAVA_COMPILER=C:\Program Files\IBM\Java142\bin\javac.exe
    2. JAVA_ARCHIVE=C:\Program Files\IBM\Java142\bin\jar.exe
  3. Double click main.bat
  4. Then you can build eswt-converge.jar successfully which resides in ~\workspace\org.eclipse.ercp.swt.wm6pro\ws\win32\

Back to the top