Library Extension Sample Code.

  This code illustrates how to add user code to the
Sun SPOT library. Please refer to the section titled
Advanced topics Using library suites in the Sun SPOT
developers guide for details.

  Follow these instructions to use this sample code:

1. Open the addertest project and choose "Build Project"
   from the project menu. This attempt should fail with
   the errors:
      "package adder does not exist"
      "cannot find symbol Adder"
   indicating that there is no Adder class in the default
   library.

2. Open the adderlib project in Netbeans and choose
   "Build library" to create a new version of the SPOT library,
   named adderlib, that includes a new Adder class.
   Deploy this library to the Sun SPOT by choosing 
   "Flash library to Sun SPOT".

3. Change the setting of spot.library.name property from 
   transducerlib to adderlib before rebuilding the addertest 
   project.
  
   If you wish to use the new library only for the addertest project:

     * edit the build.properties file in addertest to contain the line: 
         spot.library.name=adderlib
     * edit the build.xml file in addertest to insert
         <property file="build.properties" />
       just before the line 
         <property file="${user.home}/.sunspot.properties"/>

   If you wish to use the new library for all your SPOT projects,
   change the setting of spot.library.name from transducerlib to 
   adderlib directly in .sunspot.properties. The file .sunspot.properties
   resides in the user's home directory.
    
4. Back in the addertest project, choose "Build Project + Deploy to 
   Sun SPOT" followed by "Run Project"

5. If all goes well the addertest program will print
       2 plus 2 is 4
       CRC of 2,3,4 is 7992
