<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
Hej thanks for your reply,</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; min-height: 12px; ">
<br>
</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
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:</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; color: rgb(16, 16, 16); background-color: rgb(238, 238, 238); ">
<i><b>root@voyage:~# echo $JAVA_HOME</b></i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; color: rgb(16, 16, 16); background-color: rgb(238, 238, 238); ">
<i>/usr/lib/jvm/java-6-sun-1.6.0.26</i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; color: rgb(16, 16, 16); background-color: rgb(238, 238, 238); ">
<i><b>root@voyage:~# echo $PATH</b></i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; color: rgb(16, 16, 16); background-color: rgb(238, 238, 238); ">
<i>/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</i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; color: rgb(16, 16, 16); background-color: rgb(238, 238, 238); ">
<i><b>root@voyage:~# which java</b></i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; color: rgb(16, 16, 16); background-color: rgb(238, 238, 238); ">
<i>/usr/bin/java</i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
<i><b>root@voyage:~# echo $ANT_HOME </b></i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
<i>/usr/ant</i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
<br>
</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
But when i try to build the example application in the SunSPOT, it still can't run</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
<i><b>root@voyage:~/SunSPOT/sdk/Demos/BounceDemo/BounceDemo-OnDesktop# ant info</b></i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
<i>Buildfile: /root/SunSPOT/sdk/Demos/BounceDemo/BounceDemo-OnDesktop/build.xml</i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
<i>BUILD FAILED</i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
<i>/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</i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
<i><br>
</i></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Verdana; ">
<i>Total time: 3 seconds</i></div>
<div><br>
</div>
</div>
<div>I leave the "<i><span class="Apple-style-span" style="color: rgb(51, 51, 51); line-height: 18px; ">Also copy over the .sunspot.properties file in your home directory to the embedded </span><span class="Apple-style-span" style="color: rgb(51, 51, 51); line-height: 18px; "><span class="posthilit" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 2px; padding-bottom: 1px; padding-left: 2px; background-color: rgb(243, 191, 204); color: rgb(188, 42, 77); ">linux</span></span><span class="Apple-style-span" style="color: rgb(51, 51, 51); line-height: 18px; "> user's
 home directory.</span>"</i> 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?</div>
<div>
<div><br>
</div>
<div>Aidi</div>
<div><br>
</div>
<div>
<div>
<div>On 24 sep 2011, at 19.20, Gustin Johnson wrote:</div>
<br class="Apple-interchange-newline">
<div>I thought the line "...to the embedded linux user's home directory..."<br>
was pretty clear.  By default the only the root user exists on voyage,<br>
so you need to either create a user or use root (which is a really bad<br>
idea).  If you must use the root user, the home directory is /root<br>
<br>
2011/9/23 Laili Aidi <<a href="mailto:aidi@kth.se">aidi@kth.se</a>>:<br>
<blockquote type="cite">Halo,<br>
</blockquote>
<blockquote type="cite">I'm currently trying to config the SunSPOT in the Voyage. I've read some<br>
</blockquote>
<blockquote type="cite">resources on the net regarding this, like in<br>
</blockquote>
<blockquote type="cite"><a href="https://www.sunspotworld.com/forums/viewtopic.php?f=32&t=3703&p=15222&hilit=linux#p15222">https://www.sunspotworld.com/forums/viewtopic.php?f=32&t=3703&p=15222&hilit=linux#p15222</a> and <a href="http://sydney.edu.au/engineering/it/~wsn/projects/quickstart-manual/bspotQStartManual.pdf">http://sydney.edu.au/engineering/it/~wsn/projects/quickstart-manual/bspotQStartManual.pdf</a><br>
</blockquote>
<blockquote type="cite">Which mention the we should install the Sun SPOT SDK on another LINUX box<br>
</blockquote>
<blockquote type="cite">first, then copy it to the voyage. I installed the SunSPOT in Ubuntu first,<br>
</blockquote>
<blockquote type="cite">then copy the entire SunSPOT folder to voyage and also set up JDK and ANT<br>
</blockquote>
<blockquote type="cite">path there. But the part I dont quite understand is, to copy the<br>
</blockquote>
<blockquote type="cite">.sunspot.properties file in home directory to the voyage directory, which I<br>
</blockquote>
<blockquote type="cite">can't find where is that file. Does it mean default.properties file? I tried<br>
</blockquote>
<blockquote type="cite">to change sunspot.home on it, to point to the directory to the SunSPOT<br>
</blockquote>
<blockquote type="cite">folder, become: sunspot.home=/sunSPOT/sdk or sunspot.home=/sunSPOT/sdk/<br>
</blockquote>
<blockquote type="cite">or sunspot.home=/root/sunSPOT/sdk/  But nothing's working. Could really<br>
</blockquote>
<blockquote type="cite">helpful to get some pointer on this.. thank you<br>
</blockquote>
<blockquote type="cite">Aidi<br>
</blockquote>
<blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">Voyage-linux mailing list<br>
</blockquote>
<blockquote type="cite"><a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
</blockquote>
<blockquote type="cite"><a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
</div>
</div>
<br>
</div>
</div>
</body>
</html>