
Compilation with JSDK 1.3
H:\apps\waba\examples\HELLOW~1>javac HelloWorldWABA.java


we'll use the "warp" program to generate a file containing the application's classes. The classes are not modified by this program, they are simply packaged up into a PalmPilot PDB file. This is also known as a WARP (Waba Application Resource Package) file. Warp files can contain things other than classes, in fact they can contain files of any type.
Here we generate a warp file for the Hello program containing the HelloWorld class:
> warp c Hello HelloWorld.class

The name we give the warp file must match the name of the warp file we specified when creating the launch program with exegen. If it does not match, the launch program will not be able to find the warp file containing the programs classes.
In the example above, we added a single class to the PDB file "HelloWorld.class". We could also have used:

> warp c Hello *.class

>Warp

Usage: warp command [options] warpfile [files]

Commands:
   c   Create new warp file
   l   List contents of a warp file

Options:
  /?   Displays usage text
  /c   Override and assign PDB database creator (e.g. /c CrTr)
  /q   Quiet mode (no output except for errors)

This program creates both a WindowsCE .wrp warp file and a PalmOS .pdb
warp file. For PalmOS, a PDB database name and PDB creator will be
generated automatically from the name of the warp file.

Examples:
   warp c helloApp *.class util\*.class
   warp l helloApp.wrp
   warp l helloApp.pdb

   
>warp c HelloWorld HelloWorldWABA.class
Wabasoft (TM) Application Resource Packager   Version 1.30.0
Copyright (C) Wabasoft 1998. All rights reserved

warp files: HelloWorld.pdb HelloWorld.wrp
PalmOS PDB name: HelloWorld
PalmOS PDB creator: GQVX
PalmOS PDB version: 1
...writing HelloWorld.pdb
...adding: HelloWorldWABA.class
...done
...writing HelloWorld.wrp
...adding: HelloWorldWABA.class
...done

H:\apps\waba\examples\HELLOW~1>waba /h 600 /w 800 HelloWorldWABA HelloWorld.pdb
Note that it does only work with the original class name, not the simplified pdb version

