Building iCommand manually

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

Building iCommand manually

Postby emh » Sat Dec 22, 2007 11:35 pm

Hi,

I want to adapt some iCommand sources and therefore I want to build the iCommand jar file on my own.
But unfortunately, the iCommand jar file seems not to work well together with the bluecove.jar.
After adapting all FilePermissions and PropertyPermissions manually,
I get the following exception when trying to call NXTCommand.open():

Native Library intelbth not avalable
Native Library bluecove not avalable
Exception in thread "main" java.lang.Error: BlueCove not avalable
at com.intel.bluetooth.BlueCoveImpl.createDetectorOnWindows(BlueCoveImpl.java:214)
at com.intel.bluetooth.BlueCoveImpl.<init>(BlueCoveImpl.java:109)
at com.intel.bluetooth.BlueCoveImpl.<init>(BlueCoveImpl.java:35)
at com.intel.bluetooth.BlueCoveImpl$SingletonHolder.<clinit>(BlueCoveImpl.java:82)
at com.intel.bluetooth.BlueCoveImpl.instance(BlueCoveImpl.java:195)
at com.intel.bluetooth.BluetoothRFCommClientConnection.<init>(BluetoothRFCommClientConnection.java:32)
at com.intel.bluetooth.MicroeditionConnector.openImpl(MicroeditionConnector.java:195)
at com.intel.bluetooth.MicroeditionConnector.open(MicroeditionConnector.java:109)
at javax.microedition.io.Connector.open(Connector.java:79)
at icommand.nxt.comm.NXTCommBlueCove.open(NXTCommBlueCove.java:57)
at icommand.nxt.comm.NXTCommand.open(NXTCommand.java:685)
at test.NXTBluetoothManager.openConnection(NXTBluetoothManager.java:19)
at test.Test.main(Master.java:43)


It seems like this all works when using the compiled icommand.jar. How do I have to build the jar (i am using eclipse) so that it works? Or is there any other way I can solve that problem?

It seems like there is something wrong with the native part, but I played with -Dbluecove.native.path property, but nothing seems to work...

Thanks,

emh
emh
New User
 
Posts: 12
Joined: Sat Dec 15, 2007 6:48 pm

Postby bbagnall » Tue Dec 25, 2007 6:46 pm

Our build files for iCommand are found in the repository here if you want to see how we build everything:
http://nxtcommand.svn.sourceforge.net/v ... -icommand/
User avatar
bbagnall
Site Admin
 
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm


Return to NXJ Software

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 2 guests

more stuff