Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Philip Levis
On Aug 17, 2006, at 6:04 PM, Kannan Srinivasan wrote: Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set the environment variables as:

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Quoting Philip Levis [EMAIL PROTECTED]: On Aug 17, 2006, at 6:04 PM, Kannan Srinivasan wrote: Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set the

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Quoting Philip Levis [EMAIL PROTECTED]: On Aug 17, 2006, at 6:04 PM, Kannan Srinivasan wrote: Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set the

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Philip Levis
On Aug 18, 2006, at 12:14 AM, Kannan Srinivasan wrote: I went ahead and compiled java code in the apps directory. It is giving me the following error (eg. compiling java code under Oscilloscope): $ javac Oscilloscope.java Oscilloscope.java:55: cannot access net.tinyos.util.SerialStub file

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Quoting Philip Levis [EMAIL PROTECTED]: On Aug 18, 2006, at 12:14 AM, Kannan Srinivasan wrote: I went ahead and compiled java code in the apps directory. It is giving me the following error (eg. compiling java code under Oscilloscope): $ javac Oscilloscope.java

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread David Gay
On 8/18/06, Kannan Srinivasan [EMAIL PROTECTED] wrote: Quoting Philip Levis [EMAIL PROTECTED]: On Aug 18, 2006, at 12:14 AM, Kannan Srinivasan wrote: I went ahead and compiled java code in the apps directory. It is giving me the following error (eg. compiling java code under

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Philip Levis
On Aug 18, 2006, at 10:02 AM, Kannan Srinivasan wrote: My Classpath is set as follows and is pointing to tinyos-2.x java code: TOSROOT=/opt/tinyos-2.x export TOSROOT TOSDIR=$TOSROOT/tos export TOSDIR export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar` export

Re: [Tinyos-help] Tinyos-2.x Upgrade.

2006-08-18 Thread Kannan Srinivasan
Hi Jay, You are right. The classpath did have older paths before the new one. I exported the new classpath again (at the end of java compilation) and it works now. It also explains why it was complaining earlier about not being able to find SerialStub, which does not exist in tinyos-2.x (as Phil

[Tinyos-help] Tinyos-2.x Upgrade.

2006-08-17 Thread Kannan Srinivasan
Hi All, I am using cygwin and followed the instructions outlined on http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html to upgrade from tinyos-1.x to tinyos-2.x. I first set the environment variables as: TOSROOT=/opt/tinyos-2.x export TOSROOT TOSDIR=$TOSROOT/tos export TOSDIR export