r9 - 06 Jul 2004 - 01:25:53 - VikOlliverYou are here: SuperWaba >  Codev Web  > BuildingTheVM
One of the very nice features of SuperWaba is that you are allowed - and encouraged - to add useful features to the Virtual Machine (the VM). You will need various tools to do this, such as Microsoft Visual C++ for the Windows version, and CodeWarrior V9.0 for the Palm version (GNU-compatible builds are under development). This page is a good place to put your own documentation and findings.

To help you configure CodeWarrior, here are images showing what your settings should look like when compiling the Native Methods and the SuperWaba.pdb files.

Microsoft Platform Builds

Guich has put together a few packages of files to help users rebuild the VM. If you wish to contribute a new version, do give it a new version number.

You will need to edit TargetPlatform.h in the "External Dependencies" folder. Your Project Settings will also need the output filename in the "Link" tab changed, and xplat_javalang.c needs to go in the source list.

The 4.0 Embedded Visual C++ toolkit can be obtained from Microsoft for free. It is recommended that the SP3 also be installed to fix numerous bugs and speed up the code. The SP3 is not in the main download page, but will be presented as an option when you attempt to download SP1 from here:

http://msdn.microsoft.com/mobility/prodtechinfo/devtools/eVisualc/howtoget/default.aspx

Note Microsoft recommend that you use the following CD key when installing this software:
TRT7H-KD36T-FRH8D-6QH8P-VFJHQ

You will need a platform SDK for the device(s) that you intend to develop for. These can be had from:

http://msdn.microsoft.com/mobility/downloads/sdks/default.aspx

The Windows CE: Standard Software Development Kit (SDK) is a recommended starting point.

This toolkit may run under WINE in Linux if you can figure out how to be an Administrator. Please ammend this page with instructions on how to do this if you figure it out!

Apache ANT Version

Current build files require ANT 1.6, so you might need to upgrade.
Older versions cause errors like:

BUILD FAILED
file:/home/vik/src/SuperWabaSDK/build.xml:144: The <filterchain> data type
doesn't support the nested "tokenfilter" element.
See the FAQ for details.

Updating CVS

"Changes in SuperWaba 4.21"....23. changed MultiEdit to set keyboard to none when not editable - vik"
  • In the sources where the changes are made, put your mark on the same line as the change (does not need to be in all lines):
// vik@421_23: Blah blah...
  • Commit your changes to cvs. First do an update, then a commit. This allows an easy way to identify changed things, specially for people that are not familiar with cvs.

-- VikOlliver - 06 Jul 2004

toggleopenShow attachmentstogglecloseHide attachments
Topic attachments
I Attachment Action Size Date Who Comment
zipzip proj_vmce.zip manage 26.0 K 19 Feb 2004 - 21:40 VikOlliver Project for building the WinCE?/PocketPC VM
zipzip proj_vmpalm.zip manage 46.1 K 19 Feb 2004 - 21:41 VikOlliver Project for building the Palm VM
zipzip proj_vmwin32.zip manage 11.1 K 19 Feb 2004 - 21:41 VikOlliver Project for building a native Windows VM
gifgif NMDeploy.gif manage 109.0 K 19 Feb 2004 - 21:43 VikOlliver Settings screenshots for building Native Methods
gifgif SWDeploy.gif manage 110.4 K 19 Feb 2004 - 21:44 VikOlliver Settings screenshots for building SuperWaba
Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r9 < r8 < r7 < r6 < r5 | More topic actions
 
SuperWaba home
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding SuperWaba? Send feedback