Skip to content
UPnP/DLNA library for Java and Android
Java HTML CSS
Find file
Latest commit 159fe18 @christianbauer christianbauer New version
Failed to load latest commit information.
core New version
demo New version
distribution New version
mediarenderer New version
misc Removed OS X app build, thanks for nothing Oracle and Apple
support New version
website New version
workbench New version
.gitignore Minor
README.md New version
pom.xml New version

README.md

Read the README.txt

https://github.com/4thline/cling/blob/master/distribution/src/dist/README.txt

Building Cling

  • Install Maven 3.2.3 or newer.

  • Install the Android SDK and set the ANDROID_HOME environment variable to the SDK install directory.

  • Clone the Cling source:

git clone https://github.com/4thline/cling.git
  • Change into the cling/ directory.

  • Install everything into your local ~/.m2 Maven repository (this will take a few minutes if all dependencies have to be downloaded for the first time).

mvn clean install

If your build fails with Android/dex packaging errors, you forgot the clean.

  • Use Cling in your pom.xml with:
<dependencies>
  <dependency>
    <groupId>org.fourthline.cling</groupId>
    <artifactId>cling-core</artifactId>
    <version>2.1.1-SNAPSHOT</version>
  </dependency>
</dependencies>

Building OS X Workbench DMG

hdiutil create -srcfolder workbench/target/cling-workbench-2.1.1-SNAPSHOT/Cling\ Workbench.app workbench/target/cling-workbench-2.1.1-SNAPSHOT/Cling\ Workbench.dmg
Something went wrong with that request. Please try again.