Hi Ahmet,

I assume you want to generate an installer application so other people 
do not have to install the full TinyOS environment?

If you want to be able to compile the whole application, I do not see a 
simple solution around installing the full TinyOS environment (including 
CygWin).

If it is enough to just install a binary, then you could copy the tools 
required for programming the mote. Eg. there is in the build directory 
somehwere a main.hex program that you can easily program to the mote 
with the bsl something program. If you need to modify the node ID, then 
you probably would want to get the main.exe binary and the tools to 
modify the contents of the binary (something like objdump and objcopy).

You could include the tools (and the required libraries for the tools) 
as resources in the jar file, then unpack the tools on request to a 
temporary location and execute them from Java. If this is not 
possible/acceptable, you would have to reimplement these tools in Java 
yourself.

Cheers,
Urs

Ahmet Unudulmaz wrote:
> I want to programming telosb mote without cygwin and I want to write a code
> on java. Cygwin create build file and I want to install this without cygwin
> and using Java. Is it possible?
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to