This is BIG News ... Sun SPOT Dev builds, and more
Thursday Apr 24, 2008
So I was going to write a long and involved blog post about the release of the ‘nightly’ builds (which don’t happen every night, so don’t get all excited. We’re going to call them ‘nocturnal builds’ since Eric mostly works at night anyway). But then Ron posted this excellent post in the forums about it all, so I decided to just copy it and post it here. Saves me a ton of work.
A couple of points about this:
- It means we are making our untested dev builds available, which means that the code has not necessarily been tested. Which means that there may very well be significant bugs. But there may also not be, and we have usually fixed other bugs, so it’s a trade-off.
- It makes the Sun SPOT Manager Tool v3.0 (formerly known as Truth or Consequences) the default Sun SPOT Manager Tool. It also makes that freely available to everyone. No more secret sauce there.
- It means that the Software Only SDK (the stable version is v3.0 (Purple)) is now freely available to everyone. No more Beta emails to me. Just go fire up the Sun SPOT Manager Tool (here:
) and away you go. I’ll post more detailed instructions shortly.
So here’s Ron’s excellent post, in case you don’t want to go all the way over there to read it:
As part of our efforts to open source our Sun SPOT work we are delighted to announce that we are making available our nightly builds (which actually happen every 2-3 weeks). These builds are based on the current source code in the java.net SVN archive.Note that these are pre-alpha releases that have not undergone any testing, so use them at your own risk. However we imagine that some folks will want to try out the latest features and bug fixes. This is the SDK version that members of the Sun SPOT Team use for our daily work, so if it is really broken we will normally fix things and do another build right away.
To install a nightly build, go to http://www.sunspotworld.com/SPOTManager/ and click on SPOTManager, or just start up the SPOTManager application if you have already installed it. In the SPOT Manager open the Preferences tab and select "Dev Preview". Then go to the SDK tab and choose the build you want to install.
When reporting problems or bugs please be sure to specify which version of the SDK you are using.
*** Major Changes ***
* Can now deploy multiple application suites to be loaded & run on a SPOT
* Several new ant commands
* Demos are now included as part of the SDK: <sdk>/Demos
* Two new demos have been added: DatabaseDemo & HTTPDemo
* The SPOTWorld application is now called Solarium
* Many SPOT library jar files were renamed or moved
* Almost 200 bugs fixed
* Several new ant commands
* Demos are now included as part of the SDK: <sdk>/Demos
* Two new demos have been added: DatabaseDemo & HTTPDemo
* The SPOTWorld application is now called Solarium
* Many SPOT library jar files were renamed or moved
* Almost 200 bugs fixed
The biggest change from Purple is support for multiple application suites to be loaded & run on a SPOT. One can now deploy several applications to a SPOT without disturbing already running applications. See "ant help" for details.
For the most part the SPOT library APIs have not changed, so most of your SPOT applications should compile without needing any changes. However, a number of library jar files have been renamed or moved. This should not affect anyone who uses the ant scripts to build & deploy SPOT apps, but it may cause people using an IDE like NetBeans or Eclipse to not find various library packages.
For NetBeans users this information is specified for each project in the project.xml file in the nbproject folder. We are now using a much better way to specify the classpath using the same properties that are used when building a project with ant. In your project's project.xml file please change:
old: (located near the top)
| Code: |
| <properties/> |
new: (for SPOT apps)
| Code: |
| <properties> <property-file>${user.home}/.sunspot.properties</property-file> <property-file>build.properties</property-file> <property-file>${sunspot.home}/default.properties</property-file> </properties> |
or (for SPOT host apps)
| Code: |
| <properties> <property-file>${user.home}/.sunspot.properties</property-file> <property-file>build.properties</property-file> <property-file>${sunspot.home}/default.properties</property-file> <property-file>${netbeans.user}/build.properties</property-file> </properties> |
and
old: (located near the bottom - xxx = local pathname)
| Code: |
| <classpath mode="compile">xxx/SunSPOT/sdk/lib/spotlib_device.jar:xxx/SunSPOT/sdk/lib/spotlib_common.jar:xxx/SunSPOT/sdk/lib/multihoplib.jar:xxx/SunSPOT/sdk/lib/transducerlib_rt.jar</classpath> <classpath mode="boot">xxx/SunSPOT/sdk/lib/squawk_rt.jar</classpath> |
new: (for SPOT apps)
| Code: |
| <classpath mode="boot">${sunspot.bootclasspath}</classpath> <classpath mode="compile">${sunspot.classpath}</classpath> <built-to>build</built-to> <source-level>1.4</source-level> |
or (for SPOT host apps)
| Code: |
| <classpath mode="compile">${hostagent.compile.classpath}:${libs.absolutelayout.classpath}:${libs.swing-layout.classpath}</classpath> <built-to>build</built-to> <source-level>1.5</source-level> |
Bugs that have been fixed are listed in the file changehistory.html located in the SDK doc folder. Note that bugs numbered 1231 or higher can be found on java.net at: https://squawk.dev.java.net/issues/query.cgi
[ "One planet is all you get." ]












Posted by Danilo Poccia - Tecnologia et al. on April 24, 2008 at 11:03 AM EDT #