Hej thanks for your reply,

ya, I've put the SunSPOT folder in the root, so it is in /root/SunSPOT/ and 
inside that folder, there is sdk version. This hierarchy as same as what i run 
in my linux box (and it's running well). I've also have set java and ant in the 
environment variable, both the home and path, so it is like this:
root@voyage:~# echo $JAVA_HOME
/usr/lib/jvm/java-6-sun-1.6.0.26
root@voyage:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-6-sun-1.6.0.26/bin:/usr/ant/bin
root@voyage:~# which java
/usr/bin/java
root@voyage:~# echo $ANT_HOME
/usr/ant

But when i try to build the example application in the SunSPOT, it still can't 
run
root@voyage:~/SunSPOT/sdk/Demos/BounceDemo/BounceDemo-OnDesktop# ant info
Buildfile: /root/SunSPOT/sdk/Demos/BounceDemo/BounceDemo-OnDesktop/build.xml
BUILD FAILED
/root/SunSPOT/sdk/Demos/BounceDemo/BounceDemo-OnDesktop/build.xml:65: Cannot 
find 
/root/SunSPOT/sdk/Demos/BounceDemo/BounceDemo-OnDesktop/${sunspot.home}/build.xml
 imported from /root/SunSPOT/sdk/Demos/BounceDemo/BounceDemo-OnDesktop/build.xml

Total time: 3 seconds

I leave the "Also copy over the .sunspot.properties file in your home directory 
to the embedded linux user's home directory." part, as I dont have any idea 
what the file is that, nor I can't find it in my other linux box, which is 
running SunSPOT. Could it be that thing that make this doesn't work? Any body 
has experience on this?

Aidi

On 24 sep 2011, at 19.20, Gustin Johnson wrote:

I thought the line "...to the embedded linux user's home directory..."
was pretty clear.  By default the only the root user exists on voyage,
so you need to either create a user or use root (which is a really bad
idea).  If you must use the root user, the home directory is /root

2011/9/23 Laili Aidi <[email protected]<mailto:[email protected]>>:
Halo,
I'm currently trying to config the SunSPOT in the Voyage. I've read some
resources on the net regarding this, like in
https://www.sunspotworld.com/forums/viewtopic.php?f=32&t=3703&p=15222&hilit=linux#p15222
 and 
http://sydney.edu.au/engineering/it/~wsn/projects/quickstart-manual/bspotQStartManual.pdf
Which mention the we should install the Sun SPOT SDK on another LINUX box
first, then copy it to the voyage. I installed the SunSPOT in Ubuntu first,
then copy the entire SunSPOT folder to voyage and also set up JDK and ANT
path there. But the part I dont quite understand is, to copy the
.sunspot.properties file in home directory to the voyage directory, which I
can't find where is that file. Does it mean default.properties file? I tried
to change sunspot.home on it, to point to the directory to the SunSPOT
folder, become: sunspot.home=/sunSPOT/sdk or sunspot.home=/sunSPOT/sdk/
or sunspot.home=/root/sunSPOT/sdk/  But nothing's working. Could really
helpful to get some pointer on this.. thank you
Aidi
_______________________________________________
Voyage-linux mailing list
[email protected]<mailto:[email protected]>
http://list.voyage.hk/mailman/listinfo/voyage-linux



_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to