Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Quick guide to compile BlueCove in Raspberry

It is already in the 'OpenDevice' repository if you need.

See how to use the /wiki/spaces/DOC/pages/1704035

Compiling: on Raspberry side

sudo apt-get install bluetooth bluez-utils blueman
sudo apt-get install libbluetooth-dev
sudo apt-get install ant 

Download Sources

mkdir bluecovelib
cd bluecovelib

wget http://snapshot.bluecove.org/distribution/download/2.1.1-SNAPSHOT/2.1.1-SNAPSHOT.63/bluecove-gpl-2.1.1-SNAPSHOT-sources.tar.gz
tar -zxvf bluecove-gpl-2.1.1-SNAPSHOT-sources.tar.gz

Prepare dependecy

mkdir -p bluecove/target
cd bluecove/target
wget http://snapshot.bluecove.org/distribution/download/2.1.1-SNAPSHOT/2.1.1-SNAPSHOT.63/bluecove-2.1.1-SNAPSHOT.jar

Back and compile using ant

cd ../../bluecove-gpl-2.1.1-SNAPSHOT
ant all

 

Copy to desktop (if need):

scp target/bluecove-gpl-2.1.1-SNAPSHOT.jar username@192.168.0.XXX:~

 

On Desktop

Install as maven dependency in local repo, if you use maven

mvn install:install-file -Dfile=bluecove-gpl-2.1.1-SNAPSHOT.jar -DgroupId=net.sf.bluecove \
-DartifactId=bluecove-gpl-arm -Dversion=2.1.1-SNAPSHOT -Dpackaging=jar

 

Compiled version:

https://oss.sonatype.org/content/repositories/snapshots/br/com/criativasoft/opendevice/ext/bluecove-gpl-arm/

 

 

Deploy to OpenDevice repository (only for admins, ignore)

mvn deploy:deploy-file -DgroupId=br.com.criativasoft.opendevice.ext \
-DartifactId=bluecove-gpl-arm \
-Dversion=2.1.1-SNAPSHOT \
-Dpackaging=jar \
-Dfile=bluecove-gpl-arm-2.1.1-SNAPSHOT.jar \
-DrepositoryId=ossrh \
-Durl=https://oss.sonatype.org/content/repositories/snapshots

mvn deploy:deploy-file -DgroupId=br.com.criativasoft.opendevice.ext \
-DartifactId=bluecove \
-Dversion=2.1.1-SNAPSHOT \
-Dpackaging=jar \
-Dfile=bluecove-2.1.1-SNAPSHOT.jar \
-DrepositoryId=ossrh \
-Durl=https://oss.sonatype.org/content/repositories/snapshots
 
mvn deploy:deploy-file -DgroupId=br.com.criativasoft.opendevice.ext \
-DartifactId=bluecove-gpl \
-Dversion=2.1.1-SNAPSHOT \
-Dpackaging=jar \
-Dfile=bluecove-gpl-2.1.1-SNAPSHOT.jar \
-DrepositoryId=ossrh \
-Durl=https://oss.sonatype.org/content/repositories/snapshots
 
mvn deploy:deploy-file -DgroupId=br.com.criativasoft.opendevice.ext \
-DartifactId=bluecove-parent \
-Dversion=2.1.1-SNAPSHOT \
-Dpackaging=pom \
-Dfile=bluecove-parent-2.1.1-SNAPSHOT.pom \
-DrepositoryId=ossrh \
-Durl=https://oss.sonatype.org/content/repositories/snapshots
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.