info: integrate java OSGi bundles
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 10 Aug 2016 10:50:28 +0000 (12:50 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 10 Aug 2016 10:50:28 +0000 (12:50 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
286 files changed:
Makefile
lib/info.java/.gitignore [new file with mode: 0644]
lib/info.java/.gradle-wrapper/gradle-wrapper.jar [new file with mode: 0644]
lib/info.java/.gradle-wrapper/gradle-wrapper.properties [new file with mode: 0644]
lib/info.java/BUILDING [new file with mode: 0644]
lib/info.java/BUILDING-GRADLE.md [new file with mode: 0644]
lib/info.java/LICENSE.txt [new file with mode: 0644]
lib/info.java/Makefile [new file with mode: 0644]
lib/info.java/build.gradle [new file with mode: 0644]
lib/info.java/cnf/.classpath [new file with mode: 0644]
lib/info.java/cnf/.gitignore [new file with mode: 0644]
lib/info.java/cnf/.project [new file with mode: 0644]
lib/info.java/cnf/.settings [new symlink]
lib/info.java/cnf/build.bnd [new file with mode: 0644]
lib/info.java/cnf/buildrepo/README.txt [new file with mode: 0644]
lib/info.java/cnf/buildrepo/hamcrest-core/hamcrest-core-1.3.0.jar [new file with mode: 0644]
lib/info.java/cnf/buildrepo/junit/junit-4.12.0.jar [new file with mode: 0644]
lib/info.java/cnf/buildrepo/osgi.annotation/osgi.annotation-6.0.1.jar [new file with mode: 0644]
lib/info.java/cnf/buildrepo/osgi.cmpn/osgi.cmpn-6.0.0.jar [new file with mode: 0644]
lib/info.java/cnf/buildrepo/osgi.core/osgi.core-6.0.0.jar [new file with mode: 0644]
lib/info.java/cnf/ext/junit.bnd [new file with mode: 0644]
lib/info.java/cnf/ext/pluginpaths.bnd [new file with mode: 0644]
lib/info.java/cnf/ext/repositories.bnd [new file with mode: 0644]
lib/info.java/cnf/findbugs/findbugs.exclude.xml [new file with mode: 0644]
lib/info.java/cnf/findbugs/findbugs.include.xml [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/allProject-post.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/allProject-pre.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/bndProject-post.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/bndProject-pre.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/javaProject-post.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/javaProject-pre.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/nonBndProject-pre.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/rootProject-post.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/rootProject-pre.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/subProject-post.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/subProject-pre.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/workspace-post.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/custom/workspace-pre.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/dependencies/biz.aQute.bnd.gradle.jar [new file with mode: 0644]
lib/info.java/cnf/gradle/dependencies/org.osgi.impl.bundle.bindex.jar [new file with mode: 0644]
lib/info.java/cnf/gradle/dependencies/org.osgi.impl.bundle.repoindex.cli.jar [new file with mode: 0644]
lib/info.java/cnf/gradle/doc/BUILDING-GRADLE.md [new file with mode: 0644]
lib/info.java/cnf/gradle/doc/Bndtools Plugins by Pelagic - Screenshot.png [new file with mode: 0644]
lib/info.java/cnf/gradle/doc/CHANGELOG.md [new file with mode: 0644]
lib/info.java/cnf/gradle/doc/Jenkins-Build-Settings.jpg [new file with mode: 0644]
lib/info.java/cnf/gradle/doc/LICENSE.FDL [new file with mode: 0644]
lib/info.java/cnf/gradle/doc/LICENSE.LGPL [new file with mode: 0644]
lib/info.java/cnf/gradle/doc/template.dot [new file with mode: 0644]
lib/info.java/cnf/gradle/doc/template.svg [new file with mode: 0644]
lib/info.java/cnf/gradle/template/buildDependencies.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/template/clean.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/template/findbugs.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/template/index.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/template/init.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/template/jacoco.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/template/javaDoc.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/template/javaProject.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/template/master.gradle [new file with mode: 0644]
lib/info.java/cnf/gradle/template/rootProject.gradle [new file with mode: 0644]
lib/info.java/cnf/localrepo/README [new file with mode: 0644]
lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-annotations/com.fasterxml.jackson.core.jackson-annotations-2.8.1.jar [new file with mode: 0644]
lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-core/com.fasterxml.jackson.core.jackson-core-2.8.1.jar [new file with mode: 0644]
lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-databind/com.fasterxml.jackson.core.jackson-databind-2.8.1.jar [new file with mode: 0644]
lib/info.java/cnf/localrepo/index.xml [new file with mode: 0644]
lib/info.java/cnf/localrepo/index.xml.sha [new file with mode: 0644]
lib/info.java/cnf/plugins/biz.aQute.repository/biz.aQute.repository.jar [new file with mode: 0644]
lib/info.java/cnf/releaserepo/index.xml [new file with mode: 0644]
lib/info.java/cnf/releaserepo/index.xml.sha [new file with mode: 0644]
lib/info.java/cnf/releaserepoCI/index.xml [new file with mode: 0644]
lib/info.java/cnf/releaserepoCI/index.xml.sha [new file with mode: 0644]
lib/info.java/cnf/src/.gitignore [new file with mode: 0644]
lib/info.java/eclipse.settings/bndtools.core.prefs [new file with mode: 0644]
lib/info.java/eclipse.settings/org.eclipse.jdt.core.prefs [new file with mode: 0644]
lib/info.java/eclipse.settings/org.eclipse.jdt.ui.prefs [new file with mode: 0644]
lib/info.java/gradle.properties [new file with mode: 0644]
lib/info.java/gradlew [new file with mode: 0755]
lib/info.java/gradlew.bat [new file with mode: 0644]
lib/info.java/javadoc-all/.classpath [new file with mode: 0644]
lib/info.java/javadoc-all/.gitignore [new file with mode: 0644]
lib/info.java/javadoc-all/.project [new file with mode: 0644]
lib/info.java/javadoc-all/.settings [new symlink]
lib/info.java/javadoc-all/build-settings.gradle [new file with mode: 0644]
lib/info.java/javadoc-all/build.gradle [new file with mode: 0644]
lib/info.java/javadoc-all/src/.gitignore [new file with mode: 0644]
lib/info.java/javadoc-api/.classpath [new file with mode: 0644]
lib/info.java/javadoc-api/.gitignore [new file with mode: 0644]
lib/info.java/javadoc-api/.project [new file with mode: 0644]
lib/info.java/javadoc-api/.settings [new symlink]
lib/info.java/javadoc-api/build-settings.gradle [new file with mode: 0644]
lib/info.java/javadoc-api/build.gradle [new file with mode: 0644]
lib/info.java/javadoc-api/src/.gitignore [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/.classpath [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/.gitignore [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/.project [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/.settings [new symlink]
lib/info.java/org.olsr.v1.info.api/bnd.bnd [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/README [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/2hop.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/all.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/base.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/config.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/gateways.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/hna.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/interfaces.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/links.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/mid.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/neighbors.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/neighbours.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/plugins.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/pudposition.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/routes.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/runtime.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/sgw.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/startup.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/topology.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/doc/examples/version.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/commands/InfoCommand.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/commands/package-info.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/contants/OlsrdConstants.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/contants/Willingness.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/contants/package-info.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoAll.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoBase.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfig.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigFib.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigHysteresis.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigIpcAcl.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigLinkQuality.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigRtTable.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigSgw.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigSgwBandwidth.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigSgwCostsCalculation.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigSgwEgress.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigSgwPrefix.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoConfigWillingness.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoGateways.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoGatewaysEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoGatewaysEntryBase.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoGatewaysFields.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoHna.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoHnaEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoInterfaceConfiguration.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoInterfaces.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoInterfacesEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoLinkQualityMultiplier.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoLinks.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoLinksEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoMessageParameters.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoMessageTimes.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoMid.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoMidEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoNeighbors.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoNeighborsEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoNeighborsEntryBase.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoNeighbours.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoOlsrInterface.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoPlugins.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoPluginsEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoPudPosition.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoPudPositionEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoPudPositionEntryDate.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoPudPositionEntrySatInfo.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoPudPositionEntrySatellite.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoPudPositionEntryTime.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoRoutes.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoRoutesEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoRuntime.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoSgw.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoSgwBandwidth.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoSgwEgressEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoSgwEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoSgwFields.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoSgwRouteInfo.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoStartup.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoTimedIpAddress.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoTopology.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoTopologyEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoTwoHop.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoTwoHopEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoVersion.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/JsonInfoVersionEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/dto/package-info.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/src/org/olsr/v1/info/api/util/CompareUtils.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/commands/TestInfoCommand.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/constants/TestOlsrdConstants.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/constants/TestWillingness.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/Helpers.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoAll.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoBase.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfig.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigFib.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigHysteresis.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigIpcAcl.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigLinkQuality.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigRtTable.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigSgw.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigSgwBandwidth.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigSgwCostsCalculation.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigSgwEgress.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigSgwPrefix.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoConfigWillingness.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoGateways.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoGatewaysEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoGatewaysFields.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoHna.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoHnaEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoInterfaceConfiguration.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoInterfaces.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoInterfacesEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoLinkQualityMultiplier.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoLinks.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoLinksEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoMessageParameters.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoMessageTimes.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoMid.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoMidEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoNeighbors.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoNeighborsEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoNeighborsEntryBase.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoNeighbours.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoOlsrInterface.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoPlugins.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoPluginsEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoPudPosition.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoPudPositionEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoPudPositionEntryDate.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoPudPositionEntrySatInfo.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoPudPositionEntrySatellite.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoPudPositionEntryTime.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoRoutes.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoRoutesEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoRuntime.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoSgw.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoSgwBandwidth.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoSgwEgressEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoSgwEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoSgwFields.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoSgwRouteInfo.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoStartup.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoTimedIpAddress.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoTopology.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoTopologyEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoTwoHop.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoTwoHopEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoVersion.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/dto/TestJsonInfoVersionEntry.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.api/test/org/olsr/v1/info/api/util/TestCompareUtils.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy.api/.classpath [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy.api/.gitignore [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy.api/.project [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy.api/.settings [new symlink]
lib/info.java/org.olsr.v1.info.proxy.api/bnd.bnd [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy.api/src/org/olsr/v1/info/proxy/api/InfoResult.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy.api/src/org/olsr/v1/info/proxy/api/OlsrdInfoProxy.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy.api/src/org/olsr/v1/info/proxy/api/packageinfo [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy.api/test/org/olsr/v1/info/proxy/api/TestInfoResult.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/.classpath [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/.gitignore [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/.project [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/.settings [new symlink]
lib/info.java/org.olsr.v1.info.proxy/bnd.bnd [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/build.gradle [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/src/org/olsr/v1/info/proxy/Config.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/src/org/olsr/v1/info/proxy/OlsrdInfoProxyImpl.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/src/org/olsr/v1/info/proxy/OlsrdInfoReader.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/src/org/olsr/v1/info/proxy/OlsrdInfoReaderState.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/test/com/googlecode/miyamoto/AnnotationProperty.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/test/com/googlecode/miyamoto/AnnotationProxyBuilder.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/test/com/googlecode/miyamoto/README [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/test/org/olsr/v1/info/proxy/Helpers.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/test/org/olsr/v1/info/proxy/MockOlsrdInfo.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/test/org/olsr/v1/info/proxy/TestOlsrdInfoProxyImpl.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/test/org/olsr/v1/info/proxy/TestOlsrdInfoReader.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/test/org/olsr/v1/info/proxy/TestOlsrdInfoReaderState.java [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/testresources/dummy-no-headers.txt [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/testresources/dummy.txt [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/testresources/no-content-nfe.txt [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/testresources/no-content-no-headers.txt [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/testresources/no-content.txt [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/testresources/sgw-no-headers.txt [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/testresources/sgw-no-http-headers.txt [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/testresources/sgw.json [new file with mode: 0644]
lib/info.java/org.olsr.v1.info.proxy/testresources/sgw.txt [new file with mode: 0644]
lib/info.java/settings.gradle [new file with mode: 0644]

index 60f907a..6ea2201 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -348,6 +348,12 @@ info_install:
 info_uninstall:
                $(MAKECMDPREFIX)$(MAKECMD) -C lib/info DESTDIR=$(DESTDIR) uninstall
 
+info_java:
+               $(MAKECMDPREFIX)$(MAKECMD) -C lib/info.java
+
+info_java_clean:
+               $(MAKECMDPREFIX)$(MAKECMD) -C lib/info.java DESTDIR=$(DESTDIR) clean
+
 jsoninfo: info
                $(MAKECMDPREFIX)$(MAKECMD) -C lib/jsoninfo
 
diff --git a/lib/info.java/.gitignore b/lib/info.java/.gitignore
new file mode 100644 (file)
index 0000000..78442f4
--- /dev/null
@@ -0,0 +1,3 @@
+/.gradle/
+/reports/
+/generated/
diff --git a/lib/info.java/.gradle-wrapper/gradle-wrapper.jar b/lib/info.java/.gradle-wrapper/gradle-wrapper.jar
new file mode 100644 (file)
index 0000000..3baa851
Binary files /dev/null and b/lib/info.java/.gradle-wrapper/gradle-wrapper.jar differ
diff --git a/lib/info.java/.gradle-wrapper/gradle-wrapper.properties b/lib/info.java/.gradle-wrapper/gradle-wrapper.properties
new file mode 100644 (file)
index 0000000..e3152e3
--- /dev/null
@@ -0,0 +1,6 @@
+#Wed Aug 03 10:47:51 CEST 2016
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-bin.zip
diff --git a/lib/info.java/BUILDING b/lib/info.java/BUILDING
new file mode 100644 (file)
index 0000000..1a0ccfe
--- /dev/null
@@ -0,0 +1,48 @@
+====================
+Project dependencies
+====================
+
+There are no dependencies to other projects.
+
+
+=============
+Build Tooling
+=============
+
+This project is built with Gradle.
+
+Gradle doesn't need to be installed on the system on which the project is built.
+In such cases the Gradle wrapper in the project should be employed.
+For Unices this is the 'gradlew' script, for Windows systems this is the
+'gradlew.bat' script.
+
+However, if Gradle is installed on the system, then it can obviously be used
+directly instead of invoking the wrapper scripts.
+
+
+==============================
+Building from the command-line
+==============================
+
+* Run Gradle:
+
+    ./gradlew
+
+
+This will build the default targets as defined by the root_defaultTask property
+in the gradle.properties file.
+
+The default target currently is 'build'.
+
+
+==========================
+Building on a build server
+==========================
+
+* Run Gradle:
+
+    ./gradlew \
+      -PCI -Djsse.enableSNIExtension=false \
+      build \
+      release \
+      findbugs
diff --git a/lib/info.java/BUILDING-GRADLE.md b/lib/info.java/BUILDING-GRADLE.md
new file mode 100644 (file)
index 0000000..0e70322
--- /dev/null
@@ -0,0 +1 @@
+Please read the document cnf/gradle/doc/BUILDING-GRADLE.md
diff --git a/lib/info.java/LICENSE.txt b/lib/info.java/LICENSE.txt
new file mode 100644 (file)
index 0000000..d159169
--- /dev/null
@@ -0,0 +1,339 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+                            NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/lib/info.java/Makefile b/lib/info.java/Makefile
new file mode 100644 (file)
index 0000000..bd0f81d
--- /dev/null
@@ -0,0 +1,67 @@
+# The olsr.org Optimized Link-State Routing daemon (olsrd)
+#
+# (c) by the OLSR project
+#
+# See our Git repository to find out who worked on this file
+# and thus is a copyright holder on it.
+#
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# * Redistributions of source code must retain the above copyright
+#   notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in
+#   the documentation and/or other materials provided with the
+#   distribution.
+# * Neither the name of olsr.org, olsrd nor the names of its
+#   contributors may be used to endorse or promote products derived
+#   from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+# Visit http://www.olsr.org for more information.
+#
+# If you find this software useful feel free to make a donation
+# to the project. For more information see the website or contact
+# the copyright holders.
+#
+
+OLSRD_PLUGIN = false
+PLUGIN_NAME =  olsrdinfo
+PLUGIN_VER =   0.0
+
+TOPDIR =       ../..
+include $(TOPDIR)/Makefile.inc
+
+default_target: java
+
+all: java
+
+java:
+       @./gradlew \
+      -PCI -Djsse.enableSNIExtension=false \
+      build \
+      javadoc \
+      release \
+      findbugs
+
+clean:
+       @./gradlew \
+      -PCI -Djsse.enableSNIExtension=false \
+      clean
+
diff --git a/lib/info.java/build.gradle b/lib/info.java/build.gradle
new file mode 100644 (file)
index 0000000..50aeb5f
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ */
+
+/* Setup the build dependencies */
+buildscript {
+  dependencies {
+    classpath files(bndURI) + bndBuildDependencies
+  }
+}
+
+
+apply from: new File(rootDir, "${bnd_cnf}/gradle/template/master.gradle")
diff --git a/lib/info.java/cnf/.classpath b/lib/info.java/cnf/.classpath
new file mode 100644 (file)
index 0000000..fb565a5
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" path="src"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/lib/info.java/cnf/.gitignore b/lib/info.java/cnf/.gitignore
new file mode 100644 (file)
index 0000000..120f0c4
--- /dev/null
@@ -0,0 +1,3 @@
+/bin/
+/generated/
+/cache/
diff --git a/lib/info.java/cnf/.project b/lib/info.java/cnf/.project
new file mode 100644 (file)
index 0000000..0b71642
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>cnf</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/lib/info.java/cnf/.settings b/lib/info.java/cnf/.settings
new file mode 120000 (symlink)
index 0000000..a3a4f7b
--- /dev/null
@@ -0,0 +1 @@
+../eclipse.settings/
\ No newline at end of file
diff --git a/lib/info.java/cnf/build.bnd b/lib/info.java/cnf/build.bnd
new file mode 100644 (file)
index 0000000..460f527
--- /dev/null
@@ -0,0 +1,87 @@
+########################
+## BND BUILD SETTINGS ##
+########################
+
+
+## Global defaults are loaded from the bnd library (as shown below), place your
+## specific settings here. Additional settings are inherited from ext/*.bnd and
+## they will be overridden by anything you specify in this file.
+
+## General Options
+#project.dependson:     ${p-dependson;:}
+#project.bootclasspath: ${p-bootclasspath;:}
+#project.buildpath:     ${p-buildpath;:}
+#project.sourcepath:    ${p-sourcepath;:}
+#project.allsourcepath: ${p-allsourcepath;:}
+#project.output:        ${p-output}
+#project.testpath:      ${p-testpath;:}
+
+#-verbose:              false
+#project:               ${basedir}
+#src:                   src
+#bin:                   bin
+#testsrc:               test
+#testbin:               bin_test
+#test-reports:          test-reports
+#target-dir:            generated
+#target:                ${project}/${target-dir}
+#build:                 ${workspace}/cnf
+#p:                     ${basename;${project}}
+#project.name:          ${p}
+#plugin-dir:            ${build}/plugins
+
+## Java Compiler Options
+#java:                  java
+#javac:                 javac
+#javac.source:          1.5
+#javac.target:          1.5
+#javac.debug:           on
+
+## Bnd Options
+#-sources:              true
+#-sourcepath:           ${project}/src
+
+
+## Properties from ext/*.bnd can be referenced in order to extend them. For
+## example, to add one additional plugin to the list defined in
+## ext/repositories.bnd:
+# -plugin: ${ext.repositories.-plugin}, org.example.MyPlugin
+
+
+## To enable baselining, uncomment the following lines:
+-baseline: *
+
+
+## If you use git, you might want to uncomment the following lines:
+Git-Descriptor:       ${system-allow-fail;git describe --dirty --always}
+Git-SHA:              ${system-allow-fail;git rev-list -1 HEAD}
+-diffignore:          Git-Descriptor,Git-SHA
+
+
+#
+# Customised Settings
+#
+
+
+product.name:           olsrdinfo
+
+-verbose:               false
+javac.source:           1.7
+javac.target:           1.7
+javac.ee:               '[1.7,1.8)'
+
+osgi.annotation.version: 6.0.1
+osgi.core.version:       6.0.0
+osgi.cmpn.version:       6.0.0
+
+Bundle-License:         http://www.gnu.org/licenses/gpl-2.0.txt
+Bundle-Category:        ${product.name}
+
+-removeheaders: \
+       Bnd-LastModified,\
+       Created-By,\
+       Tool,\
+       Private-Package,\
+       Conditional-Package
+
+-sources: ${if;${gestalt;batch};false;true}
diff --git a/lib/info.java/cnf/buildrepo/README.txt b/lib/info.java/cnf/buildrepo/README.txt
new file mode 100644 (file)
index 0000000..8bb02f1
--- /dev/null
@@ -0,0 +1,6 @@
+WARNING
+=======
+
+This directory contains JAR file dependencies that are intended ONLY FOR BUILT-TIME usage.
+None are intended to be deployed as bundles into a running OSGi Framework, and indeed they may cause
+unexpected errors if they are used at runtime.
diff --git a/lib/info.java/cnf/buildrepo/hamcrest-core/hamcrest-core-1.3.0.jar b/lib/info.java/cnf/buildrepo/hamcrest-core/hamcrest-core-1.3.0.jar
new file mode 100644 (file)
index 0000000..9d5fe16
Binary files /dev/null and b/lib/info.java/cnf/buildrepo/hamcrest-core/hamcrest-core-1.3.0.jar differ
diff --git a/lib/info.java/cnf/buildrepo/junit/junit-4.12.0.jar b/lib/info.java/cnf/buildrepo/junit/junit-4.12.0.jar
new file mode 100644 (file)
index 0000000..af46dd7
Binary files /dev/null and b/lib/info.java/cnf/buildrepo/junit/junit-4.12.0.jar differ
diff --git a/lib/info.java/cnf/buildrepo/osgi.annotation/osgi.annotation-6.0.1.jar b/lib/info.java/cnf/buildrepo/osgi.annotation/osgi.annotation-6.0.1.jar
new file mode 100644 (file)
index 0000000..2b017ad
Binary files /dev/null and b/lib/info.java/cnf/buildrepo/osgi.annotation/osgi.annotation-6.0.1.jar differ
diff --git a/lib/info.java/cnf/buildrepo/osgi.cmpn/osgi.cmpn-6.0.0.jar b/lib/info.java/cnf/buildrepo/osgi.cmpn/osgi.cmpn-6.0.0.jar
new file mode 100644 (file)
index 0000000..59e3d60
Binary files /dev/null and b/lib/info.java/cnf/buildrepo/osgi.cmpn/osgi.cmpn-6.0.0.jar differ
diff --git a/lib/info.java/cnf/buildrepo/osgi.core/osgi.core-6.0.0.jar b/lib/info.java/cnf/buildrepo/osgi.core/osgi.core-6.0.0.jar
new file mode 100644 (file)
index 0000000..5f229a4
Binary files /dev/null and b/lib/info.java/cnf/buildrepo/osgi.core/osgi.core-6.0.0.jar differ
diff --git a/lib/info.java/cnf/ext/junit.bnd b/lib/info.java/cnf/ext/junit.bnd
new file mode 100644 (file)
index 0000000..f94a00c
--- /dev/null
@@ -0,0 +1,5 @@
+junit:\
+       junit;version=latest,\
+       hamcrest-core;version=latest
+
+test-reports: test-results
diff --git a/lib/info.java/cnf/ext/pluginpaths.bnd b/lib/info.java/cnf/ext/pluginpaths.bnd
new file mode 100644 (file)
index 0000000..00e1482
--- /dev/null
@@ -0,0 +1,2 @@
+-pluginpath:\
+       ${plugin-dir}/biz.aQute.repository/biz.aQute.repository.jar
\ No newline at end of file
diff --git a/lib/info.java/cnf/ext/repositories.bnd b/lib/info.java/cnf/ext/repositories.bnd
new file mode 100644 (file)
index 0000000..902fbdd
--- /dev/null
@@ -0,0 +1,22 @@
+-plugin: \
+       aQute.bnd.deployer.repository.LocalIndexedRepo; \
+               name=Local; \
+               local=${workspace}/cnf/localrepo; \
+               pretty=true; \
+       , \
+       aQute.bnd.deployer.repository.LocalIndexedRepo;\
+               name=Release; \
+               local=${workspace}/cnf/releaserepo; \
+               pretty=true; \
+       , \
+       aQute.bnd.deployer.repository.LocalIndexedRepo;\
+               name=ReleaseCI; \
+               local=${workspace}/cnf/releaserepoCI; \
+               pretty=true; \
+       , \
+       aQute.lib.deployer.FileRepo;\
+               name=Build; \
+               location=${workspace}/cnf/buildrepo; \
+               latest=false
+
+-releaserepo: ${if;${gestalt;batch};ReleaseCI;Release}
diff --git a/lib/info.java/cnf/findbugs/findbugs.exclude.xml b/lib/info.java/cnf/findbugs/findbugs.exclude.xml
new file mode 100644 (file)
index 0000000..31b34f6
--- /dev/null
@@ -0,0 +1,6 @@
+<FindBugsFilter>
+    <Match>
+        <Class name="org.olsr.v1.info.proxy.api.InfoResult" />
+        <Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
+    </Match>
+</FindBugsFilter>
diff --git a/lib/info.java/cnf/findbugs/findbugs.include.xml b/lib/info.java/cnf/findbugs/findbugs.include.xml
new file mode 100644 (file)
index 0000000..9ccce8d
--- /dev/null
@@ -0,0 +1,4 @@
+<!--
+<FindBugsFilter>
+</FindBugsFilter>
+-->
diff --git a/lib/info.java/cnf/gradle/custom/allProject-post.gradle b/lib/info.java/cnf/gradle/custom/allProject-post.gradle
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/info.java/cnf/gradle/custom/allProject-pre.gradle b/lib/info.java/cnf/gradle/custom/allProject-pre.gradle
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/info.java/cnf/gradle/custom/bndProject-post.gradle b/lib/info.java/cnf/gradle/custom/bndProject-post.gradle
new file mode 100644 (file)
index 0000000..d0121ed
--- /dev/null
@@ -0,0 +1,2 @@
+assert(project != rootProject   )
+assert(hasProperty('bndProject'))
diff --git a/lib/info.java/cnf/gradle/custom/bndProject-pre.gradle b/lib/info.java/cnf/gradle/custom/bndProject-pre.gradle
new file mode 100644 (file)
index 0000000..d0121ed
--- /dev/null
@@ -0,0 +1,2 @@
+assert(project != rootProject   )
+assert(hasProperty('bndProject'))
diff --git a/lib/info.java/cnf/gradle/custom/javaProject-post.gradle b/lib/info.java/cnf/gradle/custom/javaProject-post.gradle
new file mode 100644 (file)
index 0000000..ad5a443
--- /dev/null
@@ -0,0 +1,7 @@
+assert(project != rootProject   )
+assert(hasProperty('sourceSets'))
+
+findbugs {
+  effort      = "max" /* min, default, max  */
+  reportLevel = "low" /* low, medium , high */
+}
diff --git a/lib/info.java/cnf/gradle/custom/javaProject-pre.gradle b/lib/info.java/cnf/gradle/custom/javaProject-pre.gradle
new file mode 100644 (file)
index 0000000..d5d8bd6
--- /dev/null
@@ -0,0 +1,2 @@
+assert(project != rootProject   )
+assert(hasProperty('sourceSets'))
diff --git a/lib/info.java/cnf/gradle/custom/nonBndProject-pre.gradle b/lib/info.java/cnf/gradle/custom/nonBndProject-pre.gradle
new file mode 100644 (file)
index 0000000..39e0c54
--- /dev/null
@@ -0,0 +1,2 @@
+assert(project != rootProject    )
+assert(!hasProperty('bndProject'))
diff --git a/lib/info.java/cnf/gradle/custom/rootProject-post.gradle b/lib/info.java/cnf/gradle/custom/rootProject-post.gradle
new file mode 100644 (file)
index 0000000..259143b
--- /dev/null
@@ -0,0 +1 @@
+assert(project == rootProject)
diff --git a/lib/info.java/cnf/gradle/custom/rootProject-pre.gradle b/lib/info.java/cnf/gradle/custom/rootProject-pre.gradle
new file mode 100644 (file)
index 0000000..259143b
--- /dev/null
@@ -0,0 +1 @@
+assert(project == rootProject)
diff --git a/lib/info.java/cnf/gradle/custom/subProject-post.gradle b/lib/info.java/cnf/gradle/custom/subProject-post.gradle
new file mode 100644 (file)
index 0000000..b2ca258
--- /dev/null
@@ -0,0 +1 @@
+assert(project != rootProject)
diff --git a/lib/info.java/cnf/gradle/custom/subProject-pre.gradle b/lib/info.java/cnf/gradle/custom/subProject-pre.gradle
new file mode 100644 (file)
index 0000000..b2ca258
--- /dev/null
@@ -0,0 +1 @@
+assert(project != rootProject)
diff --git a/lib/info.java/cnf/gradle/custom/workspace-post.gradle b/lib/info.java/cnf/gradle/custom/workspace-post.gradle
new file mode 100644 (file)
index 0000000..259143b
--- /dev/null
@@ -0,0 +1 @@
+assert(project == rootProject)
diff --git a/lib/info.java/cnf/gradle/custom/workspace-pre.gradle b/lib/info.java/cnf/gradle/custom/workspace-pre.gradle
new file mode 100644 (file)
index 0000000..259143b
--- /dev/null
@@ -0,0 +1 @@
+assert(project == rootProject)
diff --git a/lib/info.java/cnf/gradle/dependencies/biz.aQute.bnd.gradle.jar b/lib/info.java/cnf/gradle/dependencies/biz.aQute.bnd.gradle.jar
new file mode 100644 (file)
index 0000000..8e131b7
Binary files /dev/null and b/lib/info.java/cnf/gradle/dependencies/biz.aQute.bnd.gradle.jar differ
diff --git a/lib/info.java/cnf/gradle/dependencies/org.osgi.impl.bundle.bindex.jar b/lib/info.java/cnf/gradle/dependencies/org.osgi.impl.bundle.bindex.jar
new file mode 100644 (file)
index 0000000..61be2ae
Binary files /dev/null and b/lib/info.java/cnf/gradle/dependencies/org.osgi.impl.bundle.bindex.jar differ
diff --git a/lib/info.java/cnf/gradle/dependencies/org.osgi.impl.bundle.repoindex.cli.jar b/lib/info.java/cnf/gradle/dependencies/org.osgi.impl.bundle.repoindex.cli.jar
new file mode 100644 (file)
index 0000000..ae9bfc6
Binary files /dev/null and b/lib/info.java/cnf/gradle/dependencies/org.osgi.impl.bundle.repoindex.cli.jar differ
diff --git a/lib/info.java/cnf/gradle/doc/BUILDING-GRADLE.md b/lib/info.java/cnf/gradle/doc/BUILDING-GRADLE.md
new file mode 100644 (file)
index 0000000..49a502b
--- /dev/null
@@ -0,0 +1,1286 @@
+# <a name="Introduction"/>Introduction
+
+This workspace is setup to be built with [Gradle](http://www.gradle.org) through
+the ["Bndtools Gradle Plugin by Pelagic"]
+(https://marketplace.eclipse.org/content/bndtools-plugins-pelagic) Eclipse
+plugin.
+
+The build is setup in such a way that bnd (OSGi) projects and projects with
+specific gradle files are automatically included in the build; no editing of
+Gradle build scripts is needed.
+
+A simple command in the root of the workspace is enough to build it all:
+
+```
+gradle build
+```
+
+**Note**: The official bnd Gradle plugin is used so that the same build fidelity
+is achieved.
+
+However, this build setup adds some extra features to the build...
+
+First off, the build setup is far more flexible and featureful than the build
+setup that is delivered by bndtools itself.
+
+Among other things it has the following extra features:
+
+* Support for FindBugs
+* Support for JUnit code coverage reports through Jacoco
+* An easily customisable setup
+* Documentation
+* Automatic location of the cnf project
+* ...and much more
+
+In order to use this build setup in new workspace, enable the plugin in the
+'Prefrences->Bndtools->Generated Resources' pane (and disable the Gradle plugin
+that's delivered by bndtools itself, see the [screenshot]
+(Bndtools Plugins by Pelagic - Screenshot.png)).
+
+The plugin is compatible with bndtools 2.3.0.REL and later.
+
+
+# <a name="License"/>License
+
+This document is licensed under the GNU Free Documentation License,
+Version 1.3, 3 November 2008
+
+
+# <a name="OpenSource"/>Open Source
+
+The plugin was originally developed for - and delivered with - bndtools 2.3.0
+but has since been replaced with a different implemention in bndtools.
+
+The plugin was thereon forked and now lives on through the support
+of [Pelagic](http://www.pelagic.nl).
+
+The project is fully Open Source, licensed under the LGPL, and can be found
+at [GitHub](https://github.com/fhuberts/bndtoolsPlugins).
+
+Contributions are welcome!
+
+
+# <a name="TableOfContents"/>Table Of Contents
+
+* [Introduction](#Introduction)
+* [License](#License)
+* [Open Source](#OpenSource)
+* [Table Of Contents](#TableOfContents)
+* [Installing Gradle](#InstallingGradle)
+  * [On The System](#InstallingGradleOnTheSystem)
+  * [In The Workspace](#InstallingGradleInTheWorkspace)
+* [Configuring The Gradle Daemon](#ConfiguringTheGradleDaemon)
+* [Projects & Workspaces](#ProjectsAndWorkspaces)
+  * [Root Project](#ProjectsAndWorkspacesRootProject)
+  * [Sub-Projects](#ProjectsAndWorkspacesSubProjects)
+  * [Gradle Workspace](#ProjectsAndWorkspacesGradleWorkspace)
+  * [Bnd Workspace](#ProjectsAndWorkspacesBndWorkspace)
+  * [Configuration Project](#ProjectsAndWorkspacesCnf)
+  * [Bnd Project Layout](#ProjectsAndWorkspacesBndProjectLayout)
+* [Build Flow](#BuildFlow)
+* [Build Tasks](#BuildTasks)
+  * [Bnd Projects](#BuildTasksBndProjects)
+    * [jar](#BuildTasksJar)
+    * [check](#BuildTasksCheck)
+    * [checkNeeded](#BuildTasksCheckNeeded)
+    * [release](#BuildTasksRelease)
+    * [releaseNeeded](#BuildTasksReleaseNeeded)
+    * [runbundles.<name>](#BuildTasksRunBundlesName)
+    * [runbundles](#BuildTasksRunbundles)
+    * [export.<name>](#BuildTasksExportName)
+    * [export](#BuildTasksExport)
+    * [echo](#BuildTasksEcho)
+    * [bndproperties](#BuildTasksBndProperties)
+    * [clean](#BuildTasksClean)
+    * [cleanNeeded](#BuildTasksCleanNeeded)
+  * [All Projects](#BuildTasksAllProjects)
+    * [index](#BuildTasksIndex)
+      * [Settings](#BuildTasksIndexSettings)
+    * [clean](#BuildTasksAllClean)
+    * [cleanNeeded](#BuildTasksAllCleanNeeded)
+    * [distClean](#BuildTasksDistClean)
+    * [distcleanNeeded](#BuildTasksDistCleanNeeded)
+  * [Java Projects](#BuildTasksJavaProjects)
+    * [Findbugs](#BuildTasksFindbugs)
+      * [findbugsMain](#BuildTasksFindbugsMain)
+      * [findbugsTest](#BuildTasksFindbugsTest)
+      * [findbugs](#BuildTasksfindbugs)
+      * [findbugstest](#BuildTasksfindbugstest)
+      * [Settings](#FindbugsSettings)
+    * [Jacoco](#BuildTasksJacoco)
+      * [Settings](#BuildTasksJacocoSettings)
+    * [javadoc](#BuildTasksJavadoc)
+      * [Settings](#BuildTasksJavadocSettings)
+    * [clean](#BuildTasksJavaClean)
+  * [Root Project](#BuildTasksRootProject)
+    * [wrapper](#BuildTasksWrapper)
+      * [Settings](#BuildTasksRootProjectSettings)
+* [Build Options](#BuildOptions)
+  * [Bnd Projects](#BuildOptionsBndProjects)
+  * [Findbugs](#BuildOptionsFindbugs)
+* [Customising The Build](#CustomisingTheBuild)
+  * [Gradle](#CustomisingTheBuildGradle)
+  * [Bnd](#CustomisingTheBuildBnd)
+* [Adding Java Projects To The Build](#AddingJavaProjectsToTheBuild)
+* [Jenkins Build Setup](#JenkinsBuildSetup)
+* [Replacing The Bndtools Gradle Setup](#ReplacingBndtoolsGradle)
+
+
+# <a name="InstallingGradle"/>Installing Gradle
+
+
+## <a name="InstallingGradleOnTheSystem"/>On The System
+
+Obviously, Gradle must be installed on the system before the workspace can be
+built with Gradle.
+
+This description assumes a Linux machine. Details may vary on other OSes.
+
+* Download Gradle from [http://www.gradle.org](http://www.gradle.org).
+
+* Unpack the downloaded archive and put it in ```/usr/local/lib```
+  as ```/usr/local/lib/gradle-2.0``` (assuming Gradle 2.0 was downloaded).
+
+* Create a symbolic link to the Gradle installation directory to be able to
+  easily switch Gradle versions later on:
+
+  ```
+  cd /usr/local/lib
+  ln -s gradle-2.0 /usr/local/lib/gradle
+  ```
+
+* Put the Gradle executable ```/usr/local/lib/gradle/bin/gradle``` on
+  the search path by linking to it from ```/usr/local/bin```:
+
+  ```
+  ln -s /usr/local/lib/gradle/bin/gradle /usr/local/bin/
+  ```
+
+
+## <a name="InstallingGradleInTheWorkspace"/>In The Workspace
+
+Gradle can be installed in the workspace so that the workspace can be built on
+systems that do not have Gradle installed (like build servers).
+
+The procedure is:
+
+* Open a shell and go into the workspace root directory.
+
+* Assuming Gradle is properly installed on the system
+  (see [Installing Gradle On The System](#InstallingGradleOnTheSystem)), run:
+
+  ```
+  gradle wrapper
+  ```
+
+* Commit the files that were created in the workspace to your version control
+  system.
+
+
+# <a name="ConfiguringTheGradleDaemon"/>Configuring The Gradle Daemon
+
+Startup times of a Gradle build can be much improved by using the Gradle daemon.
+
+The Gradle daemon works well when the Gradle build script dependencies are not
+changed, which makes it well suited to regular development (where these are not
+changed) but **not** for build servers.
+
+The daemon can be easily setup by adding the following line
+to ```~/.gradle/gradle.properties```:
+
+```
+org.gradle.daemon=true
+```
+
+Stopping the Gradle daemon is easily achieved by running:
+
+```
+gradle --stop
+```
+
+
+# <a name="ProjectsAndWorkspaces"/>Projects & Workspaces
+
+
+## <a name="ProjectsAndWorkspacesRootProject"/>Root Project
+
+The Gradle root project is the directory that contains the ```settings.gradle```
+file.
+
+Gradle locates the root project by first looking for the ```settings.gradle```
+file in the directory from which it was run, and - when not found - then by
+searching up in the directory tree.
+
+
+## <a name="ProjectsAndWorkspacesSubProjects"/>Sub-Projects
+
+The build will include all projects in the build that are:
+
+* **bnd** projects: Directories directly below the root project with
+                    a ```bnd.bnd``` file.
+
+* **Gradle** projects: Directories directly below the root project with
+                       a ```build.gradle``` file, **or**
+                       a ```build-settings.gradle``` file.
+
+
+## <a name="ProjectsAndWorkspacesGradleWorkspace"/>Gradle Workspace
+
+The Gradle workspace is rooted in the root project and consists of all included
+projects - **bnd** *and* **Gradle** projects.
+
+
+## <a name="ProjectsAndWorkspacesBndWorkspace"/>Bnd Workspace
+
+The bnd workspace is rooted in the root project and contains exactly one
+configuration project, and zero or more **bnd** projects.
+
+For it to be a *useful* bnd workspace, it will have to contain at least one bnd
+project.
+
+
+## <a name="ProjectsAndWorkspacesCnf"/>Configuration Project
+
+The configuration project is the directory that contains the ```build.bnd```
+file, and is - by default - the ```cnf``` directory.
+
+It contains:
+
+* Placeholder source and classes directories (```src``` and ```bin```
+  respectively).
+
+* Bnd workspace configuration.
+
+  * &nbsp;```ext/*.bnd```
+
+    The ```ext``` directory contains bnd settings files that are loaded
+    **before** the ```build.bnd``` file.
+
+    The directory typically contains:
+
+    * &nbsp;```junit.bnd```
+
+      This file defines a bnd variable for the libraries that are needed on the
+      classpath when running JUnit tests.
+
+    * &nbsp;```pluginpaths.bnd```
+
+      This file instructs bnd to load a number of plugin libraries when it
+      runs. Typically it will instruct bnd to load repository plugins. However,
+      custom plugins can also be loaded by bnd by adding them to
+      the ```-pluginpath``` instruction in this file.
+
+    * &nbsp;```repositories.bnd```
+
+      This file configures the plugins that bnd loads. Typically it will
+      configure the repository plugins that are loaded. However, if any built-in
+      plugins or custom plugins are loaded then these also will have to be
+      configured here. This file also defines which repository is the release
+      repository.
+
+  * &nbsp;```build.bnd```
+
+    This file contains workspace-wide settings for bnd and will override
+    settings that are defined in any of the ```ext/*.bnd``` files.
+
+* Repositories.
+
+  * &nbsp;```buildrepo```
+
+    This repository contains libraries that are intended **only for build-time**
+    usage. None are intended to be deployed as bundles into a running OSGi
+    framework, and indeed they may cause unexpected errors if they are used
+    in such a fashion.
+
+  * &nbsp;```localrepo```
+
+    This repository contains no libraries by default. It is intended for
+    external libraries that are needed by one or more of the projects.
+
+  * &nbsp;```releaserepo```
+
+    This repository contains no libraries by default. By default, bundles end
+    up in this repository when they are released.
+
+* Cache.
+
+  The ```cache``` directory contains libraries that are downloaded by the build.
+  If the build is self-contained then this cache only contain libraries that are
+  retrieved from the workspace itself during the build.
+
+* Build files.
+
+  * &nbsp;```cnf/gradle```
+
+    This directory contains all Gradle build script files that are used by the
+    Gradle build, dependencies for the build, and documentation pertaining to
+    the build.
+
+    * &nbsp;```template```
+
+      This directory contains build script files that define the build. These
+      are **not** meant to be changed.
+
+    * &nbsp;```custom```
+
+      This directory contains build script files that are hooks into the
+      build process. They allow specification of overrides for various settings,
+      additions to the build, modifications to the build, etc.
+
+      These **are** meant to be changed when build customisations are needed.
+
+    * &nbsp;```dependencies```
+
+      This directory contains libraries that are used by the build.
+
+    * &nbsp;```doc```
+
+      This directory contains documentation pertaining to the build. The
+      document you're now reading is located in this directory.
+
+      <a name="svg"/>Also found in this directory is the
+      diagram [template.svg](template.svg) that provides an overview of the
+      build setup, much like the Gradle User Guide shows for the Java Plugin.
+
+      The diagram shows all tasks of the build and their dependencies:
+
+      * The light cyan blocks are tasks that are present by default, either
+        because Gradle creates them by default of because the project has
+        applied the Java plugin, which creates these tasks.
+
+      * The cyan block are tasks that are added or modified by the bnd plugin.
+      
+      * The orange blocks are tasks that are added or modified by this build
+        setup.
+
+      * The arrows depict **execution flow** (so the dependencies are in the
+        reverse direction).
+
+      * The **red** arrows depict flows from dependent projects (dependencies
+        on projects) .
+
+        For example:
+
+        The ```compileJava``` task of a project is dependent on
+        the ```assemble``` task of another project if the latter project is on
+        the build path of the former project.
+
+      * The **yellow** arrows depict flows to parent projects (dependencies
+        from projects) . These are the reverse of the **red** arrows.
+
+      * The **blue** arrows depict flows/dependencies that are only present
+        when the task from which the flows originate is present in the project.
+
+      * The **green** arrows depict flows/dependencies that are disabled by
+        default.
+
+      * The **magenta** arrows depict flows/dependencies that are automatically
+        scheduled to run when the tasks from which they originate are scheduled
+        to run.
+
+
+## <a name="ProjectsAndWorkspacesBndProjectLayout"/>Bnd Project Layout
+
+A bnd project has a well defined layout with a number of source directories and
+one output directory:
+
+* Main sources: located in the ```src``` directory by default. Compiled sources
+  will be placed in the ```bin``` directory. Can be overridden with
+  the ```src``` and ```bin``` bnd settings respectively.
+
+* Test sources: located in the ```test``` directory by default. Compiled sources
+  will be placed in the ```bin_test``` directory. Can be overridden with
+  the ```testsrc``` and ```testbin``` bnd settings respectively.
+
+* Output directory ```generated```. Built OSGi bundles will be placed here.
+  Can be overridden with the ```target-dir``` bnd setting
+
+
+# <a name="BuildFlow"/>Build Flow
+
+Understanding the build flow is especially important if the build must be
+modified: extra tasks must be added, properties must be overridden, etc.
+
+The build has the following flow:
+
+* <a name="BuildProperties"/>Gradle loads all properties defined in
+  the ```gradle.properties``` file in the root of the workspace.
+
+  This file is used to bootstrap the build and (among other things) defines
+  the build dependencies:
+
+  * All ```*.uri``` settings are considered to be build dependencies.
+
+    An ```example.uri``` setting will make the build script add the file
+    indicated by the URI to the build dependencies when the file exists on the
+    local filesystem. If the file doesn't exist on the local filesystem, then
+    the build script will download the build dependency from the specified URI
+    into the ```cnf/cache``` directory and add it to the build dependencies.
+
+    **Note**: Using a ```*.uri``` setting that points to an external location
+    is **not recommended** since the build will then no longer be
+    self-contained (because it needs network access).
+
+* Gradle invokes the ```settings.gradle``` file in the root of the workspace.
+  This file initialises the build:
+
+  * Detect the location of the configuration project
+    (see [Configuration Project](#ProjectsAndWorkspacesCnf)).
+
+  * Initialise the bnd workspace.
+
+  * The build dependencies are determined from the build properties that were
+    loaded from the ```gradle.properties``` file
+    (see [the explanation of the build properties file](#BuildProperties).
+
+  * Include all **bnd** projects and all **Gradle** projects
+    (see [Sub-Projects](#ProjectsAndWorkspacesSubProjects) for an explanation).
+
+* Gradle invokes the ```build.gradle``` file from the root project. This file
+  sets up the build:
+
+  * The bnd plugin is loaded.
+
+  * The hook ```cnf/gradle/custom/workspace-pre.gradle``` is invoked.
+
+  * The rest of the build template basically has 3 sections which are applied
+    in the order:
+
+    * All projects
+    * Sub-Projects
+    * Root Project
+
+    **All Projects**
+
+    This section sets up the build for all included projects (including the root
+    project) by iterating over all included projects and performing the actions
+    described below.
+
+    * The Gradle build directory of the project is set to the bnd
+      default (```generated```).
+
+    * The hook ```cnf/gradle/custom/allProject-pre.gradle``` is invoked.
+
+    * If the project has project specific build settings in
+      a ```build-settings.gradle``` file in its project root directory then the
+      file is invoked.
+
+      Project specific build settings allow - on a project-by-project basis -
+      overrides of the build settings, additions to the build, modifications of
+      the build, etc.
+
+    * Index tasks are added to the project.
+
+    * Clean tasks are added to the project.
+
+    * The hook ```cnf/gradle/custom/allProject-post.gradle``` is invoked.
+
+    **Sub-Projects**
+
+    This section sets up the build for all included projects, (excluding the
+    root project) by iterating over all included sub-projects. In the iteration
+    a distinction is made between **bnd** projects and **Gradle** projects.
+
+    * The hook ```cnf/gradle/custom/subProject-pre.gradle``` is invoked.
+
+    * Gradle projects (Non-Bnd Projects)
+
+      * The hook ```cnf/gradle/custom/nonBndProject-pre.gradle``` is invoked.
+
+      * The default tasks are setup (specified by the ```others_defaultTask```
+        property). This is a comma separated list of task names.
+
+    * Bnd projects
+
+      * The bnd project instance is stored in the project as
+        the ```bndProject``` property.
+
+      * The hook ```cnf/gradle/custom/bndProject-pre.gradle``` is invoked.
+
+      * The bnd plugin is applied.
+
+      * The javadoc bootclasspath is adjusted to include the bootclasspath
+        of the bnd project.
+
+      * The hook ```cnf/gradle/custom/bndProject-post.gradle``` is invoked.
+
+    * All projects that have applied the Gradle Java plugin:
+
+      * The hook ```cnf/gradle/custom/javaProject-pre.gradle``` is invoked.
+
+      * The javaDoc task is setup.
+
+      * The findbugs tasks are setup.
+
+      * The jacoco task is setup.
+
+      * The clean task is adjusted to clean all output directories of all
+        sourceSets.
+
+      * The hook ```cnf/gradle/custom/javaProject-post.gradle``` is invoked.
+
+    * The hook ```cnf/gradle/custom/subProject-post.gradle``` is invoked.
+
+    **Root Project**
+
+    This section sets up the build (defaults) for the root project.
+
+    * The hook ```cnf/gradle/custom/rootProject-pre.gradle``` is invoked.
+
+    * The default tasks are setup (specified by the ```root_defaultTask```
+      property).  This is a comma separated list of task names.
+
+    * The wrapper task is setup.
+
+    * The distclean task is adjusted to also clean the ```cnf/cache```
+      and ```.gradle``` directories.
+
+    * The hook ```cnf/gradle/custom/rootProject-post.gradle``` is invoked.
+
+  * The hook ```cnf/gradle/custom/workspace-post.gradle``` is invoked.
+
+* For every included project with a ```build.gradle``` build script, Gradle
+  invokes that build script.
+
+* Gradle resolves the build setup.
+
+* Gradle now builds the projects by running the specified (or default) tasks.
+
+
+# <a name="BuildTasks"/>Build Tasks
+
+The discussion of the build tasks below is split per project type.
+
+
+## <a name="BuildTasksBndProjects"/>Bnd Projects
+
+This section only discusses tasks that are added or modified compared to the
+Gradle Java plugin.
+
+
+### <a name="BuildTasksJar"/>jar
+
+This task instructs bnd to construct the project's OSGi bundles. The bundles
+are placed in the project's ```generated``` directory.
+
+This is comparable to the ```jar``` task that is defined by the Java plugin,
+which instructs the Java compiler to construct a standard jar. However, a
+bnd project completely replaces that ```jar``` task.
+
+The ```bnd.bnd``` file describes how the OSGi bundle(s) must be constructed and
+is therefore taken as input by bnd.
+
+This task is automatically disabled when no bundle(s) must be contructed.
+
+
+### <a name="BuildTasksCheck"/>check
+
+This task instructs bnd to run bundle (integration) tests.
+
+This is comparable to the ```test``` task that is defined by the Java plugin,
+which instructs the Java runtime to run unit tests.
+
+Refer to the bnd manual/website for more details on how to setup bundle tests.
+
+Set ```check.ignoreFailures = true``` on the project to not fail the build
+on check failures.
+
+This task is automatically disabled when no bundle tests have been defined.
+
+
+### <a name="BuildTasksCheckNeeded"/>checkNeeded
+
+This task will invoke the ```check``` task on all projects on which the
+project is dependent, after which the ```check``` task is invoked on the
+project itself.
+
+
+### <a name="BuildTasksRelease"/>release
+
+This task instructs bnd to copy the constructed OSGi bundle into the release
+repository.
+
+This task is automatically disabled when no release repository is defined or
+when no bundle(s) must be constructed.
+
+
+### <a name="BuildTasksReleaseNeeded"/>releaseNeeded
+
+This task will invoke the ```release``` task on all projects on which the
+project is dependent, after which the ```release``` task is invoked on the
+project itself.
+
+
+### <a name="BuildTasksRunBundlesName"/>runbundles.<name>
+
+This task will copy all runbundles metioned in the ``<name>.bndrun``` file in
+the project to a distribution directory. The bundles are place in the
+directory ```generated/distributions/runbundles/<name>```.
+
+This task is only setup if the project contains a ```<name>.bndrun``` file.
+
+
+### <a name="BuildTasksRunbundles"/>runbundles
+
+This task will invoke the ```runbundles.<name>``` for all ```*.bndrun``` files
+in the project.
+
+This task is automatically disabled when the project contains no ```*.bndrun```
+files.
+
+
+### <a name="BuildTasksExportName"/>export.<name>
+
+This task will export the ```<name>.bndrun``` file in the project to an
+executable jar. The executable jar is placed in the
+project's ```generated/distributions``` directory as ```<name>.jar```.
+
+This task is only setup if the project contains a ```<name>.bndrun``` file.
+
+
+### <a name="BuildTasksExport"/>export
+
+This task will export all ```*.bndrun``` files in the project to executable
+jars.
+
+This task is automatically disabled when the project contains no ```*.bndrun```
+files.
+
+
+### <a name="BuildTasksEcho"/>echo
+
+This task displays some key bnd properties of the project.
+
+
+### <a name="BuildTasksBndProperties"/>bndproperties
+
+This task - analogous to the Gradle ```properties``` task - displays the bnd
+properties that are defined for the project.
+
+These properties are defined in the ```bnd.bnd``` file in the root of the
+project (and optionally other ```*.bnd``` files when using the ```-sub```
+instruction for sub-bundles).
+
+Properties that are defined in workspace-wide ```*.bnd``` files that are loaded
+from the configuration project (```cnf```) are also displayed as they obviously
+also apply to the project (unless overridden by the project, in which case the
+overridden values are shown).
+
+
+### <a name="BuildTasksClean"/>clean
+
+This task instructs bnd to clean up the project, which removes
+the output directory and the directories that hold the class files.
+
+This is in addition to the ```clean``` task that is defined by the Java plugin.
+
+
+### <a name="BuildTasksCleanNeeded"/>cleanNeeded
+
+This task will invoke the ```clean``` task on all projects on which the
+project is dependent, after which the ```clean``` task is invoked on the
+project itself.
+
+
+## <a name="BuildTasksAllProjects"/>All Projects
+
+This section discusses tasks that are added to all projects.
+
+
+### <a name="BuildTasksIndex"/>index
+
+This task can create one or more of the following:
+* an uncompressed and/or compressed OBR bundle repository index
+* an uncompressed and/or compressed R5 bundle repository index
+
+These indexes are generated from one *or more* configured file trees.
+
+Which files are indexed is controlled by the ```indexDirectories``` property.
+Its **syntax** is:
+
+```
+<root-directory>;<name>;<name-of-fileTree-property>, ...
+```
+
+* &nbsp;```root-directory```: This is the root/base directory
+  from where the relative URLs in the index file are calculated, and where
+  the index file will be placed. Must be specified but doesn't need to exist.
+
+* &nbsp;```name```: This is the name of the repository. Can be empty, in which
+  case the name (*basename*) of the ```root directory``` is used.
+
+* &nbsp;```name-of-fileTree-property```: This is the name of a project property
+  that must be an instance of a FileTree. This file tree determines which
+  files will be indexed. If not specified then all ```*.jar``` files below
+  the ```root directory``` are indexed.
+
+Multiple indexes can be generated by specifying (**syntax** as displayed above):
+
+```
+syntax,syntax,...
+```
+
+This task is automatically disabled when no index directories have been defined
+or when no OBR indexes **and** no R5 indexes are configured to be created
+(either uncompressed or compressed).
+
+#### <a name="BuildTasksIndexSettings"/>Settings
+
+* &nbsp;```indexDirectories```: See the explanation just above.
+
+* &nbsp;```indexOBRUncompressed```: **true** to generate an uncompressed OBR
+                                    bundle repository index.
+                                    Defaults to **false**.
+
+* &nbsp;```indexOBRCompressed```: **true** to generate a compressed OBR
+                                  bundle repository index.
+                                  Defaults to **false**.
+
+* &nbsp;```indexR5Uncompressed```: **true** to generate an uncompressed R5
+                                   bundle repository index.
+                                   Defaults to **false**.
+
+* &nbsp;```indexR5Compressed```: **true** to generate a compressed R5
+                                 bundle repository index.
+                                 Defaults to **true**.
+
+The defaults for the settings can be overridden by defining the settings in the
+project's ```build-settings.gradle``` file.
+
+
+### <a name="BuildTasksAllClean"/>clean
+
+This (empty) task is only added to the project when it doesn't yet have
+a ```clean``` task. The reason for this is to be able to easily declare clean
+task dependencies.
+
+
+### <a name="BuildTasksAllCleanNeeded"/>cleanNeeded
+
+This (empty) task is only added to the project when it doesn't yet have
+a ```cleanNeeded``` task. The reason for this is to be able to easily declare
+clean task dependencies.
+
+
+### <a name="BuildTasksDistClean"/>distClean
+
+This (empty by default) task is meant to perform additional cleanup compared to
+the ```clean``` task.
+
+The build adjusts this task for the root project such that it removes:
+
+* The cache directory in the configuration project.
+
+* The Gradle cache directory.
+
+
+### <a name="BuildTasksDistCleanNeeded"/>distcleanNeeded
+
+This task will invoke the ```distClean``` task on all projects on which the
+project is dependent, after which the ```distClean``` task is invoked on the
+project itself.
+
+
+## <a name="BuildTasksJavaProjects"/>Java Projects
+
+This section discusses tasks that are added to all Java projects (which
+includes bnd projects).
+
+
+### <a name="BuildTasksFindbugs"/>Findbugs
+
+The findbugs plugin is applied to all Java projects. This plugin adds the
+tasks ```findbugsMain``` and ```findbugsTest```.
+
+These two tasks are disabled by default since running findbugs is an expensive
+operation and is not needed for most builds. Enabling these tasks is discussed
+below.
+
+**Note**: The reports that are generated by the findbugs tasks will only have
+line numbers when the tasks are run on a build that produces artefacts with
+debug information.
+
+#### <a name="BuildTasksFindbugsMain"/>findbugsMain
+
+This task will run findbugs on the main source code.
+
+#### <a name="BuildTasksFindbugsTest"/>findbugsTest
+
+This task will run findbugs on the test source code.
+
+#### <a name="BuildTasksfindbugs"/>findbugs
+
+Specifying this (virtual) task will **enable** the ```findbugsMain``` task.
+
+**Note**: It is still required to specify a task that has a dependency on
+the ```findbugsMain``` task to actually run it. The tasks ```check```
+and ```build``` are examples of such a task.
+
+#### <a name="BuildTasksfindbugstest"/>findbugstest
+
+Specifying this (virtual) task will **enable** the ```findbugsTest``` task.
+
+**Note**: it is still required to specify a task that has a dependency on
+the ```findbugsTest``` task to actually run it. The tasks ```check```
+and ```build``` are examples of such a task.
+
+#### <a name="FindbugsSettings"/>Settings
+
+* &nbsp;```findbugsReportXML```: The name of the property that must be defined
+                                 in order to generate XML reports instead of
+                                 HTML reports (since the findbugs plugin can't
+                                 create them both at the same time). Defaults
+                                 to **CI**.
+
+* &nbsp;```findbugsIgnoreFailures```: **true** to ignore findbugs warning (to
+                                      **not** fail the build). Defaults
+                                      to **true**.
+
+* &nbsp;```findbugsIncludesFile```: The file with include rules. Defaults
+                                    to ```${rootProject.rootDir}/${rootProject.bnd_cnf}/findbugs/findbugs.include.xml```.
+
+* &nbsp;```findbugsExcludesFile```: The file with exclude rules. Defaults
+                                    to ```{rootProject.rootDir}/${rootProject.bnd_cnf}/findbugs/findbugs.exclude.xml```.
+
+The defaults for the settings can be overridden by defining the settings in the
+project's ```build-settings.gradle``` file.
+
+
+### <a name="BuildTasksJacoco"/>Jacoco
+
+The jacoco plugin is applied to all Java projects. This plugin adds the
+task ```jacocoTestReport``` which details the test coverage.
+
+The ```jacocoTestReport``` task is automatically run when either or both of
+the ```test``` and ```check``` tasks are scheduled to run.
+
+An ```test.exec``` report - for consumption by a build server - is always
+created.
+
+#### <a name="BuildTasksJacocoSettings"/>Settings
+
+* &nbsp;```jacocoToolVersion```: The version of the jacoco plugin to use.
+                                 Defaults to **0.7.5.201505241946**.
+
+* &nbsp;```jacocoXmlReport```: **true** to generate XML reports. Defaults
+                               to **true**.
+
+* &nbsp;```jacocoCsvReport```: **true** to generate CSV reports. Defaults
+                               to **false**.
+
+The defaults for the settings can be overridden by defining the settings in the
+project's ```build-settings.gradle``` file.
+
+
+### <a name="BuildTasksJavadoc"/>javadoc
+
+This task generates javadoc for the main source code.
+
+#### <a name="BuildTasksJavadocSettings"/>Settings
+
+* &nbsp;```javadocDir```: The directory (relative to the project's build
+                          directory) in which to place the javadoc.
+                          Defaults to **javadoc**.
+
+* &nbsp;```javadocTitle```: The same as ```javadocDocTitle```.
+                            Defaults to **${project.name}**.
+
+* &nbsp;```javadocFailOnError```: **false** to ignore errors (to **not** fail
+                                  the build).
+                                  Defaults to **true**.
+
+* &nbsp;```javadocMaxMemory```: The maximum amount of memory that the javadoc
+                                task is allowed to consume.
+                                Defaults to **256M**.
+
+* &nbsp;```javadocVerbose```: **true** for verbose mode: provide more detailed
+                              messages while javadoc is running. Without the
+                              verbose option, messages appear for loading the
+                              source files, generating the documentation (one
+                              message per source file), and sorting. The verbose
+                              option causes the printing of additional messages
+                              specifying the number of milliseconds to parse
+                              each java source file.
+                              Defaults to **false**.
+
+* &nbsp;```javadocDocTitle```: The title to be placed near the top of the
+                               overview summary file. The title will be placed
+                               as a centered, level-one heading directly beneath
+                               the upper navigation bar. The title may contain
+                               html tags and white space, though if it does, it
+                               must be enclosed in quotes. Any internal
+                               quotation marks within title may have to be
+                               escaped.
+                               Defaults to **${project.name}**.
+
+* &nbsp;```javadocWindowTitle```:  The title to be placed in the
+                                   HTML ```<title>``` tag. This appears in the
+                                   window title and in any browser bookmarks
+                                   (favorite places) that someone creates for
+                                   this page. This title should not contain any
+                                   HTML tags, as the browser will not properly
+                                   interpret them. Any internal quotation marks
+                                   within title may have to be escaped.
+                                   Defaults to **${project.name}**.
+
+* &nbsp;```javadocClassPathBoot```: The bootclasspath.
+                                    Defaults to an empty list of files.
+                                    Is automatically set for bnd projects.
+
+* &nbsp;```javadocMemberLevel```: The minimum member level to include in the
+                                  generated documention. Can be (from lowest
+                                  level to highest level): **PRIVATE**
+                                  , **PROTECTED**, **PACKAGE**, **PUBLIC**.
+                                  Defaults to **PUBLIC**.
+
+* &nbsp;```javadocEncoding```: The encoding name of the source files.
+                               Defaults to **UTF-8**.
+
+* &nbsp;```javadocAuthor```: **true** to include the @author text in the
+                             generated documentation.
+                             Defaults to **true**.
+
+* &nbsp;```javadocBreakIterator```: **true** to use the internationalized
+                                    sentence boundary of java.text.BreakIterator
+                                    to determine the end of the first sentence
+                                    for English (all other locales already use
+                                    BreakIterator), rather than an English
+                                    language, locale-specific algorithm. By
+                                    first sentence, the first sentence in the
+                                    main description of a package, class or
+                                    member is meant. This sentence is copied to
+                                    the package, class or member summary, and to
+                                    the alphabetic index.
+                                    Defaults to **true**.
+
+* &nbsp;```javadocDocFilesSubDirs```: **true** to enable deep copying
+                                      of "doc-files" directories. In other
+                                      words, subdirectories and all contents are
+                                      recursively copied to the destination. For
+                                      example, the
+                                      directory ```doc-files/example/images```
+                                      and all its contents would now be copied.
+                                      Defaults to **true**.
+
+* &nbsp;```javadocNoComment```: **true** to suppress the entire comment body,
+                                including the main description and all tags,
+                                generating only declarations. This option
+                                enables re-using source files originally
+                                intended for a different purpose, to produce
+                                skeleton HTML documentation at the early stages
+                                of a new project.
+                                Defaults to **false**.
+
+* &nbsp;```javadocNoDeprecated```: **true** to prevent the generation of any
+                                   deprecated API at all in the documentation.
+                                   This does what ```javadocNoDeprecatedList```
+                                   does, plus it does not generate any
+                                   deprecated API throughout the rest of the
+                                   documentation. This is useful when writing
+                                   code and you don't want to be distracted by
+                                   the deprecated code.
+                                   Defaults to **false**.
+
+* &nbsp;```javadocNoDeprecatedList```: **true** to prevent the generation of the
+                                       file containing the list of deprecated
+                                       APIs (deprecated-list.html) and the link
+                                       in the navigation bar to that page.
+                                       (However, javadoc continues to generate
+                                       the deprecated API throughout the rest of
+                                       the document.) This is useful if your
+                                       source code contains no deprecated API,
+                                       and you want to make the navigation bar
+                                       cleaner.
+                                       Defaults to **false**.
+
+* &nbsp;```javadocNoHelp```: **true** to omit the HELP link in the navigation
+                             bars at the top and bottom of each page of output. 
+                             Defaults to **false**.
+
+* &nbsp;```javadocNoIndex```: **true** to omit the index from the generated
+                              documentation. The index is produced by default.
+                              Defaults to **false**.
+
+* &nbsp;```javadocNoNavBar```: **true** to prevent the generation of the
+                               navigation bar, header and footer, otherwise
+                               found at the top and bottom of the generated
+                               pages. Has no effect on the "bottom" option.
+                               The option is useful when you are interested only
+                               in the content and have no need for navigation,
+                               such as converting the files to PostScript or PDF
+                               for print only.
+                               Defaults to **false**.
+
+* &nbsp;```javadocNoSince```: **true** to omit from the generated documentation
+                              the "Since" sections associated with the @since
+                              tags.
+                              Defaults to **false**.
+
+* &nbsp;```javadocNoTimestamp```: **true** to suppress the timestamp, which is
+                                  hidden in an HTML comment in the generated
+                                  HTML near the top of each page. Useful when
+                                  you want to run javadoc on two source bases
+                                  and diff them, as it prevents timestamps from
+                                  causing a diff (which would otherwise be a
+                                  diff on every page). The timestamp includes
+                                  the javadoc version number.
+                                  Defaults to **false**.
+
+* &nbsp;```javadocNoTree```: **true** to omit the class/interface hierarchy
+                             pages from the generated documentation. These are
+                             the pages you reach using the "Tree" button in the
+                             navigation bar.
+                             Defaults to **false**.
+
+* &nbsp;```javadocSplitIndex```: **true** to split the index file into multiple
+                                 files, alphabetically, one file per letter,
+                                 plus a file for any index entries that start
+                                 with non-alphabetical characters.
+                                 Defaults to **true**.
+
+* &nbsp;```javadocUse```: **true** to include one "Use" page for each documented
+                          class and package. The page describes what packages,
+                          classes, methods, constructors and fields use any API
+                          of the given class or package. Given class C, things
+                          that use class C would include subclasses of C, fields
+                          declared as C, methods that return C, and methods and
+                          constructors with parameters of type C. You can
+                          access the generated "Use" page by first going to the
+                          class or package, then clicking on the "Use" link in
+                          the navigation bar.
+                          Defaults to **true**.
+
+* &nbsp;```javadocVersion```: **true** to include the @version text in the
+                              generated documentation.
+                              Defaults to **true**.
+
+The defaults for the settings can be overridden by defining the settings in the
+project's ```build-settings.gradle``` file.
+
+
+### <a name="BuildTasksJavaClean"/>clean
+
+The build adjusts this task for Java projects (which includes bnd projects)
+such that it removes:
+
+* The class files output directory of all defined sourcesets.
+
+* The resources output directory of all defined sourcesets.
+
+
+## <a name="BuildTasksRootProject"/>Root Project
+
+This section discusses tasks that are modified for the root project.
+
+### <a name="BuildTasksWrapper"/>wrapper
+
+This task downloads Gradle and installs it in the workspace,
+see [Installing Gradle In The Workspace](#InstallingGradleInTheWorkspace).
+
+
+#### <a name="BuildTasksRootProjectSettings"/>Settings
+
+* &nbsp;```rootGradleVersion```: The version of the Gradle to use when
+                                 generating the Gradle wrapper.
+                                 Not setting it will result in the latest
+                                 released version of Gradle being used.
+                                 No default.
+
+The defaults for the settings can be overridden by defining the settings in the
+project's ```build-settings.gradle``` file.
+
+
+# <a name="BuildOptions"/>Build Options
+
+
+## <a name="BuildOptionsBndProjects"/>Bnd Projects
+
+* The ```jar``` task can be disabled by:
+
+  * Presence of the ```-nobundles``` instruction in the ```bnd.bnd``` file.
+
+* The ```test``` task can be disabled by:
+
+  * Presence of the ```-nojunit``` instruction in the ```bnd.bnd``` file.
+
+  * Presence of the ```no.junit```  property in the ```bnd.bnd``` file.
+
+* The ```check``` task can be disabled by:
+
+  * Presence of the ```-nojunitosgi``` instruction in the ```bnd.bnd``` file.
+
+  * Absence of the ```Test-Cases``` bnd property in the ```bnd.bnd``` file.
+
+* The ```release``` task can be disabled by:
+
+  * Presence of the ```-nobundles``` instruction in the ```bnd.bnd``` file.
+
+  * Absence of the ```-releaserepo``` instruction in any of the bnd files.
+
+
+## <a name="BuildOptionsFindbugs"/>Findbugs
+
+The findbugs tasks will - by default - generate HTML reports, but can be
+instructed to generate XML reports by setting the ```CI``` Gradle system
+property (```-PCI``` on the command line).
+
+&nbsp;```CI``` = **C**ontinous **I**ntegration
+                 (since XML reports are typically used on build servers)
+
+
+# <a name="CustomisingTheBuild"/>Customising The Build
+
+
+## <a name="CustomisingTheBuildGradle"/>Gradle
+
+The build be can easily customised by putting overrides and additions in any of
+the ```cnf/gradle/custom/*.gradle``` build script hook files,
+see [Build Flow](#BuildFlow).
+
+Also, any project can - on an individual basis - customise build settings or
+specify additions by placing a ```build-settings.gradle``` file in its
+root directory.
+
+The ```build-settings.gradle``` file is meant for settings and settings
+overrides, the ```build.gradle``` file is meant for tasks.
+
+An example of a ```build-settings.gradle``` file is shown below. This example
+shows how a project instructs the build to index its ```bundles``` directory
+to generate four indexes named ```example project```.
+
+```
+/* Index task overrides */
+ext.indexTreeRoot        = 'bundles'
+ext.indexTree            = fileTree(indexTreeRoot).include('**/*.jar').exclude('**/*-latest.jar')
+
+ext.indexDirectories     = "${indexTreeRoot};example project;indexTree"
+ext.indexOBRUncompressed = true
+ext.indexOBRCompressed   = true
+ext.indexR5Uncompressed  = true
+ext.indexR5Compressed    = true
+```
+
+
+## <a name="CustomisingTheBuildBnd"/>Bnd
+
+The bnd default settings are shown in the ```cnf/build.bnd``` file.
+Overrides to workspace-wide bnd settings can be placed in that same file.
+
+If a setting must be overridden or defined for a specific project, then that
+setting must be defined in the ```bnd.bnd``` file of that specific project.
+
+
+# <a name="AddingJavaProjectsToTheBuild"/>Adding Java Projects To The Build
+
+The build automatically includes all bnd projects.
+
+However, regular Java projects are not included automatically:
+a ```build.gradle``` file or a ```build-settings.gradle``` file in the root
+directory of the project is needed to make that happen.
+
+Such projects only need to apply the Gradle Java plugin, setup their
+sourceSets, and setup their build directory. The template will then
+automatically apply the buildscript ```cnf/gradle/template/javaProject.gradle```
+which adds tasks that are relevant to Java projects,
+see [Java Projects](#BuildTasksJavaProjects).
+
+The ```build-settings.gradle``` file shown below can be used as the basis. This
+will setup the Java project with the default bnd layout and add tasks that are
+relevant to a Java project (```javadoc```, ```findbugs...```, etc.).
+
+```
+/*
+ * A java project with bnd layout
+ */
+
+assert(project != rootProject)
+
+apply plugin: 'java'
+
+/* We use the same directory for java and resources. */
+sourceSets {
+  main {
+    java.srcDirs      = resources.srcDirs   = files('src')
+    output.classesDir = output.resourcesDir =       'bin'
+  }
+  test {
+    java.srcDirs        = resources.srcDirs   = files('test'    )
+    output.classesDir   = output.resourcesDir =       'test_bin'
+  }
+}
+
+buildDir = 'generated'
+```
+
+The ```build-settings.gradle``` file shown below can be used as the basis for a
+project with the Maven layout.
+
+```
+/*
+ * A java project with Maven layout
+ */
+
+assert(project != rootProject)
+
+apply plugin: 'java'
+
+/* We do not use the same directory for java and resources. */
+sourceSets {
+  main {
+    java.srcDirs        = files('src/main/java'     )
+    resources.srcDirs   = files('src/main/resources')
+    output.classesDir   =       'target/classes'
+    output.resourcesDir =       'target/classes'
+  }
+  test {
+    java.srcDirs        = files('src/test/java'     )
+    resources.srcDirs   = files('src/test/resources')
+    output.classesDir   =       'target/test-classes'
+    output.resourcesDir =       'target/test-classes'
+  }
+}
+
+buildDir = 'target'
+```
+
+
+# <a name="JenkinsBuildSetup"/>Jenkins Build Setup
+
+The screenshot ([Jenkins-Build-Settings.jpg](Jenkins-Build-Settings.jpg)) shows
+part of an example job.
+
+The shown settings can be used as an example, but can slightly differ for your
+own builds.
+
+The following Jenkins plugins should be installed to take advantage of the
+various functionalities of the build (some of which are shown in the
+screenshot):
+
+* build timeout plugin
+* build-name-setter
+* FindBugs Plug-in
+* Git Parameter Plug-In
+* GIT plugin
+* Gradle plugin
+* JaCoCo plugin
+* Javadoc Plugin
+* JUnit Plugin
+* Mailer Plugin
+
+Ensure your Jenkins has the most recent versions of these plugins.
+
+This applies especially to the Jacoco plugin since the binary format of Jacoco
+was changed a few times in the second half of 2015.
+
+
+# <a name="ReplacingBndtoolsGradle"/>Replacing The Bndtools Gradle Setup
+
+The bndtools Gradle setup can be easily replaced:
+* Create a new workspace with the Gradle setup of this plugin.
+* Now copy over the relevant files from the new workspace to the workspace
+  in which the setup should be replaced. The files which should be copied over
+  can be found here:
+  * [root](https://github.com/fhuberts/bndtoolsPlugins/tree/master/nl.pelagic.bndtools.headless.build.plugin.gradle/resources/templates/unprocessed/root): these files should be placed in the
+    workspace root.
+  * [cnf](https://github.com/fhuberts/bndtoolsPlugins/tree/master/nl.pelagic.bndtools.headless.build.plugin.gradle/resources/templates/unprocessed/cnf): these directories should be placed in the cnf directory
+    that is in the workspace root.
diff --git a/lib/info.java/cnf/gradle/doc/Bndtools Plugins by Pelagic - Screenshot.png b/lib/info.java/cnf/gradle/doc/Bndtools Plugins by Pelagic - Screenshot.png
new file mode 100644 (file)
index 0000000..126e37b
Binary files /dev/null and b/lib/info.java/cnf/gradle/doc/Bndtools Plugins by Pelagic - Screenshot.png differ
diff --git a/lib/info.java/cnf/gradle/doc/CHANGELOG.md b/lib/info.java/cnf/gradle/doc/CHANGELOG.md
new file mode 100644 (file)
index 0000000..5738e5f
--- /dev/null
@@ -0,0 +1,201 @@
+This document is licensed under the GNU Free Documentation License,
+Version 1.3, 3 November 2008
+
+# Compatibility
+
+This plugin is compatible with all bndtools versions since 3.1.0.REL.
+
+# Update Log
+
+* this: 6f9720f
+* bnd:  575c12f
+
+# Changes since bndtools 3.1.1 release
+
+* Some documentation snippets were added: section 'Replacing The Bndtools
+  Gradle Setup', a remark about using the latest Jenkins plugins, and 2 links
+  to the Eclipse marketplace landing pages for the plugin.
+* The jacoco version  ```jacocoToolVersion``` setting was updated to
+  0.7.6.201602180812.
+
+# Changes since bndtools 3.0.0 release
+
+* The jacoco task re-introduced its ```jacocoToolVersion``` setting, with a
+  default of the latest released version (0.7.5.201505241946).
+  This is because the Gradle Jacoco plugin uses an old version of Jacoco.
+* Like other bndtools headless build plugins, the plugin will issue
+  relevant warnings when generating or removing files.
+* Improve caching  behaviour when using the Gradle daemon.
+
+# Changes since bndtools 2.4.0 release
+
+* Defaults (most of them) are no longer overridden for the findbugs task.
+  Instead of using the 'override' variables, configure the desired settings
+  directly on the project or in one of the 'custom' templates.
+
+  These 'override' variables were removed:
+  * &nbsp;```findbugsEffort```
+  * &nbsp;```findbugsReportLevel```
+  * &nbsp;```findbugsReportsDir```
+  * &nbsp;```findbugsToolVersion```
+
+  * Note that ```ignoreFailures```, ```includeFilter```
+    and ```excludeFilter``` are still overridden if the project doesn't
+    configure their 'override' variables:
+    * &nbsp;```ignoreFailures``` is overridden to ```true``` if the
+      'override' variable ```findbugsIgnoreFailures``` is not set by the
+      project. This is because its default is ```false```, which will fail
+      the build when findbugs reports anything.
+    * &nbsp;```includeFilter``` is overridden
+      to ```<cnf>/findbugs/findbugs.include.xml``` if the 'override'
+      variable ```findbugsIncludesFile``` is not set by the project.
+    * &nbsp;```excludeFilter``` is overridden
+      to ```<cnf>/findbugs/findbugs.exclude.xml``` if the 'override'
+      variable ```findbugsExcludesFile``` is not set by the project.
+
+* Defaults are no longer overridden for the jacoco task.
+  Instead of using the 'override' variables, configure the desired settings
+  directly on the project or in one of the 'custom' templates.
+
+  These 'override' variables were removed:
+  * &nbsp;```jacocoHtmlDir```
+  * &nbsp;```jacocoReportsDir```
+  * &nbsp;```jacocoToolVersion```
+
+  * The destination file changes from ```reports/jacoco/test.exec```
+    to ```jacoco/test.exec```.
+
+    ```
+    generated/reports/jacoco/test.exec --> generated/jacoco/test.exec
+    ```
+
+* Defaults are no longer overridden for java projects.
+  Instead of using the 'override' variables, configure the desired settings
+  directly on the project or in one of the 'custom' templates.
+
+  These 'override' variables were removed:
+  * &nbsp;```javaLibsDirName```
+  * &nbsp;```javaTestEnableAssertions```
+  * &nbsp;```javaTestIgnoreFailures```
+  * &nbsp;```javaTestMaxParallelForks```
+  * &nbsp;```javaTestReportDirName```
+  * &nbsp;```javaTestResultsDirName```
+
+  * &nbsp;```libsDirName``` changes from ```.``` to the default ```libs```.
+  * &nbsp;```testResultsDirName``` changes from ```reports/tests/xml``` to
+    the default ```test-results```.
+  * &nbsp;```testReportDirName``` changes from ```tests/html``` to the
+    default ```tests```.
+
+    ```
+    generated/reports/tests/xml --> generated/test-results
+    generated/tests/html        --> generated/reports/tests
+    ```
+
+* Support bndtools 3.0.0 (DEV)
+
+# Changes since bndtools 2.3.0 release
+
+The changes were made to let the build be more in-line with what is delivered
+by the bndtools project through its Gradle support (starting with
+bndtools 2.4.0.M1).
+
+Below the changes that affect users are detailed.
+
+* The wrapper task now always uses the latest released Gradle version, unless
+  unless the ```rootGradleVersion``` is set when running the task.
+* The javadoc title, docTitle and windowTitle are now configurable.
+* The ```jacocoTestReport``` task is automatically run when either of
+  the ```test``` or ```check``` tasks are scheduled to run.
+* The jacoco reports are now placed in ```generated/reports/jacoco```.
+* The findbugs reports are now placed in ```generated/reports/findbugs```.
+* All custom buildscripts were renamed to better reflect that they're hooks,
+  when they're invoked and the scope they affect.
+* Default tasks are no longer set up.
+* The build dependencies cache directory is no longer configurable and is fixed
+  to ```cnf/cache```.
+* The build properties in ```cnf/build.gradle.properties``` were moved
+  to ```gradle.properties```.
+* Build dependencies now only support '*.uri' properties (configured
+  in ```gradle.properties```), support for the '*.location' properties was
+  dropped and the '*.url' properties are now interpreted as URIs, hence the
+  name-change. It is also no longer needed to list the bnd jar in these
+  properties because it is defined in the ```gradle.properties``` file.
+* The template now automatically applies the
+  buildscript ```cnf/gradle/template/javaProject.gradle``` to projects that
+  hava applied the Gradle Java plugin.
+* The bindex and repoindex properties for the jar and the main class are no
+  longer configurable.
+* All ```gradleBuild...``` properties were renamed and some were removed.
+  * The property ```gradleBuildDependenciesCacheDir``` was removed.
+  * The property ```gradleBuildBuildProperties``` was removed.
+  * The ```gradleBuildLogging...``` properties were removed.
+  * The property ```gradleBuildGradleVersion``` was renamed
+    to ```rootGradleVersion```.
+  * The property ```gradleBuildBndProjectsDefaultTasks``` was renamed
+    to ```bnd_defaultTask``` in ```gradle.properties``` and is now a
+    comma-separated list of tasks.
+  * The property ```gradleBuildNonBndProjectsDefaultTasks``` was renamed
+    to ```others_defaultTask``` in ```gradle.properties``` and is now a
+    comma-separated list of tasks.
+  * The property ```gradleBuildRootProjectDefaultTasks``` was renamed
+    to ```root_defaultTask``` in ```gradle.properties``` and is now a
+    comma-separated list of tasks.
+  * The ```gradleBuildLibsDirName``` property was renamed
+    to ```javaLibsDirName```.
+  * The ```gradleBuildTest...``` properties were renamed
+    to ```javaTest...```.
+  * The ```gradleBuildJacoco...``` properties were renamed
+    to ```jacoco...```.
+  * The ```gradleBuildIndex...``` properties were renamed
+    to ```index...```.
+  * The ```gradleBuildJavaDoc...``` properties were renamed
+    to ```javadoc...```.
+  * The ```gradleBuildFindbugs...``` properties were renamed
+    to ```findbugs...```.
+* The findbugs include and exclude files were moved from ```cnf```
+  to ```cnf/findbugs```.
+* The official bnd plugin as delivered by the bnd project is now used. This adds
+  support for all features that it implements, like setting the Java 8 compiler
+  profile (through ```javac.profile``` in a bnd file).
+* Many ```bnd...``` properties are no longer set  (as a result of using the
+  official bnd plugin).
+* Some tasks were renamed (as a result of using the official bnd plugin):
+
+```
+bundle     --> jar
+bundleTest --> check
+```
+
+* A ```name.bndrun``` file will now create an ```export.name```  task
+  automatically. The ```export``` task will depend on all such created export
+  tasks in the project.
+* The ```export``` tasks now put their artifacts in
+  the ```generated/distributions``` directory instead of
+  the ```generated/export``` directory (as a result of using the official bnd
+  plugin).
+* Logging is no longer set up.
+* The default bnd directories are no longer setup on the project. The
+  corresponding properties are
+
+```
+bndSrcDir
+bndSrcBinDir
+bndTestSrcDir
+bndTestSrcBinDir
+bndTargetDir
+```
+
+* The file ```cnf/gradle/bndLayout.gradle``` was removed. Projects usings it
+  should manually setup their source sets
+  (as described [here](BUILDING-GRADLE.md#AddingJavaProjectsToTheBuild)).
+* The property ```in.ant``` is no longer set to indicate a headless build.
+  Instead, the ```driver``` or ```gestallt``` macros from bnd can be used.
+  For example: setting a different release repository in the gradle build can
+  be accomplished by
+  setting ```-releaserepo:${if;${driver;gradle};ReleaseCI;Release}``` in the
+  file ```cnf/ext/repositories.bnd```.
+* The ```jsr14``` compiler target is no longer directly supported.
+  Refer to the official bnd plugin for details.
+* Some task dependencies were adjusted, see
+  the ```cnf/gradle/doc/template.svg``` diagram for details.
diff --git a/lib/info.java/cnf/gradle/doc/Jenkins-Build-Settings.jpg b/lib/info.java/cnf/gradle/doc/Jenkins-Build-Settings.jpg
new file mode 100644 (file)
index 0000000..250de3e
Binary files /dev/null and b/lib/info.java/cnf/gradle/doc/Jenkins-Build-Settings.jpg differ
diff --git a/lib/info.java/cnf/gradle/doc/LICENSE.FDL b/lib/info.java/cnf/gradle/doc/LICENSE.FDL
new file mode 100644 (file)
index 0000000..2f7e03c
--- /dev/null
@@ -0,0 +1,451 @@
+
+                GNU Free Documentation License
+                 Version 1.3, 3 November 2008
+
+
+ Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
+     <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+0. PREAMBLE
+
+The purpose of this License is to make a manual, textbook, or other
+functional and useful document "free" in the sense of freedom: to
+assure everyone the effective freedom to copy and redistribute it,
+with or without modifying it, either commercially or noncommercially.
+Secondarily, this License preserves for the author and publisher a way
+to get credit for their work, while not being considered responsible
+for modifications made by others.
+
+This License is a kind of "copyleft", which means that derivative
+works of the document must themselves be free in the same sense.  It
+complements the GNU General Public License, which is a copyleft
+license designed for free software.
+
+We have designed this License in order to use it for manuals for free
+software, because free software needs free documentation: a free
+program should come with manuals providing the same freedoms that the
+software does.  But this License is not limited to software manuals;
+it can be used for any textual work, regardless of subject matter or
+whether it is published as a printed book.  We recommend this License
+principally for works whose purpose is instruction or reference.
+
+
+1. APPLICABILITY AND DEFINITIONS
+
+This License applies to any manual or other work, in any medium, that
+contains a notice placed by the copyright holder saying it can be
+distributed under the terms of this License.  Such a notice grants a
+world-wide, royalty-free license, unlimited in duration, to use that
+work under the conditions stated herein.  The "Document", below,
+refers to any such manual or work.  Any member of the public is a
+licensee, and is addressed as "you".  You accept the license if you
+copy, modify or distribute the work in a way requiring permission
+under copyright law.
+
+A "Modified Version" of the Document means any work containing the
+Document or a portion of it, either copied verbatim, or with
+modifications and/or translated into another language.
+
+A "Secondary Section" is a named appendix or a front-matter section of
+the Document that deals exclusively with the relationship of the
+publishers or authors of the Document to the Document's overall
+subject (or to related matters) and contains nothing that could fall
+directly within that overall subject.  (Thus, if the Document is in
+part a textbook of mathematics, a Secondary Section may not explain
+any mathematics.)  The relationship could be a matter of historical
+connection with the subject or with related matters, or of legal,
+commercial, philosophical, ethical or political position regarding
+them.
+
+The "Invariant Sections" are certain Secondary Sections whose titles
+are designated, as being those of Invariant Sections, in the notice
+that says that the Document is released under this License.  If a
+section does not fit the above definition of Secondary then it is not
+allowed to be designated as Invariant.  The Document may contain zero
+Invariant Sections.  If the Document does not identify any Invariant
+Sections then there are none.
+
+The "Cover Texts" are certain short passages of text that are listed,
+as Front-Cover Texts or Back-Cover Texts, in the notice that says that
+the Document is released under this License.  A Front-Cover Text may
+be at most 5 words, and a Back-Cover Text may be at most 25 words.
+
+A "Transparent" copy of the Document means a machine-readable copy,
+represented in a format whose specification is available to the
+general public, that is suitable for revising the document
+straightforwardly with generic text editors or (for images composed of
+pixels) generic paint programs or (for drawings) some widely available
+drawing editor, and that is suitable for input to text formatters or
+for automatic translation to a variety of formats suitable for input
+to text formatters.  A copy made in an otherwise Transparent file
+format whose markup, or absence of markup, has been arranged to thwart
+or discourage subsequent modification by readers is not Transparent.
+An image format is not Transparent if used for any substantial amount
+of text.  A copy that is not "Transparent" is called "Opaque".
+
+Examples of suitable formats for Transparent copies include plain
+ASCII without markup, Texinfo input format, LaTeX input format, SGML
+or XML using a publicly available DTD, and standard-conforming simple
+HTML, PostScript or PDF designed for human modification.  Examples of
+transparent image formats include PNG, XCF and JPG.  Opaque formats
+include proprietary formats that can be read and edited only by
+proprietary word processors, SGML or XML for which the DTD and/or
+processing tools are not generally available, and the
+machine-generated HTML, PostScript or PDF produced by some word
+processors for output purposes only.
+
+The "Title Page" means, for a printed book, the title page itself,
+plus such following pages as are needed to hold, legibly, the material
+this License requires to appear in the title page.  For works in
+formats which do not have any title page as such, "Title Page" means
+the text near the most prominent appearance of the work's title,
+preceding the beginning of the body of the text.
+
+The "publisher" means any person or entity that distributes copies of
+the Document to the public.
+
+A section "Entitled XYZ" means a named subunit of the Document whose
+title either is precisely XYZ or contains XYZ in parentheses following
+text that translates XYZ in another language.  (Here XYZ stands for a
+specific section name mentioned below, such as "Acknowledgements",
+"Dedications", "Endorsements", or "History".)  To "Preserve the Title"
+of such a section when you modify the Document means that it remains a
+section "Entitled XYZ" according to this definition.
+
+The Document may include Warranty Disclaimers next to the notice which
+states that this License applies to the Document.  These Warranty
+Disclaimers are considered to be included by reference in this
+License, but only as regards disclaiming warranties: any other
+implication that these Warranty Disclaimers may have is void and has
+no effect on the meaning of this License.
+
+2. VERBATIM COPYING
+
+You may copy and distribute the Document in any medium, either
+commercially or noncommercially, provided that this License, the
+copyright notices, and the license notice saying this License applies
+to the Document are reproduced in all copies, and that you add no
+other conditions whatsoever to those of this License.  You may not use
+technical measures to obstruct or control the reading or further
+copying of the copies you make or distribute.  However, you may accept
+compensation in exchange for copies.  If you distribute a large enough
+number of copies you must also follow the conditions in section 3.
+
+You may also lend copies, under the same conditions stated above, and
+you may publicly display copies.
+
+
+3. COPYING IN QUANTITY
+
+If you publish printed copies (or copies in media that commonly have
+printed covers) of the Document, numbering more than 100, and the
+Document's license notice requires Cover Texts, you must enclose the
+copies in covers that carry, clearly and legibly, all these Cover
+Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
+the back cover.  Both covers must also clearly and legibly identify
+you as the publisher of these copies.  The front cover must present
+the full title with all words of the title equally prominent and
+visible.  You may add other material on the covers in addition.
+Copying with changes limited to the covers, as long as they preserve
+the title of the Document and satisfy these conditions, can be treated
+as verbatim copying in other respects.
+
+If the required texts for either cover are too voluminous to fit
+legibly, you should put the first ones listed (as many as fit
+reasonably) on the actual cover, and continue the rest onto adjacent
+pages.
+
+If you publish or distribute Opaque copies of the Document numbering
+more than 100, you must either include a machine-readable Transparent
+copy along with each Opaque copy, or state in or with each Opaque copy
+a computer-network location from which the general network-using
+public has access to download using public-standard network protocols
+a complete Transparent copy of the Document, free of added material.
+If you use the latter option, you must take reasonably prudent steps,
+when you begin distribution of Opaque copies in quantity, to ensure
+that this Transparent copy will remain thus accessible at the stated
+location until at least one year after the last time you distribute an
+Opaque copy (directly or through your agents or retailers) of that
+edition to the public.
+
+It is requested, but not required, that you contact the authors of the
+Document well before redistributing any large number of copies, to
+give them a chance to provide you with an updated version of the
+Document.
+
+
+4. MODIFICATIONS
+
+You may copy and distribute a Modified Version of the Document under
+the conditions of sections 2 and 3 above, provided that you release
+the Modified Version under precisely this License, with the Modified
+Version filling the role of the Document, thus licensing distribution
+and modification of the Modified Version to whoever possesses a copy
+of it.  In addition, you must do these things in the Modified Version:
+
+A. Use in the Title Page (and on the covers, if any) a title distinct
+   from that of the Document, and from those of previous versions
+   (which should, if there were any, be listed in the History section
+   of the Document).  You may use the same title as a previous version
+   if the original publisher of that version gives permission.
+B. List on the Title Page, as authors, one or more persons or entities
+   responsible for authorship of the modifications in the Modified
+   Version, together with at least five of the principal authors of the
+   Document (all of its principal authors, if it has fewer than five),
+   unless they release you from this requirement.
+C. State on the Title page the name of the publisher of the
+   Modified Version, as the publisher.
+D. Preserve all the copyright notices of the Document.
+E. Add an appropriate copyright notice for your modifications
+   adjacent to the other copyright notices.
+F. Include, immediately after the copyright notices, a license notice
+   giving the public permission to use the Modified Version under the
+   terms of this License, in the form shown in the Addendum below.
+G. Preserve in that license notice the full lists of Invariant Sections
+   and required Cover Texts given in the Document's license notice.
+H. Include an unaltered copy of this License.
+I. Preserve the section Entitled "History", Preserve its Title, and add
+   to it an item stating at least the title, year, new authors, and
+   publisher of the Modified Version as given on the Title Page.  If
+   there is no section Entitled "History" in the Document, create one
+   stating the title, year, authors, and publisher of the Document as
+   given on its Title Page, then add an item describing the Modified
+   Version as stated in the previous sentence.
+J. Preserve the network location, if any, given in the Document for
+   public access to a Transparent copy of the Document, and likewise
+   the network locations given in the Document for previous versions
+   it was based on.  These may be placed in the "History" section.
+   You may omit a network location for a work that was published at
+   least four years before the Document itself, or if the original
+   publisher of the version it refers to gives permission.
+K. For any section Entitled "Acknowledgements" or "Dedications",
+   Preserve the Title of the section, and preserve in the section all
+   the substance and tone of each of the contributor acknowledgements
+   and/or dedications given therein.
+L. Preserve all the Invariant Sections of the Document,
+   unaltered in their text and in their titles.  Section numbers
+   or the equivalent are not considered part of the section titles.
+M. Delete any section Entitled "Endorsements".  Such a section
+   may not be included in the Modified Version.
+N. Do not retitle any existing section to be Entitled "Endorsements"
+   or to conflict in title with any Invariant Section.
+O. Preserve any Warranty Disclaimers.
+
+If the Modified Version includes new front-matter sections or
+appendices that qualify as Secondary Sections and contain no material
+copied from the Document, you may at your option designate some or all
+of these sections as invariant.  To do this, add their titles to the
+list of Invariant Sections in the Modified Version's license notice.
+These titles must be distinct from any other section titles.
+
+You may add a section Entitled "Endorsements", provided it contains
+nothing but endorsements of your Modified Version by various
+parties--for example, statements of peer review or that the text has
+been approved by an organization as the authoritative definition of a
+standard.
+
+You may add a passage of up to five words as a Front-Cover Text, and a
+passage of up to 25 words as a Back-Cover Text, to the end of the list
+of Cover Texts in the Modified Version.  Only one passage of
+Front-Cover Text and one of Back-Cover Text may be added by (or
+through arrangements made by) any one entity.  If the Document already
+includes a cover text for the same cover, previously added by you or
+by arrangement made by the same entity you are acting on behalf of,
+you may not add another; but you may replace the old one, on explicit
+permission from the previous publisher that added the old one.
+
+The author(s) and publisher(s) of the Document do not by this License
+give permission to use their names for publicity for or to assert or
+imply endorsement of any Modified Version.
+
+
+5. COMBINING DOCUMENTS
+
+You may combine the Document with other documents released under this
+License, under the terms defined in section 4 above for modified
+versions, provided that you include in the combination all of the
+Invariant Sections of all of the original documents, unmodified, and
+list them all as Invariant Sections of your combined work in its
+license notice, and that you preserve all their Warranty Disclaimers.
+
+The combined work need only contain one copy of this License, and
+multiple identical Invariant Sections may be replaced with a single
+copy.  If there are multiple Invariant Sections with the same name but
+different contents, make the title of each such section unique by
+adding at the end of it, in parentheses, the name of the original
+author or publisher of that section if known, or else a unique number.
+Make the same adjustment to the section titles in the list of
+Invariant Sections in the license notice of the combined work.
+
+In the combination, you must combine any sections Entitled "History"
+in the various original documents, forming one section Entitled
+"History"; likewise combine any sections Entitled "Acknowledgements",
+and any sections Entitled "Dedications".  You must delete all sections
+Entitled "Endorsements".
+
+
+6. COLLECTIONS OF DOCUMENTS
+
+You may make a collection consisting of the Document and other
+documents released under this License, and replace the individual
+copies of this License in the various documents with a single copy
+that is included in the collection, provided that you follow the rules
+of this License for verbatim copying of each of the documents in all
+other respects.
+
+You may extract a single document from such a collection, and
+distribute it individually under this License, provided you insert a
+copy of this License into the extracted document, and follow this
+License in all other respects regarding verbatim copying of that
+document.
+
+
+7. AGGREGATION WITH INDEPENDENT WORKS
+
+A compilation of the Document or its derivatives with other separate
+and independent documents or works, in or on a volume of a storage or
+distribution medium, is called an "aggregate" if the copyright
+resulting from the compilation is not used to limit the legal rights
+of the compilation's users beyond what the individual works permit.
+When the Document is included in an aggregate, this License does not
+apply to the other works in the aggregate which are not themselves
+derivative works of the Document.
+
+If the Cover Text requirement of section 3 is applicable to these
+copies of the Document, then if the Document is less than one half of
+the entire aggregate, the Document's Cover Texts may be placed on
+covers that bracket the Document within the aggregate, or the
+electronic equivalent of covers if the Document is in electronic form.
+Otherwise they must appear on printed covers that bracket the whole
+aggregate.
+
+
+8. TRANSLATION
+
+Translation is considered a kind of modification, so you may
+distribute translations of the Document under the terms of section 4.
+Replacing Invariant Sections with translations requires special
+permission from their copyright holders, but you may include
+translations of some or all Invariant Sections in addition to the
+original versions of these Invariant Sections.  You may include a
+translation of this License, and all the license notices in the
+Document, and any Warranty Disclaimers, provided that you also include
+the original English version of this License and the original versions
+of those notices and disclaimers.  In case of a disagreement between
+the translation and the original version of this License or a notice
+or disclaimer, the original version will prevail.
+
+If a section in the Document is Entitled "Acknowledgements",
+"Dedications", or "History", the requirement (section 4) to Preserve
+its Title (section 1) will typically require changing the actual
+title.
+
+
+9. TERMINATION
+
+You may not copy, modify, sublicense, or distribute the Document
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense, or distribute it is void, and
+will automatically terminate your rights under this License.
+
+However, if you cease all violation of this License, then your license
+from a particular copyright holder is reinstated (a) provisionally,
+unless and until the copyright holder explicitly and finally
+terminates your license, and (b) permanently, if the copyright holder
+fails to notify you of the violation by some reasonable means prior to
+60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, receipt of a copy of some or all of the same material does
+not give you any rights to use it.
+
+
+10. FUTURE REVISIONS OF THIS LICENSE
+
+The Free Software Foundation may publish new, revised versions of the
+GNU Free Documentation License from time to time.  Such new versions
+will be similar in spirit to the present version, but may differ in
+detail to address new problems or concerns.  See
+http://www.gnu.org/copyleft/.
+
+Each version of the License is given a distinguishing version number.
+If the Document specifies that a particular numbered version of this
+License "or any later version" applies to it, you have the option of
+following the terms and conditions either of that specified version or
+of any later version that has been published (not as a draft) by the
+Free Software Foundation.  If the Document does not specify a version
+number of this License, you may choose any version ever published (not
+as a draft) by the Free Software Foundation.  If the Document
+specifies that a proxy can decide which future versions of this
+License can be used, that proxy's public statement of acceptance of a
+version permanently authorizes you to choose that version for the
+Document.
+
+11. RELICENSING
+
+"Massive Multiauthor Collaboration Site" (or "MMC Site") means any
+World Wide Web server that publishes copyrightable works and also
+provides prominent facilities for anybody to edit those works.  A
+public wiki that anybody can edit is an example of such a server.  A
+"Massive Multiauthor Collaboration" (or "MMC") contained in the site
+means any set of copyrightable works thus published on the MMC site.
+
+"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 
+license published by Creative Commons Corporation, a not-for-profit 
+corporation with a principal place of business in San Francisco, 
+California, as well as future copyleft versions of that license 
+published by that same organization.
+
+"Incorporate" means to publish or republish a Document, in whole or in 
+part, as part of another Document.
+
+An MMC is "eligible for relicensing" if it is licensed under this 
+License, and if all works that were first published under this License 
+somewhere other than this MMC, and subsequently incorporated in whole or 
+in part into the MMC, (1) had no cover texts or invariant sections, and 
+(2) were thus incorporated prior to November 1, 2008.
+
+The operator of an MMC Site may republish an MMC contained in the site
+under CC-BY-SA on the same site at any time before August 1, 2009,
+provided the MMC is eligible for relicensing.
+
+
+ADDENDUM: How to use this License for your documents
+
+To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and
+license notices just after the title page:
+
+    Copyright (c)  YEAR  YOUR NAME.
+    Permission is granted to copy, distribute and/or modify this document
+    under the terms of the GNU Free Documentation License, Version 1.3
+    or any later version published by the Free Software Foundation;
+    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+    A copy of the license is included in the section entitled "GNU
+    Free Documentation License".
+
+If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
+replace the "with...Texts." line with this:
+
+    with the Invariant Sections being LIST THEIR TITLES, with the
+    Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
+
+If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
+
+If your document contains nontrivial examples of program code, we
+recommend releasing these examples in parallel under your choice of
+free software license, such as the GNU General Public License,
+to permit their use in free software.
diff --git a/lib/info.java/cnf/gradle/doc/LICENSE.LGPL b/lib/info.java/cnf/gradle/doc/LICENSE.LGPL
new file mode 100644 (file)
index 0000000..5bc8fb2
--- /dev/null
@@ -0,0 +1,481 @@
+                  GNU LIBRARY GENERAL PUBLIC LICENSE
+                       Version 2, June 1991
+
+ Copyright (C) 1991 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the library GPL.  It is
+ numbered 2 because it goes with version 2 of the ordinary GPL.]
+
+                            Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+  This license, the Library General Public License, applies to some
+specially designated Free Software Foundation software, and to any
+other libraries whose authors decide to use it.  You can use it for
+your libraries, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if
+you distribute copies of the library, or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link a program with the library, you must provide
+complete object files to the recipients so that they can relink them
+with the library, after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  Our method of protecting your rights has two steps: (1) copyright
+the library, and (2) offer you this license which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  Also, for each distributor's protection, we want to make certain
+that everyone understands that there is no warranty for this free
+library.  If the library is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original
+version, so that any problems introduced by others will not reflect on
+the original authors' reputations.
+\f
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that companies distributing free
+software will individually obtain patent licenses, thus in effect
+transforming the program into proprietary software.  To prevent this,
+we have made it clear that any patent must be licensed for everyone's
+free use or not licensed at all.
+
+  Most GNU software, including some libraries, is covered by the ordinary
+GNU General Public License, which was designed for utility programs.  This
+license, the GNU Library General Public License, applies to certain
+designated libraries.  This license is quite different from the ordinary
+one; be sure to read it in full, and don't assume that anything in it is
+the same as in the ordinary license.
+
+  The reason we have a separate public license for some libraries is that
+they blur the distinction we usually make between modifying or adding to a
+program and simply using it.  Linking a program with a library, without
+changing the library, is in some sense simply using the library, and is
+analogous to running a utility program or application program.  However, in
+a textual and legal sense, the linked executable is a combined work, a
+derivative of the original library, and the ordinary General Public License
+treats it as such.
+
+  Because of this blurred distinction, using the ordinary General
+Public License for libraries did not effectively promote software
+sharing, because most developers did not use the libraries.  We
+concluded that weaker conditions might promote sharing better.
+
+  However, unrestricted linking of non-free programs would deprive the
+users of those programs of all benefit from the free status of the
+libraries themselves.  This Library General Public License is intended to
+permit developers of non-free programs to use free libraries, while
+preserving your freedom as a user of such programs to change the free
+libraries that are incorporated in them.  (We have not seen how to achieve
+this as regards changes in header files, but we have achieved it as regards
+changes in the actual functions of the Library.)  The hope is that this
+will lead to faster development of free libraries.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, while the latter only
+works together with the library.
+
+  Note that it is possible for a library to be covered by the ordinary
+General Public License rather than by this special one.
+\f
+                  GNU LIBRARY GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library which
+contains a notice placed by the copyright holder or other authorized
+party saying it may be distributed under the terms of this Library
+General Public License (also called "this License").  Each licensee is
+addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+  
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+\f
+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+\f
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+\f
+  6. As an exception to the Sections above, you may also compile or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    c) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    d) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the source code distributed need not include anything that is normally
+distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+\f
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+\f
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded.  In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Library General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+\f
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+                            NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+                     END OF TERMS AND CONDITIONS
+\f
+           How to Apply These Terms to Your New Libraries
+
+  If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change.  You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+  To apply these terms, attach the following notices to the library.  It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the library's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Library General Public License for more details.
+
+    You should have received a copy of the GNU Library General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+  <signature of Ty Coon>, 1 April 1990
+  Ty Coon, President of Vice
+
+That's all there is to it!
diff --git a/lib/info.java/cnf/gradle/doc/template.dot b/lib/info.java/cnf/gradle/doc/template.dot
new file mode 100644 (file)
index 0000000..acc58d7
--- /dev/null
@@ -0,0 +1,197 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU Free Documentation License
+ * Version 1.3, 3 November 2008
+ *
+ * See the BUILDING-GRADLE.md document in the root project for more details.
+ *
+ * To create an SVG diagram from this file, install graphviz and run:
+ *   dot -Tsvg "$1.dot" -o "$1.svg"   (on a Linux   machine)
+ *   dot -Tsvg "%1.dot" -o "%1.svg"   (on a Windows machine)
+ */
+
+
+digraph GradleSetup {
+  label="Gradle Build Setup"
+  labelloc=t
+  labeljust=l
+
+  subgraph cluster1 {
+    label="Java Projects / Bnd Projects";
+    labelloc=b
+    labeljust=l
+    style=filled;
+    fillcolor=lightgrey;
+    color=black;
+
+    subgraph cluster101 {
+      label="";
+      style=invis;
+      compileJava          [shape=box, style=filled, fillcolor=lightcyan, label="compileJava"         ]
+      processResources     [shape=box, style=filled, fillcolor=lightcyan, label="processResources"    ]
+      classes              [shape=box, style=filled, fillcolor=lightcyan, label="classes"             ]
+    }
+
+    subgraph cluster102 {
+      label="";
+      style=invis;
+      jar                  [shape=box, style=filled, fillcolor=cyan     , label="jar"                 ]
+    }
+
+    subgraph cluster103 {
+      label="";
+      style=invis;
+      compileTestJava      [shape=box, style=filled, fillcolor=lightcyan, label="compileTestJava"     ]
+      processTestResources [shape=box, style=filled, fillcolor=lightcyan, label="processTestResources"]
+      testClasses          [shape=box, style=filled, fillcolor=lightcyan, label="testClasses"         ]
+    }
+
+    subgraph cluster104 {
+      label="";
+      style=invis;
+      test                 [shape=box, style=filled, fillcolor=lightcyan, label="test"                ]
+    }
+
+    subgraph cluster105 {
+      label="";
+      style=invis;
+      uploadArchives       [shape=box, style=filled, fillcolor=lightcyan, label="uploadArchives"      ]
+      assemble             [shape=box, style=filled, fillcolor=lightcyan, label="assemble"            ]
+    }
+
+    subgraph cluster106 {
+      label="";
+      style=invis;
+      check                [shape=box, style=filled, fillcolor=cyan     , label="check"               ]
+      checkNeeded          [shape=box, style=filled, fillcolor=cyan     , label="checkNeeded"         ]
+    }
+
+    subgraph cluster107 {
+      label="";
+      style=invis;
+      release              [shape=box, style=filled, fillcolor=cyan     , label="release"             ]
+      releaseNeeded        [shape=box, style=filled, fillcolor=cyan     , label="releaseNeeded"       ]
+    }
+
+    subgraph cluster108 {
+      label="";
+      style=invis;
+      exportX              [shape=box3d, style=filled, fillcolor=cyan   , label="export.<name>"       ]
+      export               [shape=box  , style=filled, fillcolor=cyan   , label="export"              ]
+      runbundlesX          [shape=box3d, style=filled, fillcolor=cyan   , label="runbundles.<name>"   ]
+      runbundles           [shape=box  , style=filled, fillcolor=cyan   , label="runbundles"          ]
+    }
+
+    subgraph cluster109 {
+      label="";
+      style=invis;
+      build                [shape=box, style=filled, fillcolor=lightcyan, label="build"               ]
+      buildDependents      [shape=box, style=filled, fillcolor=lightcyan, label="buildDependents"     ]
+      buildNeeded          [shape=box, style=filled, fillcolor=lightcyan, label="buildNeeded"         ]
+    }
+
+    subgraph cluster110 {
+      label="";
+      style=invis;
+      findbugsMain         [shape=box, style=filled, fillcolor=orange   , label="findbugsMain"        ]
+      findbugsTest         [shape=box, style=filled, fillcolor=orange   , label="findbugsTest"        ]
+    }
+
+    javadoc                [shape=box, style=filled, fillcolor=orange   , label="javadoc"             ]
+
+    clean                  [shape=box, style=filled, fillcolor=cyan     , label="clean"               ]
+    cleanNeeded            [shape=box, style=filled, fillcolor=cyan     , label="cleanNeeded"         ]
+    echo                   [shape=box, style=filled, fillcolor=cyan     , label="echo"                ]
+    bndproperties          [shape=box, style=filled, fillcolor=cyan     , label="bndproperties"       ]
+    jacocoTestReport       [shape=box, style=filled, fillcolor=orange   , label="jacocoTestReport"    ]
+
+    compileJava            -> classes
+    processResources       -> classes
+    classes                -> compileTestJava
+    classes                -> jar
+    classes                -> test
+    compileTestJava        -> testClasses
+    processTestResources   -> testClasses
+    jar                    -> uploadArchives
+    jar                    -> assemble
+    testClasses            -> test
+    assemble               -> build
+    assemble               -> check
+    test                   -> check
+    check                  -> checkNeeded
+    checkNeeded            -> checkNeeded        [color=red   ]
+    check                  -> build
+    build                  -> buildDependents
+    buildDependents        -> buildDependents    [color=yellow]
+    build                  -> buildNeeded
+    buildNeeded            -> buildNeeded        [color=red   ]
+
+    assemble               -> compileJava        [color=red   ]
+    assemble               -> release
+    assemble               -> exportX
+    exportX                -> export
+    assemble               -> runbundlesX
+    runbundlesX            -> runbundles
+    release                -> releaseNeeded
+    releaseNeeded          -> releaseNeeded      [color=red   ]
+    clean                  -> cleanNeeded
+    cleanNeeded            -> cleanNeeded        [color=red   ]
+
+    assemble               -> findbugsMain
+    test                   -> findbugsTest
+    findbugsMain           -> check              [color=green ]
+    findbugsTest           -> check              [color=green ]
+    test                   -> jacocoTestReport   [color=magenta]
+    check                  -> jacocoTestReport   [color=magenta]
+  }
+
+
+  subgraph cluster2 {
+    label="All Projects";
+    labelloc=b
+    labeljust=l
+    style=filled;
+    fillcolor=lightgrey;
+    color=black;
+
+    subgraph cluster201 {
+      label="";
+      style=invis;
+      index                [shape=box, style=filled, fillcolor=orange   , label="index"               ]
+    }
+
+    subgraph cluster202 {
+      label="";
+      style=invis;
+      cleanAll             [shape=box, style=filled, fillcolor=orange   , label="clean"               ]
+      cleanAllNeeded       [shape=box, style=filled, fillcolor=orange   , label="cleanNeeded"         ]
+      distclean            [shape=box, style=filled, fillcolor=orange   , label="distclean"           ]
+      distcleanNeeded      [shape=box, style=filled, fillcolor=orange   , label="distcleanNeeded"     ]
+    }
+
+    clean                  -> cleanAll           [color=blue  ]
+    cleanNeeded            -> cleanAllNeeded     [color=blue  ]
+    cleanAll               -> cleanAllNeeded
+    cleanAll               -> distclean
+    cleanAllNeeded         -> cleanAllNeeded     [color=red   ]
+    cleanAllNeeded         -> distcleanNeeded
+    distclean              -> distcleanNeeded
+    distcleanNeeded        -> distcleanNeeded    [color=red   ]
+  }
+
+
+  subgraph cluster3 {
+    label="Root Project";
+    labelloc=b
+    labeljust=l
+    style=filled;
+    fillcolor=lightgrey;
+    color=black;
+
+    init                   [shape=box, style=filled, fillcolor=lightcyan, label="init"                ]
+    wrapper                [shape=box, style=filled, fillcolor=orange   , label="wrapper"             ]
+  }
+}
diff --git a/lib/info.java/cnf/gradle/doc/template.svg b/lib/info.java/cnf/gradle/doc/template.svg
new file mode 100644 (file)
index 0000000..05fe38d
--- /dev/null
@@ -0,0 +1,456 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<!-- Generated by graphviz version 2.34.0 (20140110.0949)
+ -->
+<!-- Title: GradleSetup Pages: 1 -->
+<svg width="1028pt" height="752pt"
+ viewBox="0.00 0.00 1028.00 752.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 748)">
+<title>GradleSetup</title>
+<polygon fill="white" stroke="white" points="-4,4 -4,-748 1024,-748 1024,4 -4,4"/>
+<text text-anchor="middle" x="61" y="-728.8" font-family="Times,serif" font-size="14.00">Gradle Build Setup</text>
+<g id="clust1" class="cluster"><title>cluster1</title>
+<polygon fill="lightgrey" stroke="black" points="8,-8 8,-713 706,-713 706,-8 8,-8"/>
+<text text-anchor="middle" x="92.5" y="-15.8" font-family="Times,serif" font-size="14.00">Java Projects / Bnd Projects</text>
+</g>
+<g id="clust2" class="cluster"><title>cluster101</title>
+</g>
+<g id="clust3" class="cluster"><title>cluster102</title>
+</g>
+<g id="clust4" class="cluster"><title>cluster103</title>
+</g>
+<g id="clust5" class="cluster"><title>cluster104</title>
+</g>
+<g id="clust6" class="cluster"><title>cluster105</title>
+</g>
+<g id="clust7" class="cluster"><title>cluster106</title>
+</g>
+<g id="clust8" class="cluster"><title>cluster107</title>
+</g>
+<g id="clust9" class="cluster"><title>cluster108</title>
+</g>
+<g id="clust10" class="cluster"><title>cluster109</title>
+</g>
+<g id="clust11" class="cluster"><title>cluster110</title>
+</g>
+<g id="clust12" class="cluster"><title>cluster2</title>
+<polygon fill="lightgrey" stroke="black" points="714,-387 714,-622 1012,-622 1012,-387 714,-387"/>
+<text text-anchor="middle" x="754.5" y="-394.8" font-family="Times,serif" font-size="14.00">All Projects</text>
+</g>
+<g id="clust13" class="cluster"><title>cluster201</title>
+</g>
+<g id="clust14" class="cluster"><title>cluster202</title>
+</g>
+<g id="clust15" class="cluster"><title>cluster3</title>
+<polygon fill="lightgrey" stroke="black" points="788,-630 788,-705 938,-705 938,-630 788,-630"/>
+<text text-anchor="middle" x="830.5" y="-637.8" font-family="Times,serif" font-size="14.00">Root Project</text>
+</g>
+<!-- compileJava -->
+<g id="node1" class="node"><title>compileJava</title>
+<polygon fill="lightcyan" stroke="black" points="484.25,-697 399.75,-697 399.75,-661 484.25,-661 484.25,-697"/>
+<text text-anchor="middle" x="442" y="-675.3" font-family="Times,serif" font-size="14.00">compileJava</text>
+</g>
+<!-- classes -->
+<g id="node3" class="node"><title>classes</title>
+<polygon fill="lightcyan" stroke="black" points="352,-606 298,-606 298,-570 352,-570 352,-606"/>
+<text text-anchor="middle" x="325" y="-584.3" font-family="Times,serif" font-size="14.00">classes</text>
+</g>
+<!-- compileJava&#45;&gt;classes -->
+<g id="edge1" class="edge"><title>compileJava&#45;&gt;classes</title>
+<path fill="none" stroke="black" d="M424.895,-660.724C415.074,-651.194 402.285,-639.419 390,-630 380.92,-623.039 370.631,-616.141 360.96,-610.045"/>
+<polygon fill="black" stroke="black" points="362.651,-606.976 352.305,-604.694 358.97,-612.93 362.651,-606.976"/>
+</g>
+<!-- processResources -->
+<g id="node2" class="node"><title>processResources</title>
+<polygon fill="lightcyan" stroke="black" points="381.25,-697 268.75,-697 268.75,-661 381.25,-661 381.25,-697"/>
+<text text-anchor="middle" x="325" y="-675.3" font-family="Times,serif" font-size="14.00">processResources</text>
+</g>
+<!-- processResources&#45;&gt;classes -->
+<g id="edge2" class="edge"><title>processResources&#45;&gt;classes</title>
+<path fill="none" stroke="black" d="M325,-660.84C325,-648.281 325,-630.979 325,-616.502"/>
+<polygon fill="black" stroke="black" points="328.5,-616.107 325,-606.107 321.5,-616.107 328.5,-616.107"/>
+</g>
+<!-- jar -->
+<g id="node4" class="node"><title>jar</title>
+<polygon fill="cyan" stroke="black" points="409,-534 355,-534 355,-498 409,-498 409,-534"/>
+<text text-anchor="middle" x="382" y="-512.3" font-family="Times,serif" font-size="14.00">jar</text>
+</g>
+<!-- classes&#45;&gt;jar -->
+<g id="edge4" class="edge"><title>classes&#45;&gt;jar</title>
+<path fill="none" stroke="black" d="M339.09,-569.697C345.923,-561.305 354.257,-551.07 361.756,-541.861"/>
+<polygon fill="black" stroke="black" points="364.472,-544.069 368.072,-534.104 359.044,-539.649 364.472,-544.069"/>
+</g>
+<!-- compileTestJava -->
+<g id="node5" class="node"><title>compileTestJava</title>
+<polygon fill="lightcyan" stroke="black" points="307,-534 199,-534 199,-498 307,-498 307,-534"/>
+<text text-anchor="middle" x="253" y="-512.3" font-family="Times,serif" font-size="14.00">compileTestJava</text>
+</g>
+<!-- classes&#45;&gt;compileTestJava -->
+<g id="edge3" class="edge"><title>classes&#45;&gt;compileTestJava</title>
+<path fill="none" stroke="black" d="M307.202,-569.697C298.396,-561.135 287.618,-550.656 277.999,-541.304"/>
+<polygon fill="black" stroke="black" points="280.203,-538.566 270.593,-534.104 275.323,-543.585 280.203,-538.566"/>
+</g>
+<!-- test -->
+<g id="node8" class="node"><title>test</title>
+<polygon fill="lightcyan" stroke="black" points="78,-371 24,-371 24,-335 78,-335 78,-371"/>
+<text text-anchor="middle" x="51" y="-349.3" font-family="Times,serif" font-size="14.00">test</text>
+</g>
+<!-- classes&#45;&gt;test -->
+<g id="edge5" class="edge"><title>classes&#45;&gt;test</title>
+<path fill="none" stroke="black" d="M297.967,-587.1C232.26,-586.709 67.0613,-581.713 33,-542 -11.849,-489.71 15.9784,-453.753 33,-387 33.5634,-384.791 34.3082,-382.57 35.1745,-380.382"/>
+<polygon fill="black" stroke="black" points="38.4373,-381.67 39.5639,-371.135 32.1136,-378.668 38.4373,-381.67"/>
+</g>
+<!-- uploadArchives -->
+<g id="node9" class="node"><title>uploadArchives</title>
+<polygon fill="lightcyan" stroke="black" points="433,-462 331,-462 331,-426 433,-426 433,-462"/>
+<text text-anchor="middle" x="382" y="-440.3" font-family="Times,serif" font-size="14.00">uploadArchives</text>
+</g>
+<!-- jar&#45;&gt;uploadArchives -->
+<g id="edge8" class="edge"><title>jar&#45;&gt;uploadArchives</title>
+<path fill="none" stroke="black" d="M382,-497.697C382,-489.983 382,-480.712 382,-472.112"/>
+<polygon fill="black" stroke="black" points="385.5,-472.104 382,-462.104 378.5,-472.104 385.5,-472.104"/>
+</g>
+<!-- assemble -->
+<g id="node10" class="node"><title>assemble</title>
+<polygon fill="lightcyan" stroke="black" points="518.25,-462 451.75,-462 451.75,-426 518.25,-426 518.25,-462"/>
+<text text-anchor="middle" x="485" y="-440.3" font-family="Times,serif" font-size="14.00">assemble</text>
+</g>
+<!-- jar&#45;&gt;assemble -->
+<g id="edge9" class="edge"><title>jar&#45;&gt;assemble</title>
+<path fill="none" stroke="black" d="M407.197,-497.876C420.414,-488.893 436.792,-477.763 451.107,-468.034"/>
+<polygon fill="black" stroke="black" points="453.403,-470.705 459.707,-462.19 449.468,-464.916 453.403,-470.705"/>
+</g>
+<!-- testClasses -->
+<g id="node7" class="node"><title>testClasses</title>
+<polygon fill="lightcyan" stroke="black" points="151,-462 75,-462 75,-426 151,-426 151,-462"/>
+<text text-anchor="middle" x="113" y="-440.3" font-family="Times,serif" font-size="14.00">testClasses</text>
+</g>
+<!-- compileTestJava&#45;&gt;testClasses -->
+<g id="edge6" class="edge"><title>compileTestJava&#45;&gt;testClasses</title>
+<path fill="none" stroke="black" d="M218.752,-497.876C199.939,-488.469 176.415,-476.708 156.334,-466.667"/>
+<polygon fill="black" stroke="black" points="157.889,-463.531 147.38,-462.19 154.759,-469.792 157.889,-463.531"/>
+</g>
+<!-- processTestResources -->
+<g id="node6" class="node"><title>processTestResources</title>
+<polygon fill="lightcyan" stroke="black" points="181,-534 45,-534 45,-498 181,-498 181,-534"/>
+<text text-anchor="middle" x="113" y="-512.3" font-family="Times,serif" font-size="14.00">processTestResources</text>
+</g>
+<!-- processTestResources&#45;&gt;testClasses -->
+<g id="edge7" class="edge"><title>processTestResources&#45;&gt;testClasses</title>
+<path fill="none" stroke="black" d="M113,-497.697C113,-489.983 113,-480.712 113,-472.112"/>
+<polygon fill="black" stroke="black" points="116.5,-472.104 113,-462.104 109.5,-472.104 116.5,-472.104"/>
+</g>
+<!-- testClasses&#45;&gt;test -->
+<g id="edge10" class="edge"><title>testClasses&#45;&gt;test</title>
+<path fill="none" stroke="black" d="M101.046,-425.84C91.8682,-412.666 79.0545,-394.272 68.6905,-379.394"/>
+<polygon fill="black" stroke="black" points="71.5055,-377.312 62.9175,-371.107 65.7618,-381.313 71.5055,-377.312"/>
+</g>
+<!-- check -->
+<g id="node11" class="node"><title>check</title>
+<polygon fill="cyan" stroke="black" points="227,-227 173,-227 173,-191 227,-191 227,-227"/>
+<text text-anchor="middle" x="200" y="-205.3" font-family="Times,serif" font-size="14.00">check</text>
+</g>
+<!-- test&#45;&gt;check -->
+<g id="edge13" class="edge"><title>test&#45;&gt;check</title>
+<path fill="none" stroke="black" d="M43.1474,-334.66C34.7942,-313.289 25.157,-277.097 44,-255 80.5056,-212.189 117.597,-257.873 169,-235 170.563,-234.304 172.114,-233.51 173.64,-232.641"/>
+<polygon fill="black" stroke="black" points="175.652,-235.507 182.026,-227.043 171.766,-229.685 175.652,-235.507"/>
+</g>
+<!-- findbugsTest -->
+<g id="node23" class="node"><title>findbugsTest</title>
+<polygon fill="orange" stroke="black" points="143.25,-299 56.75,-299 56.75,-263 143.25,-263 143.25,-299"/>
+<text text-anchor="middle" x="100" y="-277.3" font-family="Times,serif" font-size="14.00">findbugsTest</text>
+</g>
+<!-- test&#45;&gt;findbugsTest -->
+<g id="edge32" class="edge"><title>test&#45;&gt;findbugsTest</title>
+<path fill="none" stroke="black" d="M63.1124,-334.697C68.8681,-326.474 75.8617,-316.483 82.2055,-307.421"/>
+<polygon fill="black" stroke="black" points="85.1596,-309.304 88.027,-299.104 79.425,-305.29 85.1596,-309.304"/>
+</g>
+<!-- jacocoTestReport -->
+<g id="node29" class="node"><title>jacocoTestReport</title>
+<polygon fill="orange" stroke="black" points="133,-155 21,-155 21,-119 133,-119 133,-155"/>
+<text text-anchor="middle" x="77" y="-133.3" font-family="Times,serif" font-size="14.00">jacocoTestReport</text>
+</g>
+<!-- test&#45;&gt;jacocoTestReport -->
+<g id="edge35" class="edge"><title>test&#45;&gt;jacocoTestReport</title>
+<path fill="none" stroke="magenta" d="M40.749,-334.68C36.5258,-326.568 32.1287,-316.595 30,-307 24.9945,-284.437 25.6128,-277.691 30,-255 36.2903,-222.466 51.5749,-187.499 63.0177,-164.351"/>
+<polygon fill="magenta" stroke="magenta" points="66.2581,-165.699 67.6491,-155.196 60.0119,-162.539 66.2581,-165.699"/>
+</g>
+<!-- assemble&#45;&gt;compileJava -->
+<g id="edge21" class="edge"><title>assemble&#45;&gt;compileJava</title>
+<path fill="none" stroke="red" d="M479.281,-462.228C472.003,-484.858 459.587,-525.955 453,-562 447.506,-592.063 444.665,-627.042 443.26,-650.664"/>
+<polygon fill="red" stroke="red" points="439.748,-650.792 442.695,-660.969 446.737,-651.175 439.748,-650.792"/>
+</g>
+<!-- assemble&#45;&gt;check -->
+<g id="edge12" class="edge"><title>assemble&#45;&gt;check</title>
+<path fill="none" stroke="black" d="M476.932,-425.738C469.769,-412.589 457.959,-395.366 442,-387 426.136,-378.685 294.056,-391.261 281,-379 240.571,-341.033 295.794,-302.401 267,-255 259.696,-242.976 247.814,-233.461 236.07,-226.337"/>
+<polygon fill="black" stroke="black" points="237.627,-223.198 227.194,-221.354 234.2,-229.302 237.627,-223.198"/>
+</g>
+<!-- release -->
+<g id="node13" class="node"><title>release</title>
+<polygon fill="cyan" stroke="black" points="387,-371 333,-371 333,-335 387,-335 387,-371"/>
+<text text-anchor="middle" x="360" y="-349.3" font-family="Times,serif" font-size="14.00">release</text>
+</g>
+<!-- assemble&#45;&gt;release -->
+<g id="edge22" class="edge"><title>assemble&#45;&gt;release</title>
+<path fill="none" stroke="black" d="M475.569,-425.897C467.963,-413.532 456.211,-397.261 442,-387 433.225,-380.664 429.099,-382.891 419,-379 411.792,-376.223 404.153,-373.113 396.848,-370.055"/>
+<polygon fill="black" stroke="black" points="397.738,-366.631 387.165,-365.954 395.008,-373.077 397.738,-366.631"/>
+</g>
+<!-- exportX -->
+<g id="node15" class="node"><title>exportX</title>
+<polygon fill="cyan" stroke="black" points="677.25,-371 580.75,-371 576.75,-367 576.75,-335 673.25,-335 677.25,-339 677.25,-371"/>
+<polyline fill="none" stroke="black" points="673.25,-367 576.75,-367 "/>
+<polyline fill="none" stroke="black" points="673.25,-367 673.25,-335 "/>
+<polyline fill="none" stroke="black" points="673.25,-367 677.25,-371 "/>
+<text text-anchor="middle" x="627" y="-349.3" font-family="Times,serif" font-size="14.00">export.&lt;name&gt;</text>
+</g>
+<!-- assemble&#45;&gt;exportX -->
+<g id="edge23" class="edge"><title>assemble&#45;&gt;exportX</title>
+<path fill="none" stroke="black" d="M512.379,-425.84C534.774,-411.804 566.622,-391.843 591.066,-376.522"/>
+<polygon fill="black" stroke="black" points="593.091,-379.384 599.705,-371.107 589.373,-373.453 593.091,-379.384"/>
+</g>
+<!-- runbundlesX -->
+<g id="node17" class="node"><title>runbundlesX</title>
+<polygon fill="cyan" stroke="black" points="558.25,-371 435.75,-371 431.75,-367 431.75,-335 554.25,-335 558.25,-339 558.25,-371"/>
+<polyline fill="none" stroke="black" points="554.25,-367 431.75,-367 "/>
+<polyline fill="none" stroke="black" points="554.25,-367 554.25,-335 "/>
+<polyline fill="none" stroke="black" points="554.25,-367 558.25,-371 "/>
+<text text-anchor="middle" x="495" y="-349.3" font-family="Times,serif" font-size="14.00">runbundles.&lt;name&gt;</text>
+</g>
+<!-- assemble&#45;&gt;runbundlesX -->
+<g id="edge25" class="edge"><title>assemble&#45;&gt;runbundlesX</title>
+<path fill="none" stroke="black" d="M486.928,-425.84C488.353,-413.158 490.321,-395.64 491.958,-381.077"/>
+<polygon fill="black" stroke="black" points="495.439,-381.436 493.078,-371.107 488.483,-380.654 495.439,-381.436"/>
+</g>
+<!-- build -->
+<g id="node19" class="node"><title>build</title>
+<polygon fill="lightcyan" stroke="black" points="511,-155 457,-155 457,-119 511,-119 511,-155"/>
+<text text-anchor="middle" x="484" y="-133.3" font-family="Times,serif" font-size="14.00">build</text>
+</g>
+<!-- assemble&#45;&gt;build -->
+<g id="edge11" class="edge"><title>assemble&#45;&gt;build</title>
+<path fill="none" stroke="black" d="M518.356,-443.714C565.516,-442.688 650.35,-432.916 690,-379 722.65,-334.602 717.724,-302.63 690,-255 653.588,-192.444 569.89,-160.604 521.124,-146.812"/>
+<polygon fill="black" stroke="black" points="521.846,-143.381 511.278,-144.138 520.011,-150.136 521.846,-143.381"/>
+</g>
+<!-- findbugsMain -->
+<g id="node22" class="node"><title>findbugsMain</title>
+<polygon fill="orange" stroke="black" points="254.25,-299 161.75,-299 161.75,-263 254.25,-263 254.25,-299"/>
+<text text-anchor="middle" x="208" y="-277.3" font-family="Times,serif" font-size="14.00">findbugsMain</text>
+</g>
+<!-- assemble&#45;&gt;findbugsMain -->
+<g id="edge31" class="edge"><title>assemble&#45;&gt;findbugsMain</title>
+<path fill="none" stroke="black" d="M477.085,-425.991C469.941,-412.8 458.082,-395.395 442,-387 407.883,-369.191 302.248,-398.383 269,-379 242.652,-363.639 225.984,-331.887 216.852,-308.886"/>
+<polygon fill="black" stroke="black" points="220.062,-307.476 213.286,-299.331 213.504,-309.924 220.062,-307.476"/>
+</g>
+<!-- checkNeeded -->
+<g id="node12" class="node"><title>checkNeeded</title>
+<polygon fill="cyan" stroke="black" points="244.25,-155 155.75,-155 155.75,-119 244.25,-119 244.25,-155"/>
+<text text-anchor="middle" x="200" y="-133.3" font-family="Times,serif" font-size="14.00">checkNeeded</text>
+</g>
+<!-- check&#45;&gt;checkNeeded -->
+<g id="edge14" class="edge"><title>check&#45;&gt;checkNeeded</title>
+<path fill="none" stroke="black" d="M200,-190.697C200,-182.983 200,-173.712 200,-165.112"/>
+<polygon fill="black" stroke="black" points="203.5,-165.104 200,-155.104 196.5,-165.104 203.5,-165.104"/>
+</g>
+<!-- check&#45;&gt;build -->
+<g id="edge16" class="edge"><title>check&#45;&gt;build</title>
+<path fill="none" stroke="black" d="M227.231,-201.288C278.44,-188.666 389.129,-161.384 447.019,-147.115"/>
+<polygon fill="black" stroke="black" points="447.98,-150.483 456.851,-144.692 446.304,-143.687 447.98,-150.483"/>
+</g>
+<!-- check&#45;&gt;jacocoTestReport -->
+<g id="edge36" class="edge"><title>check&#45;&gt;jacocoTestReport</title>
+<path fill="none" stroke="magenta" d="M172.702,-192.465C156.037,-182.98 134.459,-170.7 116.011,-160.201"/>
+<polygon fill="magenta" stroke="magenta" points="117.664,-157.115 107.242,-155.211 114.202,-163.199 117.664,-157.115"/>
+</g>
+<!-- checkNeeded&#45;&gt;checkNeeded -->
+<g id="edge15" class="edge"><title>checkNeeded&#45;&gt;checkNeeded</title>
+<path fill="none" stroke="red" d="M244.306,-150.203C254.507,-149.065 262,-144.664 262,-137 262,-132.09 258.925,-128.52 254.032,-126.288"/>
+<polygon fill="red" stroke="red" points="254.862,-122.888 244.306,-123.797 253.125,-129.669 254.862,-122.888"/>
+</g>
+<!-- releaseNeeded -->
+<g id="node14" class="node"><title>releaseNeeded</title>
+<polygon fill="cyan" stroke="black" points="388.25,-299 293.75,-299 293.75,-263 388.25,-263 388.25,-299"/>
+<text text-anchor="middle" x="341" y="-277.3" font-family="Times,serif" font-size="14.00">releaseNeeded</text>
+</g>
+<!-- release&#45;&gt;releaseNeeded -->
+<g id="edge27" class="edge"><title>release&#45;&gt;releaseNeeded</title>
+<path fill="none" stroke="black" d="M355.303,-334.697C353.187,-326.898 350.638,-317.509 348.282,-308.829"/>
+<polygon fill="black" stroke="black" points="351.64,-307.838 345.643,-299.104 344.884,-309.672 351.64,-307.838"/>
+</g>
+<!-- releaseNeeded&#45;&gt;releaseNeeded -->
+<g id="edge28" class="edge"><title>releaseNeeded&#45;&gt;releaseNeeded</title>
+<path fill="none" stroke="red" d="M388.326,-294.101C398.571,-292.82 406,-288.453 406,-281 406,-276.225 402.951,-272.717 398.066,-270.476"/>
+<polygon fill="red" stroke="red" points="398.889,-267.073 388.326,-267.899 397.098,-273.84 398.889,-267.073"/>
+</g>
+<!-- export -->
+<g id="node16" class="node"><title>export</title>
+<polygon fill="cyan" stroke="black" points="654,-299 600,-299 600,-263 654,-263 654,-299"/>
+<text text-anchor="middle" x="627" y="-277.3" font-family="Times,serif" font-size="14.00">export</text>
+</g>
+<!-- exportX&#45;&gt;export -->
+<g id="edge24" class="edge"><title>exportX&#45;&gt;export</title>
+<path fill="none" stroke="black" d="M627,-334.697C627,-326.983 627,-317.712 627,-309.112"/>
+<polygon fill="black" stroke="black" points="630.5,-309.104 627,-299.104 623.5,-309.104 630.5,-309.104"/>
+</g>
+<!-- runbundles -->
+<g id="node18" class="node"><title>runbundles</title>
+<polygon fill="cyan" stroke="black" points="533.25,-299 456.75,-299 456.75,-263 533.25,-263 533.25,-299"/>
+<text text-anchor="middle" x="495" y="-277.3" font-family="Times,serif" font-size="14.00">runbundles</text>
+</g>
+<!-- runbundlesX&#45;&gt;runbundles -->
+<g id="edge26" class="edge"><title>runbundlesX&#45;&gt;runbundles</title>
+<path fill="none" stroke="black" d="M495,-334.697C495,-326.983 495,-317.712 495,-309.112"/>
+<polygon fill="black" stroke="black" points="498.5,-309.104 495,-299.104 491.5,-309.104 498.5,-309.104"/>
+</g>
+<!-- buildDependents -->
+<g id="node20" class="node"><title>buildDependents</title>
+<polygon fill="lightcyan" stroke="black" points="472,-83 364,-83 364,-47 472,-47 472,-83"/>
+<text text-anchor="middle" x="418" y="-61.3" font-family="Times,serif" font-size="14.00">buildDependents</text>
+</g>
+<!-- build&#45;&gt;buildDependents -->
+<g id="edge17" class="edge"><title>build&#45;&gt;buildDependents</title>
+<path fill="none" stroke="black" d="M467.685,-118.697C459.693,-110.22 449.928,-99.8636 441.178,-90.5826"/>
+<polygon fill="black" stroke="black" points="443.534,-87.9792 434.127,-83.1043 438.441,-92.7813 443.534,-87.9792"/>
+</g>
+<!-- buildNeeded -->
+<g id="node21" class="node"><title>buildNeeded</title>
+<polygon fill="lightcyan" stroke="black" points="594,-83 508,-83 508,-47 594,-47 594,-83"/>
+<text text-anchor="middle" x="551" y="-61.3" font-family="Times,serif" font-size="14.00">buildNeeded</text>
+</g>
+<!-- build&#45;&gt;buildNeeded -->
+<g id="edge19" class="edge"><title>build&#45;&gt;buildNeeded</title>
+<path fill="none" stroke="black" d="M500.562,-118.697C508.675,-110.22 518.588,-99.8636 527.471,-90.5826"/>
+<polygon fill="black" stroke="black" points="530.243,-92.7486 534.629,-83.1043 525.186,-87.9084 530.243,-92.7486"/>
+</g>
+<!-- buildDependents&#45;&gt;buildDependents -->
+<g id="edge18" class="edge"><title>buildDependents&#45;&gt;buildDependents</title>
+<path fill="none" stroke="yellow" d="M472.007,-77.8993C482.529,-76.4013 490,-72.1016 490,-65 490,-60.4506 486.934,-57.051 481.964,-54.8012"/>
+<polygon fill="yellow" stroke="yellow" points="482.575,-51.3406 472.007,-52.1007 480.742,-58.0965 482.575,-51.3406"/>
+</g>
+<!-- buildNeeded&#45;&gt;buildNeeded -->
+<g id="edge20" class="edge"><title>buildNeeded&#45;&gt;buildNeeded</title>
+<path fill="none" stroke="red" d="M594.036,-78.2619C604.355,-77.2253 612,-72.8047 612,-65 612,-60.0001 608.862,-56.3891 603.894,-54.1668"/>
+<polygon fill="red" stroke="red" points="604.583,-50.7319 594.036,-51.7381 602.909,-57.5287 604.583,-50.7319"/>
+</g>
+<!-- findbugsMain&#45;&gt;check -->
+<g id="edge33" class="edge"><title>findbugsMain&#45;&gt;check</title>
+<path fill="none" stroke="green" d="M206.022,-262.697C205.141,-254.983 204.081,-245.712 203.099,-237.112"/>
+<polygon fill="green" stroke="green" points="206.568,-236.642 201.955,-227.104 199.613,-237.437 206.568,-236.642"/>
+</g>
+<!-- findbugsTest&#45;&gt;check -->
+<g id="edge34" class="edge"><title>findbugsTest&#45;&gt;check</title>
+<path fill="none" stroke="green" d="M127.628,-262.882C140.418,-254.729 155.694,-244.667 169,-235 169.734,-234.467 170.475,-233.922 171.219,-233.369"/>
+<polygon fill="green" stroke="green" points="173.409,-236.1 179.212,-227.236 169.148,-230.546 173.409,-236.1"/>
+</g>
+<!-- javadoc -->
+<g id="node24" class="node"><title>javadoc</title>
+<polygon fill="orange" stroke="black" points="582.25,-697 523.75,-697 523.75,-661 582.25,-661 582.25,-697"/>
+<text text-anchor="middle" x="553" y="-675.3" font-family="Times,serif" font-size="14.00">javadoc</text>
+</g>
+<!-- clean -->
+<g id="node25" class="node"><title>clean</title>
+<polygon fill="cyan" stroke="black" points="681,-697 627,-697 627,-661 681,-661 681,-697"/>
+<text text-anchor="middle" x="654" y="-675.3" font-family="Times,serif" font-size="14.00">clean</text>
+</g>
+<!-- cleanNeeded -->
+<g id="node26" class="node"><title>cleanNeeded</title>
+<polygon fill="cyan" stroke="black" points="680,-606 594,-606 594,-570 680,-570 680,-606"/>
+<text text-anchor="middle" x="637" y="-584.3" font-family="Times,serif" font-size="14.00">cleanNeeded</text>
+</g>
+<!-- clean&#45;&gt;cleanNeeded -->
+<g id="edge29" class="edge"><title>clean&#45;&gt;cleanNeeded</title>
+<path fill="none" stroke="black" d="M650.722,-660.84C648.3,-648.158 644.954,-630.64 642.172,-616.077"/>
+<polygon fill="black" stroke="black" points="645.582,-615.273 640.268,-606.107 638.706,-616.587 645.582,-615.273"/>
+</g>
+<!-- cleanAll -->
+<g id="node31" class="node"><title>cleanAll</title>
+<polygon fill="orange" stroke="black" points="800,-606 746,-606 746,-570 800,-570 800,-606"/>
+<text text-anchor="middle" x="773" y="-584.3" font-family="Times,serif" font-size="14.00">clean</text>
+</g>
+<!-- clean&#45;&gt;cleanAll -->
+<g id="edge37" class="edge"><title>clean&#45;&gt;cleanAll</title>
+<path fill="none" stroke="blue" d="M676.944,-660.84C695.465,-646.988 721.7,-627.367 742.074,-612.129"/>
+<polygon fill="blue" stroke="blue" points="744.214,-614.9 750.126,-606.107 740.022,-609.294 744.214,-614.9"/>
+</g>
+<!-- cleanNeeded&#45;&gt;cleanNeeded -->
+<g id="edge30" class="edge"><title>cleanNeeded&#45;&gt;cleanNeeded</title>
+<path fill="none" stroke="red" d="M680.036,-601.262C690.355,-600.225 698,-595.805 698,-588 698,-583 694.862,-579.389 689.894,-577.167"/>
+<polygon fill="red" stroke="red" points="690.583,-573.732 680.036,-574.738 688.909,-580.529 690.583,-573.732"/>
+</g>
+<!-- cleanAllNeeded -->
+<g id="node32" class="node"><title>cleanAllNeeded</title>
+<polygon fill="orange" stroke="black" points="816,-534 730,-534 730,-498 816,-498 816,-534"/>
+<text text-anchor="middle" x="773" y="-512.3" font-family="Times,serif" font-size="14.00">cleanNeeded</text>
+</g>
+<!-- cleanNeeded&#45;&gt;cleanAllNeeded -->
+<g id="edge38" class="edge"><title>cleanNeeded&#45;&gt;cleanAllNeeded</title>
+<path fill="none" stroke="blue" d="M670.269,-569.876C688.463,-560.512 711.191,-548.814 730.64,-538.803"/>
+<polygon fill="blue" stroke="blue" points="732.313,-541.878 739.603,-534.19 729.11,-535.654 732.313,-541.878"/>
+</g>
+<!-- echo -->
+<g id="node27" class="node"><title>echo</title>
+<polygon fill="cyan" stroke="black" points="238,-697 184,-697 184,-661 238,-661 238,-697"/>
+<text text-anchor="middle" x="211" y="-675.3" font-family="Times,serif" font-size="14.00">echo</text>
+</g>
+<!-- bndproperties -->
+<g id="node28" class="node"><title>bndproperties</title>
+<polygon fill="cyan" stroke="black" points="142.25,-697 51.75,-697 51.75,-661 142.25,-661 142.25,-697"/>
+<text text-anchor="middle" x="97" y="-675.3" font-family="Times,serif" font-size="14.00">bndproperties</text>
+</g>
+<!-- index -->
+<g id="node30" class="node"><title>index</title>
+<polygon fill="orange" stroke="black" points="996,-606 942,-606 942,-570 996,-570 996,-606"/>
+<text text-anchor="middle" x="969" y="-584.3" font-family="Times,serif" font-size="14.00">index</text>
+</g>
+<!-- cleanAll&#45;&gt;cleanAllNeeded -->
+<g id="edge39" class="edge"><title>cleanAll&#45;&gt;cleanAllNeeded</title>
+<path fill="none" stroke="black" d="M773,-569.697C773,-561.983 773,-552.712 773,-544.112"/>
+<polygon fill="black" stroke="black" points="776.5,-544.104 773,-534.104 769.5,-544.104 776.5,-544.104"/>
+</g>
+<!-- distclean -->
+<g id="node33" class="node"><title>distclean</title>
+<polygon fill="orange" stroke="black" points="917.25,-534 852.75,-534 852.75,-498 917.25,-498 917.25,-534"/>
+<text text-anchor="middle" x="885" y="-512.3" font-family="Times,serif" font-size="14.00">distclean</text>
+</g>
+<!-- cleanAll&#45;&gt;distclean -->
+<g id="edge40" class="edge"><title>cleanAll&#45;&gt;distclean</title>
+<path fill="none" stroke="black" d="M800.112,-570.055C814.861,-560.837 833.29,-549.319 849.206,-539.371"/>
+<polygon fill="black" stroke="black" points="851.124,-542.3 857.749,-534.032 847.414,-536.364 851.124,-542.3"/>
+</g>
+<!-- cleanAllNeeded&#45;&gt;cleanAllNeeded -->
+<g id="edge41" class="edge"><title>cleanAllNeeded&#45;&gt;cleanAllNeeded</title>
+<path fill="none" stroke="red" d="M816.036,-529.262C826.355,-528.225 834,-523.805 834,-516 834,-511 830.862,-507.389 825.894,-505.167"/>
+<polygon fill="red" stroke="red" points="826.583,-501.732 816.036,-502.738 824.909,-508.529 826.583,-501.732"/>
+</g>
+<!-- distcleanNeeded -->
+<g id="node34" class="node"><title>distcleanNeeded</title>
+<polygon fill="orange" stroke="black" points="868,-462 762,-462 762,-426 868,-426 868,-462"/>
+<text text-anchor="middle" x="815" y="-440.3" font-family="Times,serif" font-size="14.00">distcleanNeeded</text>
+</g>
+<!-- cleanAllNeeded&#45;&gt;distcleanNeeded -->
+<g id="edge42" class="edge"><title>cleanAllNeeded&#45;&gt;distcleanNeeded</title>
+<path fill="none" stroke="black" d="M783.382,-497.697C788.265,-489.559 794.187,-479.689 799.579,-470.701"/>
+<polygon fill="black" stroke="black" points="802.594,-472.48 804.737,-462.104 796.591,-468.879 802.594,-472.48"/>
+</g>
+<!-- distclean&#45;&gt;distcleanNeeded -->
+<g id="edge43" class="edge"><title>distclean&#45;&gt;distcleanNeeded</title>
+<path fill="none" stroke="black" d="M867.697,-497.697C859.135,-489.135 848.656,-478.656 839.304,-469.304"/>
+<polygon fill="black" stroke="black" points="841.65,-466.701 832.104,-462.104 836.701,-471.65 841.65,-466.701"/>
+</g>
+<!-- distcleanNeeded&#45;&gt;distcleanNeeded -->
+<g id="edge44" class="edge"><title>distcleanNeeded&#45;&gt;distcleanNeeded</title>
+<path fill="none" stroke="red" d="M868.257,-456.899C878.632,-455.401 886,-451.102 886,-444 886,-439.451 882.976,-436.051 878.075,-433.801"/>
+<polygon fill="red" stroke="red" points="878.827,-430.378 868.257,-431.101 876.971,-437.128 878.827,-430.378"/>
+</g>
+<!-- init -->
+<g id="node35" class="node"><title>init</title>
+<polygon fill="lightcyan" stroke="black" points="930,-697 876,-697 876,-661 930,-661 930,-697"/>
+<text text-anchor="middle" x="903" y="-675.3" font-family="Times,serif" font-size="14.00">init</text>
+</g>
+<!-- wrapper -->
+<g id="node36" class="node"><title>wrapper</title>
+<polygon fill="orange" stroke="black" points="857.25,-697 796.75,-697 796.75,-661 857.25,-661 857.25,-697"/>
+<text text-anchor="middle" x="827" y="-675.3" font-family="Times,serif" font-size="14.00">wrapper</text>
+</g>
+</g>
+</svg>
diff --git a/lib/info.java/cnf/gradle/template/buildDependencies.gradle b/lib/info.java/cnf/gradle/template/buildDependencies.gradle
new file mode 100644 (file)
index 0000000..658e309
--- /dev/null
@@ -0,0 +1,75 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ *
+ * Determine the build dependencies.
+ */
+
+assert(hasProperty('bnd_cnf'))
+
+
+void getBuildDependencies(Set<File> buildDependencies, Set<String> evaluatedDependencies) {
+  assert(buildDependencies     != null)
+  assert(evaluatedDependencies != null)
+
+  def propKeyExtRegex    = '\\.uri\$'
+  properties
+     .findAll({it -> it.key.trim().toLowerCase() ==~ ('.+' + propKeyExtRegex)})
+     .each {
+    def propValue        = it.value.trim()
+    if (!propValue.empty) {
+      def propKey        = it.key.trim()
+      def dependencyName = propKey.toLowerCase().replaceFirst(propKeyExtRegex, '')
+      if (evaluatedDependencies.contains(dependencyName)) {
+        println "Warning: Build dependency ${dependencyName} was already processed, skipping ${it}"
+      } else {
+        def uri          = rootDir.toURI().resolve(propValue)
+        def dependencyFile = null
+        if (uri.scheme == 'file') {
+          dependencyFile = new File(uri.path)
+        } else {
+          dependencyFile = new File(rootDir, "${bnd_cnf}/cache/${new File(uri.path).name}")
+
+          /* Download from the URI when needed */
+          if (!dependencyFile.exists()) {
+            println "Downloading ${uri} to ${dependencyFile} ..."
+            dependencyFile.parentFile.mkdirs()
+            try {
+              uri.toURL().withInputStream{ is ->
+                dependencyFile.withOutputStream{ os ->
+                  def bos = new BufferedOutputStream(os)
+                  bos << is
+                }
+              }
+            } catch (Exception e) {
+              throw new GradleException("Downloading build dependency ${dependencyName} from ${uri.toURL()} failed", e)
+            }
+          }
+        }
+
+        assert(dependencyFile != null)
+
+        if (!dependencyFile.exists()) {
+          throw new GradleException("Build dependency ${dependencyName} (${dependencyFile.absolutePath}) does not exist.")
+        }
+
+        buildDependencies.add(dependencyFile)
+        evaluatedDependencies.add(dependencyName)
+      }
+    }
+  }
+}
+
+/* Determine build dependencies */
+def buildDependencies     = new HashSet<File>();
+def evaluatedDependencies = new HashSet<String>()
+getBuildDependencies(buildDependencies, evaluatedDependencies)
+
+/* After the rootProject is created, set up some properties. */
+gradle.rootProject { rootProject ->
+ rootProject.ext.bndBuildDependencies = files(buildDependencies)
+}
diff --git a/lib/info.java/cnf/gradle/template/clean.gradle b/lib/info.java/cnf/gradle/template/clean.gradle
new file mode 100644 (file)
index 0000000..470ac7b
--- /dev/null
@@ -0,0 +1,64 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ *
+ * Add clean tasks to the project.
+ */
+
+task distclean {
+  description 'Thoroughly clean the project.'
+  group 'cleanup'
+}
+
+task distcleanNeeded {
+  description 'Thoroughly clean the project and all projects it depends on.'
+  group 'cleanup'
+  dependsOn distclean
+}
+
+
+gradle.projectsEvaluated {
+  def hasClean       = !getTasksByName('clean'      , false).empty
+  def hasCleanNeeded = !getTasksByName('cleanNeeded', false).empty
+
+  /* add a clean task when not present */
+  if (!hasClean) {
+    task clean {
+      description 'Clean the project.'
+      group 'build'
+    }
+  }
+
+  /* add a cleanNeeded task when not present */
+  if (!hasCleanNeeded) {
+    task cleanNeeded {
+      description 'Cleans the project and all projects it depends on.'
+      group 'build'
+    }
+  }
+
+  cleanNeeded.dependsOn(clean)
+  distclean.dependsOn(clean)
+  distcleanNeeded.dependsOn(cleanNeeded)
+
+  /* bnd project dependencies */
+  if (hasProperty('bndProject')) {
+    bndProject.getDependson().each {
+      distcleanNeeded.dependsOn(":${it.name}:distcleanNeeded")
+    }
+  }
+
+  /* make sure that the root project clean tasks are run last */
+  if (project == rootProject) {
+    rootProject.subprojects.each {
+      clean.dependsOn(":${it.name}:clean")
+      cleanNeeded.dependsOn(":${it.name}:cleanNeeded")
+      distclean.dependsOn(":${it.name}:distclean")
+      distcleanNeeded.dependsOn(":${it.name}:distcleanNeeded")
+    }
+  }
+}
diff --git a/lib/info.java/cnf/gradle/template/findbugs.gradle b/lib/info.java/cnf/gradle/template/findbugs.gradle
new file mode 100644 (file)
index 0000000..43ff077
--- /dev/null
@@ -0,0 +1,78 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ *
+ * Add findbugs tasks to a (java) project.
+ *
+ * Note: the 'java' plugin must have been applied to the project before this
+ *       file can be applied.
+ *
+ * Note: Set the 'CI' property (-PCI on the command line) to generate XML
+ *       reports instead of html reports.
+ */
+
+assert(project != rootProject   )
+assert(hasProperty('sourceSets'))
+
+
+repositories {
+  mavenCentral()
+}
+
+
+apply plugin: 'findbugs'
+
+
+if (!hasProperty('findbugsReportXML'     )) ext.findbugsReportXML      = 'CI'
+
+if (!hasProperty('findbugsIgnoreFailures')) ext.findbugsIgnoreFailures = true
+if (!hasProperty('findbugsIncludesFile'  )) ext.findbugsIncludesFile   = "${rootProject.rootDir}/${rootProject.bnd_cnf}/findbugs/findbugs.include.xml"
+if (!hasProperty('findbugsExcludesFile'  )) ext.findbugsExcludesFile   = "${rootProject.rootDir}/${rootProject.bnd_cnf}/findbugs/findbugs.exclude.xml"
+
+
+findbugs {
+  ignoreFailures =          findbugsIgnoreFailures
+  includeFilter  =     file(findbugsIncludesFile             )
+  excludeFilter  =     file(findbugsExcludesFile             )
+}
+
+findbugsMain {
+  dependsOn assemble
+  reports {
+    xml.enabled  = rootProject.hasProperty(findbugsReportXML) ? true  : false
+    html.enabled = rootProject.hasProperty(findbugsReportXML) ? false : true
+  }
+}
+
+findbugsTest {
+  dependsOn test
+  reports {
+    xml.enabled  = rootProject.hasProperty(findbugsReportXML) ? true  : false
+    html.enabled = rootProject.hasProperty(findbugsReportXML) ? false : true
+  }
+}
+
+/* Placeholder task to facilitate enabling the findbugsMain task (disabled by default) */
+task findbugs {
+  description "Enables findbugs on the source code (disabled by default; use -P${findbugsReportXML} to generate xml reports)."
+  group 'verification'
+}
+
+/* Placeholder task to facilitate enabling the findbugsTest task (disabled by default) */
+task findbugstest {
+  description "Enables findbugs on the test code (disabled by default; use -P${findbugsReportXML} to generate xml reports)."
+  group 'verification'
+}
+
+gradle.taskGraph.whenReady { taskGraph ->
+  tasks.findbugsMain.onlyIf {
+    taskGraph.hasTask((tasks.findbugs))
+  }
+  tasks.findbugsTest.onlyIf {
+    taskGraph.hasTask((tasks.findbugstest))
+  }
+}
diff --git a/lib/info.java/cnf/gradle/template/index.gradle b/lib/info.java/cnf/gradle/template/index.gradle
new file mode 100644 (file)
index 0000000..c3a073a
--- /dev/null
@@ -0,0 +1,170 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ *
+ * Bundle repository indexing tasks.
+ */
+
+
+/*
+ * Create repository indexes
+ *
+ * Syntax:
+ * ext.indexDirectories = \
+ *   '<root directory>;<name>;<name of fileTree property>, ...'
+ *
+ *  root directory           : mandatory.
+ *  name                     : optional. if not specified then the basename of
+ *                             the root directory is used.
+ *  name of fileTree variable: optional. if not specified then all *.jar files
+ *                             below the root directory will be indexed
+ */
+if (!hasProperty('indexDirectories'    )) ext.indexDirectories     = ''
+
+if (!hasProperty('indexOBRUncompressed')) ext.indexOBRUncompressed = false
+if (!hasProperty('indexOBRCompressed'  )) ext.indexOBRCompressed   = false
+if (!hasProperty('indexR5Uncompressed' )) ext.indexR5Uncompressed  = false
+if (!hasProperty('indexR5Compressed'   )) ext.indexR5Compressed    = true
+
+
+ext.indexBindexJar     = "${rootDir}/${bnd_cnf}/gradle/dependencies/org.osgi.impl.bundle.bindex.jar"
+ext.indexBindexMain    = 'org.osgi.impl.bundle.bindex.cli.Index'
+ext.indexRepoindexJar  = "${rootDir}/${bnd_cnf}/gradle/dependencies/org.osgi.impl.bundle.repoindex.cli.jar"
+ext.indexRepoindexMain = 'org.osgi.impl.bundle.bindex.cli.Index'
+
+
+void createIndexes(boolean r5, boolean uncompressed, boolean compressed) {
+  def indexerClasspath
+  def indexerMain
+  if (!r5) {
+    indexerClasspath = rootProject.files(rootProject.indexBindexJar )
+    indexerMain      =                   rootProject.indexBindexMain
+  } else {
+    indexerClasspath = rootProject.files(rootProject.indexRepoindexJar )
+    indexerMain      =                   rootProject.indexRepoindexMain
+  }
+
+  indexDirectories.trim().split('\\s*,\\s*').each { indexDirectory ->
+    def parts        = indexDirectory.split('\\s*;\\s*')
+
+    if (parts.length > 3) {
+      throw new GradleException("Too many parts to the indexing configuration (${indexDirectory})")
+    }
+
+    if (parts.length > 1) {
+      if (parts[0].empty) {
+        throw new GradleException("Can't have an empty index directory (${indexDirectory})")
+      }
+      indexDirectory = parts[0]
+    }
+    def indexDirectoryFile = file(indexDirectory)
+
+    def repoName     = indexDirectoryFile.name
+    if (parts.length > 1 && !parts[1].empty) {
+      repoName       = parts[1]
+    }
+
+    indexDirectoryFile.mkdirs()
+
+    def bundlesToIndex
+    if (parts.length > 2) {
+      def treeProperty = parts[2]
+      bundlesToIndex = properties.get(treeProperty)
+      if (bundlesToIndex == null) {
+        throw new GradleException("Property ${treeProperty} not found")
+      }
+      if (!(bundlesToIndex instanceof FileTree)) {
+        throw new GradleException("Property ${treeProperty} is not an instance of FileTree")
+      }
+    } else {
+      bundlesToIndex = fileTree(indexDirectoryFile).include("**/*.jar")
+    }
+
+    def uncompressedIndexFile
+    def compressedIndexFile
+    if (!r5) {
+      uncompressedIndexFile = file("${indexDirectory}/repository.xml")
+      compressedIndexFile   = file("${indexDirectory}/repository.zip")
+    } else {
+      uncompressedIndexFile = file("${indexDirectory}/index.xml")
+      compressedIndexFile   = file("${indexDirectory}/index.xml.gz")
+    }
+
+    if (uncompressedIndexFile.exists()) {
+      uncompressedIndexFile.delete()
+    }
+    if (compressedIndexFile.exists()) {
+      compressedIndexFile.delete()
+    }
+
+    def indexes = [[false, uncompressed], [true, compressed]]
+    indexes.each { indexesEntry ->
+      def compress      = indexesEntry[0]
+      def generateIndex = indexesEntry[1]
+      if (generateIndex) {
+        def indexFile
+        if (!compress) {
+          indexFile     = uncompressedIndexFile
+        } else {
+          indexFile     = compressedIndexFile
+        }
+
+        def indexArgs   = []
+        if (!r5) {
+          indexArgs    += ['-r', indexFile,
+                           '-d', indexDirectoryFile.toURI(),
+                           '-n', repoName]
+        } else {
+          if (!compress) {
+            indexArgs  += ['--pretty']
+          }
+          indexArgs    += ['-r', indexFile,
+                           '-d', indexDirectoryFile,
+                           '-n', repoName]
+        }
+
+        if (!bundlesToIndex.empty) {
+          bundlesToIndex.each {
+            indexArgs  += relativePath(it)
+          }
+        }
+
+        def result = javaexec {
+          classpath     = indexerClasspath
+          main          = indexerMain
+          args          = indexArgs
+        }
+        if (result.exitValue != 0) {
+          String msg = String.format("Could not create %s %s index in directory ${indexDirectory}",
+            compress ? 'a compressed' : 'an uncompressed',
+            r5 ? 'R5' : 'OBR')
+          throw new GradleException(msg)
+        }
+      }
+    }
+  }
+}
+
+
+task index {
+  description 'Generate OBR and R5 repository indexes (set the indexDirectories property)'
+  group 'release'
+  enabled !indexDirectories.isEmpty() &&
+            (   indexOBRUncompressed
+             || indexOBRCompressed
+             || indexR5Uncompressed
+             || indexR5Compressed)
+
+  doLast {
+    if (indexOBRUncompressed || indexOBRCompressed) {
+      createIndexes(false, indexOBRUncompressed, indexOBRCompressed)
+    }
+    if (indexR5Uncompressed  || indexR5Compressed ) {
+      createIndexes(true , indexR5Uncompressed , indexR5Compressed )
+    }
+  }
+}
diff --git a/lib/info.java/cnf/gradle/template/init.gradle b/lib/info.java/cnf/gradle/template/init.gradle
new file mode 100644 (file)
index 0000000..87d2642
--- /dev/null
@@ -0,0 +1,77 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ *
+ * Master Gradle initialization script
+ *
+ * Called by settings.gradle to initialize the project set.
+ *
+ * Depends on bnd_* values from gradle.properties.
+ */
+
+import aQute.bnd.build.Workspace
+import aQute.bnd.osgi.Constants
+
+/* Add bnd as a script dependency */
+buildscript {
+  dependencies {
+    def bndURI = rootDir.toURI().resolve(bnd_jar)
+    if (bndURI.scheme != 'file') {
+      /* If not a local file, copy to a local file in cnf/cache */
+      def cnfCache = mkdir("${rootDir}/${bnd_cnf}/cache")
+      def bndJarFile = new File(cnfCache, 'biz.aQute.bnd.gradle.jar')
+      if (!bndJarFile.exists()) {
+        println "Downloading ${bndURI} to ${bndJarFile} ..."
+        bndURI.toURL().withInputStream { is ->
+          bndJarFile.withOutputStream { os ->
+            def bos = new BufferedOutputStream( os )
+            bos << is
+          }
+        }
+      }
+      bndURI = bndJarFile.toURI()
+    }
+    classpath files(bndURI)
+
+    /* After the rootProject is created, pass URI to projects */
+    gradle.rootProject { rootProject ->
+      rootProject.ext.bndURI = bndURI
+    }
+  }
+}
+
+
+/* Initialize the bnd workspace */
+Workspace.setDriver(Constants.BNDDRIVER_GRADLE)
+Workspace.addGestalt(Constants.GESTALT_BATCH, null)
+def workspace = new Workspace(rootDir, bnd_cnf)
+if (workspace == null) {
+  throw new GradleException("Unable to load workspace ${rootDir}/${bnd_cnf}")
+}
+
+
+/* Determine the build dependencies */
+apply from: new File(rootDir, "${bnd_cnf}/gradle/template/buildDependencies.gradle")
+
+
+/* include all bnd projects and all gradle projects */
+rootDir.eachFile {
+  if (it.isDirectory()
+      && (   new File(it, 'bnd.bnd'     ).isFile()
+          || new File(it, 'build.gradle').isFile()
+          || new File(it, 'build-settings.gradle').isFile())
+     ) {
+    include "${it.name}"
+  }
+}
+
+
+/* After the rootProject is created, set up some properties. */
+gradle.rootProject { rootProject ->
+  rootProject.ext.bndWorkspace = workspace
+  rootProject.ext.bnd_cnf = bnd_cnf
+}
diff --git a/lib/info.java/cnf/gradle/template/jacoco.gradle b/lib/info.java/cnf/gradle/template/jacoco.gradle
new file mode 100644 (file)
index 0000000..4244ee5
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ *
+ * Add tasks that are relevant to Java projects.
+ */
+
+assert(project != rootProject   )
+assert(hasProperty('sourceSets'))
+
+
+apply plugin: 'jacoco'
+
+
+if (!hasProperty('jacocoToolVersion')) ext.jacocoToolVersion = '0.7.6.201602180812'
+if (!hasProperty('jacocoXmlReport'  )) ext.jacocoXmlReport   = true
+if (!hasProperty('jacocoCsvReport'  )) ext.jacocoCsvReport   = false
+
+
+jacoco {
+  toolVersion = jacocoToolVersion
+}
+
+jacocoTestReport {
+  dependsOn test
+  reports {
+      xml.enabled      jacocoXmlReport
+      csv.enabled      jacocoCsvReport
+      html.destination file("${jacoco.reportsDir}/html")
+  }
+}
+
+test.finalizedBy  jacocoTestReport
+check.finalizedBy jacocoTestReport
diff --git a/lib/info.java/cnf/gradle/template/javaDoc.gradle b/lib/info.java/cnf/gradle/template/javaDoc.gradle
new file mode 100644 (file)
index 0000000..b32a983
--- /dev/null
@@ -0,0 +1,76 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ *
+ * Setup the javadoc options.
+ *
+ * Note: the 'java' plugin must have been applied to the project before this
+ *       file can be applied.
+ */
+
+assert(project != rootProject   )
+assert(hasProperty('sourceSets'))
+
+
+if (!hasProperty('javadocDir'             )) ext.javadocDir              = 'javadoc' /* relative to build directory         */
+if (!hasProperty('javadocTitle'           )) ext.javadocTitle            = "${project.name}"
+if (!hasProperty('javadocFailOnError'     )) ext.javadocFailOnError      = true
+if (!hasProperty('javadocMaxMemory'       )) ext.javadocMaxMemory        = '256M'
+if (!hasProperty('javadocVerbose'         )) ext.javadocVerbose          = false
+
+if (!hasProperty('javadocDocTitle'        )) ext.javadocDocTitle         = "${project.name}"
+if (!hasProperty('javadocWindowTitle'     )) ext.javadocWindowTitle      = "${project.name}"
+if (!hasProperty('javadocClassPathBoot'   )) ext.javadocClassPathBoot    = new LinkedList<File>()
+if (!hasProperty('javadocMemberLevel'     )) ext.javadocMemberLevel      = 'PUBLIC'  /* PRIVATE, PROTECTED, PACKAGE, PUBLIC */
+if (!hasProperty('javadocEncoding'        )) ext.javadocEncoding         = 'UTF-8'
+if (!hasProperty('javadocAuthor'          )) ext.javadocAuthor           = true
+if (!hasProperty('javadocBreakIterator'   )) ext.javadocBreakIterator    = true
+if (!hasProperty('javadocDocFilesSubDirs' )) ext.javadocDocFilesSubDirs  = true
+if (!hasProperty('javadocNoComment'       )) ext.javadocNoComment        = false
+if (!hasProperty('javadocNoDeprecated'    )) ext.javadocNoDeprecated     = false
+if (!hasProperty('javadocNoDeprecatedList')) ext.javadocNoDeprecatedList = false
+if (!hasProperty('javadocNoHelp'          )) ext.javadocNoHelp           = false
+if (!hasProperty('javadocNoIndex'         )) ext.javadocNoIndex          = false
+if (!hasProperty('javadocNoNavBar'        )) ext.javadocNoNavBar         = false
+if (!hasProperty('javadocNoSince'         )) ext.javadocNoSince          = false
+if (!hasProperty('javadocNoTimestamp'     )) ext.javadocNoTimestamp      = false
+if (!hasProperty('javadocNoTree'          )) ext.javadocNoTree           = false
+if (!hasProperty('javadocSplitIndex'      )) ext.javadocSplitIndex       = true
+if (!hasProperty('javadocUse'             )) ext.javadocUse              = true
+if (!hasProperty('javadocVersion'         )) ext.javadocVersion          = true
+
+
+javadoc.destinationDir           = new File(buildDir, "${javadocDir}")
+javadoc.title                    = javadocTitle
+javadoc.source                   = sourceSets.main.allJava
+javadoc.failOnError              = javadocFailOnError
+javadoc.maxMemory                = javadocMaxMemory
+javadoc.verbose                  = javadocVerbose
+
+configure(javadoc.options) {
+  docTitle                       = javadocDocTitle
+  windowTitle                    = javadocWindowTitle
+
+  bootClasspath                  = javadocClassPathBoot
+  memberLevel                    = javadocMemberLevel
+  encoding                       = javadocEncoding
+  author                         = javadocAuthor
+  breakIterator                  = javadocBreakIterator
+  docFilesSubDirs                = javadocDocFilesSubDirs
+  noComment                      = javadocNoComment
+  noDeprecated                   = javadocNoDeprecated
+  noDeprecatedList               = javadocNoDeprecatedList
+  noHelp                         = javadocNoHelp
+  noIndex                        = javadocNoIndex
+  noNavBar                       = javadocNoNavBar
+  noSince                        = javadocNoSince
+  noTimestamp                    = javadocNoTimestamp
+  noTree                         = javadocNoTree
+  splitIndex                     = javadocSplitIndex
+  use                            = javadocUse
+  version                        = javadocVersion
+}
diff --git a/lib/info.java/cnf/gradle/template/javaProject.gradle b/lib/info.java/cnf/gradle/template/javaProject.gradle
new file mode 100644 (file)
index 0000000..016d5b6
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ *
+ * Add tasks that are relevant to Java projects.
+ */
+
+assert(project != rootProject               )
+assert(rootProject.hasProperty('bnd_cnf'   ))
+assert(            hasProperty('sourceSets'))
+
+
+/* Setup javadoc options */
+apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/template/javaDoc.gradle")
+
+/* Add findbugs to the project */
+apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/template/findbugs.gradle")
+
+/* Add jacoco to the project */
+apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/template/jacoco.gradle")
+
+clean.doLast {
+  sourceSets.each {
+    if (projectDir != it.output.classesDir) {
+      delete(it.output.classesDir)
+    }
+    if (projectDir != it.output.resourcesDir) {
+      delete(it.output.resourcesDir)
+    }
+    if (projectDir != buildDir) {
+      delete(buildDir)
+    }
+  }
+}
diff --git a/lib/info.java/cnf/gradle/template/master.gradle b/lib/info.java/cnf/gradle/template/master.gradle
new file mode 100644 (file)
index 0000000..59b0a18
--- /dev/null
@@ -0,0 +1,143 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ *
+ * Master Gradle build script
+ *
+ * Called by build.gradle in the root of the workspace to configure the project set.
+ *
+ * Depends on bndURI and bndWorkspace properties set by settings.gradle.
+ */
+
+import aQute.bnd.build.Workspace
+import aQute.bnd.osgi.Constants
+
+
+/* Setup the build dependencies */
+buildscript {
+  dependencies {
+    classpath files(bndURI) + bndBuildDependencies
+  }
+}
+
+
+assert(project == rootProject             )
+assert(hasProperty('bnd_cnf'             ))
+assert(hasProperty('bndBuildDependencies'))
+assert(hasProperty('bndURI'              ))
+assert(hasProperty('bndWorkspace'        ))
+
+
+/* Initialize the bnd workspace */
+Workspace.setDriver(Constants.BNDDRIVER_GRADLE)
+Workspace.addGestalt(Constants.GESTALT_BATCH, null)
+ext.bndWorkspace = new Workspace(rootDir, bnd_cnf)
+if (bndWorkspace == null) {
+  throw new GradleException("Unable to load workspace ${rootDir}/${bnd_cnf}")
+}
+
+
+/* Pre Hook */
+apply from: new File(rootDir, "${rootProject.bnd_cnf}/gradle/custom/workspace-pre.gradle")
+
+/*
+ * All Projects
+ */
+
+allprojects { project ->
+  /* Set a default Gradle build directory */
+  project.buildDir = relativePath(Workspace.getDefaults().getProperty(Constants.DEFAULT_PROP_TARGET_DIR))
+
+  /* Pre Hook */
+  project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/allProject-pre.gradle")
+
+  /* Allow projects to individually override build settings */
+  def settingsFile = file('build-settings.gradle')
+  if (settingsFile.exists()) {
+    project.apply from: settingsFile
+  }
+
+  /* Add index tasks to the project */
+  project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/template/index.gradle")
+
+  /* Add clean tasks to the project */
+  project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/template/clean.gradle")
+
+  /* Post Hook */
+  project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/allProject-post.gradle")
+}
+
+
+/*
+ * Sub-Projects
+ */
+
+subprojects { project ->
+  /* Pre Hook */
+  project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/subProject-pre.gradle")
+
+  def bndProject = bndWorkspace.getProject(name)
+  if (bndProject == null) {
+    /* Pre Hook */
+    project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/nonBndProject-pre.gradle")
+
+    /* Setup the default tasks */
+    if (project.hasProperty('others_defaultTask')) {
+      defaultTasks = others_defaultTask.trim().split(/\s*,\s*/)
+    }
+  } else {
+    /* Store the bnd project */
+    project.ext.bndProject = bndProject
+
+    /* Pre Hook */
+    project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/bndProject-pre.gradle")
+
+    plugins.apply 'biz.aQute.bnd'
+
+    if (!hasProperty('javadocClassPathBoot')) {
+      /* Set the javadoc bootclasspath */
+      ext.javadocClassPathBoot  = project.bndProject.bootclasspath*.file
+    } else {
+      /* Add to the javadoc bootclasspath */
+      ext.javadocClassPathBoot += project.bndProject.bootclasspath*.file
+    }
+
+    /* Post Hook */
+    project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/bndProject-post.gradle")
+  }
+
+  plugins.withType(JavaPlugin) {
+    /* Pre Hook */
+    project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/javaProject-pre.gradle")
+
+    /* Add tasks that are relevant to Java projects */
+    project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/template/javaProject.gradle")
+
+    /* Post Hook */
+    project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/javaProject-post.gradle")
+  }
+
+  /* Post Hook */
+  project.apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/subProject-post.gradle")
+}
+
+
+/*
+ * Root Project
+ */
+
+/* Pre Hook */
+apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/rootProject-pre.gradle")
+
+/* Apply the rootProject template */
+apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/template/rootProject.gradle")
+
+/* Post Hook */
+apply from: rootProject.file("${rootProject.bnd_cnf}/gradle/custom/rootProject-post.gradle")
+
+/* Post Hook */
+apply from: new File(rootDir, "${rootProject.bnd_cnf}/gradle/custom/workspace-post.gradle")
diff --git a/lib/info.java/cnf/gradle/template/rootProject.gradle b/lib/info.java/cnf/gradle/template/rootProject.gradle
new file mode 100644 (file)
index 0000000..e3fdfa7
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * WARNING
+ *
+ * This file should not be edited.
+ *
+ * GNU LIBRARY GENERAL PUBLIC LICENSE
+ * Version 2, June 1991
+ *
+ * Build template for the root project.
+ */
+
+assert(project == rootProject)
+assert(hasProperty('bnd_cnf'))
+
+
+/*
+ * Not setting rootGradleVersion will use the latest released version of Gradle.
+ * Should that version remove functionality that is used in the scripts, then
+ * set rootGradleVersion to the last version of Gradle that is compatible with
+ * the scripts.
+ * For example: ext.rootGradleVersion = '2.1'
+ */
+
+
+/* Setup the default tasks */
+if (hasProperty('root_defaultTask')) {
+  defaultTasks = root_defaultTask.trim().split(/\s*,\s*/)
+}
+
+
+/* Setup the gradle wrapper */
+wrapper {
+  if (hasProperty('rootGradleVersion')) {
+    gradleVersion = rootGradleVersion
+  }
+  jarFile         = file('.gradle-wrapper/gradle-wrapper.jar')
+}
+
+
+distclean.doLast {
+  delete("${bnd_cnf}/cache")
+  delete('.gradle'         )
+}
diff --git a/lib/info.java/cnf/localrepo/README b/lib/info.java/cnf/localrepo/README
new file mode 100644 (file)
index 0000000..527a6bc
--- /dev/null
@@ -0,0 +1 @@
+Jackson JSON          : http://search.maven.org/#search|ga|1|g%3A%22com.fasterxml.jackson.core%22
diff --git a/lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-annotations/com.fasterxml.jackson.core.jackson-annotations-2.8.1.jar b/lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-annotations/com.fasterxml.jackson.core.jackson-annotations-2.8.1.jar
new file mode 100644 (file)
index 0000000..5715db7
Binary files /dev/null and b/lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-annotations/com.fasterxml.jackson.core.jackson-annotations-2.8.1.jar differ
diff --git a/lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-core/com.fasterxml.jackson.core.jackson-core-2.8.1.jar b/lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-core/com.fasterxml.jackson.core.jackson-core-2.8.1.jar
new file mode 100644 (file)
index 0000000..29230d4
Binary files /dev/null and b/lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-core/com.fasterxml.jackson.core.jackson-core-2.8.1.jar differ
diff --git a/lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-databind/com.fasterxml.jackson.core.jackson-databind-2.8.1.jar b/lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-databind/com.fasterxml.jackson.core.jackson-databind-2.8.1.jar
new file mode 100644 (file)
index 0000000..c4c4801
Binary files /dev/null and b/lib/info.java/cnf/localrepo/com.fasterxml.jackson.core.jackson-databind/com.fasterxml.jackson.core.jackson-databind-2.8.1.jar differ
diff --git a/lib/info.java/cnf/localrepo/index.xml b/lib/info.java/cnf/localrepo/index.xml
new file mode 100644 (file)
index 0000000..b48170a
--- /dev/null
@@ -0,0 +1,360 @@
+<?xml version="1.0" encoding="utf-8"?>
+<repository increment="1469100014000" name="Local" xmlns="http://www.osgi.org/xmlns/repository/v1.0.0">
+  <resource>
+    <capability namespace="osgi.identity">
+      <attribute name="osgi.identity" value="com.fasterxml.jackson.core.jackson-annotations"/>
+      <attribute name="type" value="osgi.bundle"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.content">
+      <attribute name="osgi.content" value="7b787e9cee8e921a2a0a7b0c82ef3d597d19fb571e460b15c156a70f427e63ac"/>
+      <attribute name="url" value="com.fasterxml.jackson.core.jackson-annotations/com.fasterxml.jackson.core.jackson-annotations-2.8.1.jar"/>
+      <attribute name="size" type="Long" value="55783"/>
+      <attribute name="mime" value="application/vnd.osgi.bundle"/>
+    </capability>
+    <capability namespace="osgi.wiring.bundle">
+      <attribute name="osgi.wiring.bundle" value="com.fasterxml.jackson.core.jackson-annotations"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.host">
+      <attribute name="osgi.wiring.host" value="com.fasterxml.jackson.core.jackson-annotations"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.annotation"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-annotations"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <requirement namespace="osgi.ee">
+      <directive name="filter" value="(&amp;(osgi.ee=JavaSE)(version=1.6))"/>
+    </requirement>
+  </resource>
+  <resource>
+    <capability namespace="osgi.identity">
+      <attribute name="osgi.identity" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="type" value="osgi.bundle"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.content">
+      <attribute name="osgi.content" value="f0b5493ad3fe59a54d50aaf20cc414eb893cbed045d30e4b81925fcb4ced8e22"/>
+      <attribute name="url" value="com.fasterxml.jackson.core.jackson-core/com.fasterxml.jackson.core.jackson-core-2.8.1.jar"/>
+      <attribute name="size" type="Long" value="280014"/>
+      <attribute name="mime" value="application/vnd.osgi.bundle"/>
+    </capability>
+    <capability namespace="osgi.wiring.bundle">
+      <attribute name="osgi.wiring.bundle" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.host">
+      <attribute name="osgi.wiring.host" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.core"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.core.base"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.core.filter"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.core.format"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.core.io"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.core.json"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.core.sym"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.core.type"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.core.util"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-core"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <requirement namespace="osgi.ee">
+      <directive name="filter" value="(&amp;(osgi.ee=JavaSE)(version=1.6))"/>
+    </requirement>
+  </resource>
+  <resource>
+    <capability namespace="osgi.identity">
+      <attribute name="osgi.identity" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="type" value="osgi.bundle"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.content">
+      <attribute name="osgi.content" value="0bbf7a039135fefee20d6205bef4f72a42eed5713a144acfb32d422ec450cc9d"/>
+      <attribute name="url" value="com.fasterxml.jackson.core.jackson-databind/com.fasterxml.jackson.core.jackson-databind-2.8.1.jar"/>
+      <attribute name="size" type="Long" value="1230290"/>
+      <attribute name="mime" value="application/vnd.osgi.bundle"/>
+    </capability>
+    <capability namespace="osgi.wiring.bundle">
+      <attribute name="osgi.wiring.bundle" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.host">
+      <attribute name="osgi.wiring.host" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.annotation"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.cfg"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.deser"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.deser.impl"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.deser.std"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.exc"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.ext"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.introspect"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.jsonFormatVisitors"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.jsonschema"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.jsontype"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.jsontype.impl"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.module"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.node"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.ser"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.ser.impl"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.ser.std"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.type"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <capability namespace="osgi.wiring.package">
+      <attribute name="osgi.wiring.package" value="com.fasterxml.jackson.databind.util"/>
+      <attribute name="version" type="Version" value="2.8.1"/>
+      <attribute name="bundle-symbolic-name" value="com.fasterxml.jackson.core.jackson-databind"/>
+      <attribute name="bundle-version" type="Version" value="2.8.1"/>
+    </capability>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.annotation)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.core)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.core.base)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.core.filter)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.core.format)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.core.io)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.core.json)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.core.type)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.core.util)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.annotation)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.cfg)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.deser)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.deser.impl)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.deser.std)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.exc)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.ext)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.introspect)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.jsonFormatVisitors)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.jsonschema)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.jsontype)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.jsontype.impl)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.node)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.ser)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.ser.impl)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.ser.std)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.type)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(&amp;(osgi.wiring.package=com.fasterxml.jackson.databind.util)(version&gt;=2.8.0)(!(version&gt;=3.0.0)))"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(osgi.wiring.package=javax.xml.datatype)"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(osgi.wiring.package=javax.xml.namespace)"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(osgi.wiring.package=javax.xml.parsers)"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(osgi.wiring.package=org.w3c.dom)"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(osgi.wiring.package=org.w3c.dom.bootstrap)"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(osgi.wiring.package=org.w3c.dom.ls)"/>
+    </requirement>
+    <requirement namespace="osgi.wiring.package">
+      <directive name="filter" value="(osgi.wiring.package=org.xml.sax)"/>
+    </requirement>
+    <requirement namespace="osgi.ee">
+      <directive name="filter" value="(&amp;(osgi.ee=JavaSE)(version=1.7))"/>
+    </requirement>
+  </resource>
+</repository>
\ No newline at end of file
diff --git a/lib/info.java/cnf/localrepo/index.xml.sha b/lib/info.java/cnf/localrepo/index.xml.sha
new file mode 100644 (file)
index 0000000..99bdb72
--- /dev/null
@@ -0,0 +1 @@
+d82b88e3b3d364cd4a9d872932c3e6c17e8743db0925eabfa872e7d57b314805
\ No newline at end of file
diff --git a/lib/info.java/cnf/plugins/biz.aQute.repository/biz.aQute.repository.jar b/lib/info.java/cnf/plugins/biz.aQute.repository/biz.aQute.repository.jar
new file mode 100644 (file)
index 0000000..869ac94
Binary files /dev/null and b/lib/info.java/cnf/plugins/biz.aQute.repository/biz.aQute.repository.jar differ
diff --git a/lib/info.java/cnf/releaserepo/index.xml b/lib/info.java/cnf/releaserepo/index.xml
new file mode 100644 (file)
index 0000000..c89dffc
--- /dev/null
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<repository increment="0" name="Release" xmlns="http://www.osgi.org/xmlns/repository/v1.0.0">
+</repository>
\ No newline at end of file
diff --git a/lib/info.java/cnf/releaserepo/index.xml.sha b/lib/info.java/cnf/releaserepo/index.xml.sha
new file mode 100644 (file)
index 0000000..f2b26bf
--- /dev/null
@@ -0,0 +1 @@
+262a924c4164db96f2409bfbe8d20793eb0c91a51c3dcd7c2160cde2bac8a492
\ No newline at end of file
diff --git a/lib/info.java/cnf/releaserepoCI/index.xml b/lib/info.java/cnf/releaserepoCI/index.xml
new file mode 100644 (file)
index 0000000..0486f51
--- /dev/null
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<repository increment="0" name="ReleaseCI" xmlns="http://www.osgi.org/xmlns/repository/v1.0.0">
+</repository>
\ No newline at end of file
diff --git a/lib/info.java/cnf/releaserepoCI/index.xml.sha b/lib/info.java/cnf/releaserepoCI/index.xml.sha
new file mode 100644 (file)
index 0000000..5494d3d
--- /dev/null
@@ -0,0 +1 @@
+a8161e8d5ce3746d6dfd525e7e8cb74bf3736ddcecca389cf14dd3b077e28a4f
\ No newline at end of file
diff --git a/lib/info.java/cnf/src/.gitignore b/lib/info.java/cnf/src/.gitignore
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/info.java/eclipse.settings/bndtools.core.prefs b/lib/info.java/eclipse.settings/bndtools.core.prefs
new file mode 100644 (file)
index 0000000..e4e860a
--- /dev/null
@@ -0,0 +1,3 @@
+compileErrorAction=delete
+eclipse.preferences.version=1
+eclipseClasspath=expose
diff --git a/lib/info.java/eclipse.settings/org.eclipse.jdt.core.prefs b/lib/info.java/eclipse.settings/org.eclipse.jdt.core.prefs
new file mode 100644 (file)
index 0000000..633ab8b
--- /dev/null
@@ -0,0 +1,408 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.codeComplete.argumentPrefixes=
+org.eclipse.jdt.core.codeComplete.argumentSuffixes=
+org.eclipse.jdt.core.codeComplete.fieldPrefixes=
+org.eclipse.jdt.core.codeComplete.fieldSuffixes=
+org.eclipse.jdt.core.codeComplete.localPrefixes=
+org.eclipse.jdt.core.codeComplete.localSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
+org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
+org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
+org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
+org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
+org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
+org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.doc.comment.support=enabled
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=warning
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=enabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=enabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=warning
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=warning
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=enabled
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
+org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled
+org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning
+org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
+org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=private
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=all_standard_tags
+org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=enabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=private
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
+org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
+org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=warning
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
+org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning
+org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=warning
+org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=disabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=disabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameter=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.source=1.7
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=true
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=16
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=48
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=48
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=48
+org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=16
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=0
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=true
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=do not insert
+org.eclipse.jdt.core.formatter.comment.line_length=120
+org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
+org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
+org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
+org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
+org.eclipse.jdt.core.formatter.indentation.size=2
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.join_lines_in_comments=true
+org.eclipse.jdt.core.formatter.join_wrapped_lines=true
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=120
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.tabulation.size=2
+org.eclipse.jdt.core.formatter.use_on_off_tags=true
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
+org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
+org.eclipse.jdt.core.javaFormatter=org.eclipse.jdt.core.defaultJavaFormatter
diff --git a/lib/info.java/eclipse.settings/org.eclipse.jdt.ui.prefs b/lib/info.java/eclipse.settings/org.eclipse.jdt.ui.prefs
new file mode 100644 (file)
index 0000000..57b506e
--- /dev/null
@@ -0,0 +1,129 @@
+cleanup.add_default_serial_version_id=false
+cleanup.add_generated_serial_version_id=true
+cleanup.add_missing_annotations=true
+cleanup.add_missing_deprecated_annotations=true
+cleanup.add_missing_methods=false
+cleanup.add_missing_nls_tags=false
+cleanup.add_missing_override_annotations=true
+cleanup.add_missing_override_annotations_interface_methods=true
+cleanup.add_serial_version_id=true
+cleanup.always_use_blocks=true
+cleanup.always_use_parentheses_in_expressions=true
+cleanup.always_use_this_for_non_static_field_access=true
+cleanup.always_use_this_for_non_static_method_access=true
+cleanup.convert_functional_interfaces=false
+cleanup.convert_to_enhanced_for_loop=true
+cleanup.correct_indentation=true
+cleanup.format_source_code=true
+cleanup.format_source_code_changes_only=false
+cleanup.insert_inferred_type_arguments=false
+cleanup.make_local_variable_final=true
+cleanup.make_parameters_final=true
+cleanup.make_private_fields_final=true
+cleanup.make_type_abstract_if_missing_method=false
+cleanup.make_variable_declarations_final=true
+cleanup.never_use_blocks=false
+cleanup.never_use_parentheses_in_expressions=false
+cleanup.organize_imports=true
+cleanup.qualify_static_field_accesses_with_declaring_class=false
+cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+cleanup.qualify_static_member_accesses_with_declaring_class=true
+cleanup.qualify_static_method_accesses_with_declaring_class=false
+cleanup.remove_private_constructors=true
+cleanup.remove_redundant_type_arguments=true
+cleanup.remove_trailing_whitespaces=true
+cleanup.remove_trailing_whitespaces_all=true
+cleanup.remove_trailing_whitespaces_ignore_empty=false
+cleanup.remove_unnecessary_casts=true
+cleanup.remove_unnecessary_nls_tags=true
+cleanup.remove_unused_imports=true
+cleanup.remove_unused_local_variables=false
+cleanup.remove_unused_private_fields=true
+cleanup.remove_unused_private_members=false
+cleanup.remove_unused_private_methods=true
+cleanup.remove_unused_private_types=true
+cleanup.sort_members=false
+cleanup.sort_members_all=false
+cleanup.use_anonymous_class_creation=false
+cleanup.use_blocks=true
+cleanup.use_blocks_only_for_return_and_throw=false
+cleanup.use_lambda=true
+cleanup.use_parentheses_in_expressions=true
+cleanup.use_this_for_non_static_field_access=true
+cleanup.use_this_for_non_static_field_access_only_if_necessary=false
+cleanup.use_this_for_non_static_method_access=true
+cleanup.use_this_for_non_static_method_access_only_if_necessary=false
+cleanup.use_type_arguments=false
+cleanup_profile=_olsrdinfo
+cleanup_settings_version=2
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+formatter_profile=_olsrdinfo
+formatter_settings_version=12
+org.eclipse.jdt.ui.exception.name=e
+org.eclipse.jdt.ui.gettersetter.use.is=true
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=java;javax;org;com;
+org.eclipse.jdt.ui.keywordthis=false
+org.eclipse.jdt.ui.ondemandthreshold=99
+org.eclipse.jdt.ui.overrideannotation=true
+org.eclipse.jdt.ui.staticondemandthreshold=99
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_missing_override_annotations_interface_methods=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=true
+sp_cleanup.always_use_this_for_non_static_field_access=true
+sp_cleanup.always_use_this_for_non_static_method_access=true
+sp_cleanup.convert_functional_interfaces=false
+sp_cleanup.convert_to_enhanced_for_loop=true
+sp_cleanup.correct_indentation=true
+sp_cleanup.format_source_code=true
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.insert_inferred_type_arguments=false
+sp_cleanup.make_local_variable_final=true
+sp_cleanup.make_parameters_final=true
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=true
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=false
+sp_cleanup.on_save_use_additional_actions=true
+sp_cleanup.organize_imports=true
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_redundant_type_arguments=false
+sp_cleanup.remove_trailing_whitespaces=true
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=true
+sp_cleanup.remove_unused_imports=true
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.use_anonymous_class_creation=false
+sp_cleanup.use_blocks=true
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_lambda=false
+sp_cleanup.use_parentheses_in_expressions=true
+sp_cleanup.use_this_for_non_static_field_access=true
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false
+sp_cleanup.use_this_for_non_static_method_access=true
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=false
+sp_cleanup.use_type_arguments=false
diff --git a/lib/info.java/gradle.properties b/lib/info.java/gradle.properties
new file mode 100644 (file)
index 0000000..3284a84
--- /dev/null
@@ -0,0 +1,14 @@
+# bnd_jar can also be a URL.
+bnd_jar=cnf/gradle/dependencies/biz.aQute.bnd.gradle.jar
+
+# Default gradle tasks to build for the root project (comma-separated)
+root_defaultTask=build
+
+# Default gradle tasks to build for bnd projects (comma-separated)
+bnd_defaultTask=build
+
+# Default gradle tasks to build for other projects (comma-separated)
+others_defaultTask=
+
+# This should be false. It only needs to be true in rare cases.
+bnd_preCompileRefresh=false
diff --git a/lib/info.java/gradlew b/lib/info.java/gradlew
new file mode 100755 (executable)
index 0000000..a8ac9b9
--- /dev/null
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+##  Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+    ls=`ls -ld "$PRG"`
+    link=`expr "$ls" : '.*-> \(.*\)$'`
+    if expr "$link" : '/.*' > /dev/null; then
+        PRG="$link"
+    else
+        PRG=`dirname "$PRG"`"/$link"
+    fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+    echo "$*"
+}
+
+die ( ) {
+    echo
+    echo "$*"
+    echo
+    exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+  CYGWIN* )
+    cygwin=true
+    ;;
+  Darwin* )
+    darwin=true
+    ;;
+  MINGW* )
+    msys=true
+    ;;
+  NONSTOP* )
+    nonstop=true
+    ;;
+esac
+
+CLASSPATH=$APP_HOME/.gradle-wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+        # IBM's JDK on AIX uses strange locations for the executables
+        JAVACMD="$JAVA_HOME/jre/sh/java"
+    else
+        JAVACMD="$JAVA_HOME/bin/java"
+    fi
+    if [ ! -x "$JAVACMD" ] ; then
+        die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+    fi
+else
+    JAVACMD="java"
+    which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+    MAX_FD_LIMIT=`ulimit -H -n`
+    if [ $? -eq 0 ] ; then
+        if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+            MAX_FD="$MAX_FD_LIMIT"
+        fi
+        ulimit -n $MAX_FD
+        if [ $? -ne 0 ] ; then
+            warn "Could not set maximum file descriptor limit: $MAX_FD"
+        fi
+    else
+        warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+    fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+    GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+    APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+    CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+    JAVACMD=`cygpath --unix "$JAVACMD"`
+
+    # We build the pattern for arguments to be converted via cygpath
+    ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+    SEP=""
+    for dir in $ROOTDIRSRAW ; do
+        ROOTDIRS="$ROOTDIRS$SEP$dir"
+        SEP="|"
+    done
+    OURCYGPATTERN="(^($ROOTDIRS))"
+    # Add a user-defined pattern to the cygpath arguments
+    if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+        OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+    fi
+    # Now convert the arguments - kludge to limit ourselves to /bin/sh
+    i=0
+    for arg in "$@" ; do
+        CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+        CHECK2=`echo "$arg"|egrep -c "^-"`                                 ### Determine if an option
+
+        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition
+            eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+        else
+            eval `echo args$i`="\"$arg\""
+        fi
+        i=$((i+1))
+    done
+    case $i in
+        (0) set -- ;;
+        (1) set -- "$args0" ;;
+        (2) set -- "$args0" "$args1" ;;
+        (3) set -- "$args0" "$args1" "$args2" ;;
+        (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+        (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+        (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+        (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+        (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+        (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+    esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+    JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/lib/info.java/gradlew.bat b/lib/info.java/gradlew.bat
new file mode 100644 (file)
index 0000000..57e1569
--- /dev/null
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off\r
+@rem ##########################################################################\r
+@rem\r
+@rem  Gradle startup script for Windows\r
+@rem\r
+@rem ##########################################################################\r
+\r
+@rem Set local scope for the variables with windows NT shell\r
+if "%OS%"=="Windows_NT" setlocal\r
+\r
+set DIRNAME=%~dp0\r
+if "%DIRNAME%" == "" set DIRNAME=.\r
+set APP_BASE_NAME=%~n0\r
+set APP_HOME=%DIRNAME%\r
+\r
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\r
+set DEFAULT_JVM_OPTS=\r
+\r
+@rem Find java.exe\r
+if defined JAVA_HOME goto findJavaFromJavaHome\r
+\r
+set JAVA_EXE=java.exe\r
+%JAVA_EXE% -version >NUL 2>&1\r
+if "%ERRORLEVEL%" == "0" goto init\r
+\r
+echo.\r
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\r
+echo.\r
+echo Please set the JAVA_HOME variable in your environment to match the\r
+echo location of your Java installation.\r
+\r
+goto fail\r
+\r
+:findJavaFromJavaHome\r
+set JAVA_HOME=%JAVA_HOME:"=%\r
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe\r
+\r
+if exist "%JAVA_EXE%" goto init\r
+\r
+echo.\r
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%\r
+echo.\r
+echo Please set the JAVA_HOME variable in your environment to match the\r
+echo location of your Java installation.\r
+\r
+goto fail\r
+\r
+:init\r
+@rem Get command-line arguments, handling Windows variants\r
+\r
+if not "%OS%" == "Windows_NT" goto win9xME_args\r
+if "%@eval[2+2]" == "4" goto 4NT_args\r
+\r
+:win9xME_args\r
+@rem Slurp the command line arguments.\r
+set CMD_LINE_ARGS=\r
+set _SKIP=2\r
+\r
+:win9xME_args_slurp\r
+if "x%~1" == "x" goto execute\r
+\r
+set CMD_LINE_ARGS=%*\r
+goto execute\r
+\r
+:4NT_args\r
+@rem Get arguments from the 4NT Shell from JP Software\r
+set CMD_LINE_ARGS=%$\r
+\r
+:execute\r
+@rem Setup the command line\r
+\r
+set CLASSPATH=%APP_HOME%\.gradle-wrapper\gradle-wrapper.jar\r
+\r
+@rem Execute Gradle\r
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%\r
+\r
+:end\r
+@rem End local scope for the variables with windows NT shell\r
+if "%ERRORLEVEL%"=="0" goto mainEnd\r
+\r
+:fail\r
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of\r
+rem the _cmd.exe /c_ return code!\r
+if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1\r
+exit /b 1\r
+\r
+:mainEnd\r
+if "%OS%"=="Windows_NT" endlocal\r
+\r
+:omega\r
diff --git a/lib/info.java/javadoc-all/.classpath b/lib/info.java/javadoc-all/.classpath
new file mode 100644 (file)
index 0000000..efeacc9
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" output="bin" path="src"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
+       <classpathentry kind="con" path="aQute.bnd.classpath.container"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/lib/info.java/javadoc-all/.gitignore b/lib/info.java/javadoc-all/.gitignore
new file mode 100644 (file)
index 0000000..57b3411
--- /dev/null
@@ -0,0 +1,2 @@
+/bin/
+/generated/
diff --git a/lib/info.java/javadoc-all/.project b/lib/info.java/javadoc-all/.project
new file mode 100644 (file)
index 0000000..3e14180
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>javadoc-all</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/lib/info.java/javadoc-all/.settings b/lib/info.java/javadoc-all/.settings
new file mode 120000 (symlink)
index 0000000..a3a4f7b
--- /dev/null
@@ -0,0 +1 @@
+../eclipse.settings/
\ No newline at end of file
diff --git a/lib/info.java/javadoc-all/build-settings.gradle b/lib/info.java/javadoc-all/build-settings.gradle
new file mode 100644 (file)
index 0000000..52a6606
--- /dev/null
@@ -0,0 +1,6 @@
+assert(project != rootProject)
+
+apply plugin: 'java'
+
+ext.javadocDocTitle    = 'olsrdinfo Documentation'
+ext.javadocWindowTitle = 'olsrdinfo Documentation'
diff --git a/lib/info.java/javadoc-all/build.gradle b/lib/info.java/javadoc-all/build.gradle
new file mode 100644 (file)
index 0000000..7df5056
--- /dev/null
@@ -0,0 +1,20 @@
+assert(project != rootProject)
+
+defaultTasks = ['javadoc']
+
+jar.enabled = false
+
+def cp = files()
+rootProject.allprojects.each {
+  if (it.hasProperty('sourceSets')) {
+    it.sourceSets.main.java.srcDirs.each {
+      javadoc.source(fileTree(it).include("**/*.java"))
+    }
+
+    cp  += it.compileJava.classpath
+  }
+}
+
+javadoc {
+  classpath = cp
+}
diff --git a/lib/info.java/javadoc-all/src/.gitignore b/lib/info.java/javadoc-all/src/.gitignore
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/info.java/javadoc-api/.classpath b/lib/info.java/javadoc-api/.classpath
new file mode 100644 (file)
index 0000000..efeacc9
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" output="bin" path="src"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
+       <classpathentry kind="con" path="aQute.bnd.classpath.container"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/lib/info.java/javadoc-api/.gitignore b/lib/info.java/javadoc-api/.gitignore
new file mode 100644 (file)
index 0000000..57b3411
--- /dev/null
@@ -0,0 +1,2 @@
+/bin/
+/generated/
diff --git a/lib/info.java/javadoc-api/.project b/lib/info.java/javadoc-api/.project
new file mode 100644 (file)
index 0000000..3ff90dc
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>javadoc-api</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/lib/info.java/javadoc-api/.settings b/lib/info.java/javadoc-api/.settings
new file mode 120000 (symlink)
index 0000000..a3a4f7b
--- /dev/null
@@ -0,0 +1 @@
+../eclipse.settings/
\ No newline at end of file
diff --git a/lib/info.java/javadoc-api/build-settings.gradle b/lib/info.java/javadoc-api/build-settings.gradle
new file mode 100644 (file)
index 0000000..df069c4
--- /dev/null
@@ -0,0 +1,6 @@
+assert(project != rootProject)
+
+apply plugin: 'java'
+
+ext.javadocDocTitle    = 'olsrdinfo API Documentation'
+ext.javadocWindowTitle = 'olsrdinfo API Documentation'
\ No newline at end of file
diff --git a/lib/info.java/javadoc-api/build.gradle b/lib/info.java/javadoc-api/build.gradle
new file mode 100644 (file)
index 0000000..0fbfbb9
--- /dev/null
@@ -0,0 +1,20 @@
+assert(project != rootProject)
+
+defaultTasks = ['javadoc']
+
+jar.enabled = false
+
+def cp = files()
+rootProject.allprojects.each {
+  if (it.hasProperty('sourceSets') && "${it.name}".endsWith('.api')) {
+    it.sourceSets.main.java.srcDirs.each {
+      javadoc.source(fileTree(it).include("**/*.java"))
+    }
+
+    cp  += it.compileJava.classpath
+  }
+}
+
+javadoc {
+  classpath = cp
+}
diff --git a/lib/info.java/javadoc-api/src/.gitignore b/lib/info.java/javadoc-api/src/.gitignore
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/info.java/org.olsr.v1.info.api/.classpath b/lib/info.java/org.olsr.v1.info.api/.classpath
new file mode 100644 (file)
index 0000000..f89ae43
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" output="bin" path="src"/>
+       <classpathentry kind="src" output="bin_test" path="test"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
+       <classpathentry kind="con" path="aQute.bnd.classpath.container"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/lib/info.java/org.olsr.v1.info.api/.gitignore b/lib/info.java/org.olsr.v1.info.api/.gitignore
new file mode 100644 (file)
index 0000000..90dde36
--- /dev/null
@@ -0,0 +1,3 @@
+/bin/
+/bin_test/
+/generated/
diff --git a/lib/info.java/org.olsr.v1.info.api/.project b/lib/info.java/org.olsr.v1.info.api/.project
new file mode 100644 (file)
index 0000000..1224711
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.olsr.v1.info.api</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>bndtools.core.bndbuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+               <nature>bndtools.core.bndnature</nature>
+       </natures>
+</projectDescription>
diff --git a/lib/info.java/org.olsr.v1.info.api/.settings b/lib/info.java/org.olsr.v1.info.api/.settings
new file mode 120000 (symlink)
index 0000000..c270b2f
--- /dev/null
@@ -0,0 +1 @@
+../eclipse.settings
\ No newline at end of file
diff --git a/lib/info.java/org.olsr.v1.info.api/bnd.bnd b/lib/info.java/org.olsr.v1.info.api/bnd.bnd
new file mode 100644 (file)
index 0000000..d49cfa4
--- /dev/null
@@ -0,0 +1,14 @@
+-buildpath: \
+       osgi.annotation;version=${osgi.annotation.version},\
+       com.fasterxml.jackson.core.jackson-annotations
+-testpath: \
+       com.fasterxml.jackson.core.jackson-core,\
+       com.fasterxml.jackson.core.jackson-databind,\
+       ${junit}
+Bundle-Name:OLSRd v1 Info - API
+Bundle-Version:1.0.0.${tstamp}
+Export-Package: \
+       org.olsr.v1.info.api.commands,\
+       org.olsr.v1.info.api.contants,\
+       org.olsr.v1.info.api.dto
+Private-Package: org.olsr.v1.info.api.util
\ No newline at end of file
diff --git a/lib/info.java/org.olsr.v1.info.api/doc/README b/lib/info.java/org.olsr.v1.info.api/doc/README
new file mode 100644 (file)
index 0000000..57345ff
--- /dev/null
@@ -0,0 +1,3 @@
+Keep all json files below this directory, that way
+it's easier to update them when something changes
+in the format of olsrd json output.
diff --git a/lib/info.java/org.olsr.v1.info.api/doc/examples/2hop.json b/lib/info.java/org.olsr.v1.info.api/doc/examples/2hop.json
new file mode 100644 (file)
index 0000000..85432c4
--- /dev/null
@@ -0,0 +1,149 @@
+{
+  "pid": 12345,
+  "systemTime": 1448289420,
+  "timeSinceStartup": 2063398,
+  "uuid": "d13d7ee3-fcca-4f81-9bf5-bb5848b5d96d",
+  "2hop": [
+    {
+      "ipAddress": "10.31.175.221",
+      "symmetric": true,
+      "willingness": 3,
+      "isMultiPointRelay": false,
+      "wasMultiPointRelay": false,
+      "multiPointRelaySelector": false,
+      "skip": false,
+      "neighbor2nocov": 0,
+      "linkcount": 1,
+      "twoHopNeighbors": [
+        "10.31.175.222"
+      ],
+      "twoHopNeighborCount": 1
+    },
+    {
+      "ipAddress": "10.31.175.217",
+      "symmetric": false,
+      "willingness": 3,
+      "isMultiPointRelay": false,
+      "wasMultiPointRelay": false,
+      "multiPointRelaySelector": false,
+      "skip": false,
+      "neighbor2nocov": 0,
+      "linkcount": 1,
+      "twoHopNeighbors": [
+        "10.31.175.52",
+        "10.31.175.188",
+        "10.31.175.60",
+        "10.31.175.61",
+        "10.31.175.30",
+        "10.31.175.178",
+        "10.31.175.20",
+        "10.31.175.185",
+        "10.31.175.94",
+        "10.31.175.62",
+        "10.31.175.28",
+        "10.31.175.26",
+        "10.31.175.181",
+        "10.31.175.249",
+        "10.31.175.250",
+        "10.31.175.251",
+        "10.31.175.253",
+        "10.31.175.252",
+        "10.31.175.51",
+        "10.31.175.25",
+        "10.31.175.39",
+        "10.31.175.21",
+        "10.31.175.165"
+      ],
+      "twoHopNeighborCount": 23
+    },
+    {
+      "ipAddress": "10.31.175.253",
+      "symmetric": false,
+      "willingness": 3,
+      "isMultiPointRelay": false,
+      "wasMultiPointRelay": false,
+      "multiPointRelaySelector": false,
+      "skip": false,
+      "neighbor2nocov": 0,
+      "linkcount": 1,
+      "twoHopNeighbors": [
+        "10.31.175.52",
+        "10.31.175.188",
+        "10.31.175.60",
+        "10.31.175.61",
+        "10.31.175.30",
+        "10.31.175.178",
+        "10.31.175.20",
+        "10.31.175.189",
+        "10.31.175.252",
+        "10.31.175.28",
+        "10.31.175.26",
+        "10.31.175.249",
+        "10.31.175.62",
+        "10.31.175.165",
+        "10.31.175.39",
+        "10.31.175.217",
+        "10.31.175.21",
+        "10.31.175.27",
+        "10.31.175.161",
+        "10.31.175.25",
+        "10.31.175.250"
+      ],
+      "twoHopNeighborCount": 21
+    },
+    {
+      "ipAddress": "10.31.175.181",
+      "symmetric": true,
+      "willingness": 3,
+      "isMultiPointRelay": false,
+      "wasMultiPointRelay": false,
+      "multiPointRelaySelector": false,
+      "skip": false,
+      "neighbor2nocov": 0,
+      "linkcount": 1,
+      "twoHopNeighbors": [
+        "10.31.175.52",
+        "10.31.175.188",
+        "10.31.175.60",
+        "10.31.175.61",
+        "10.31.175.178",
+        "10.31.175.20",
+        "10.31.175.185",
+        "10.31.175.189",
+        "10.31.175.94",
+        "10.31.175.25",
+        "10.31.175.39",
+        "10.31.175.62",
+        "10.31.175.27",
+        "10.31.175.26",
+        "10.31.175.21",
+        "10.31.175.165",
+        "10.31.175.249",
+        "10.31.175.217",
+        "10.31.175.252",
+        "10.31.175.250",
+        "10.31.175.161",
+        "10.31.175.28",
+        "10.31.175.51",
+        "10.31.175.251",
+        "10.31.175.253"
+      ],
+      "twoHopNeighborCount": 25
+    },
+    {
+      "ipAddress": "10.31.175.222",
+      "symmetric": true,
+      "willingness": 3,
+      "isMultiPointRelay": false,
+      "wasMultiPointRelay": false,
+      "multiPointRelaySelector": false,
+      "skip": false,
+      "neighbor2nocov": 0,
+      "linkcount": 1,
+      "twoHopNeighbors": [
+        "10.31.175.221"
+      ],
+      "twoHopNeighborCount": 1
+    }
+  ]
+}
\ No newline at end of file
diff --git a/lib/info.java/org.olsr.v1.info.api/doc/examples/all.json b/lib/info.java/org.olsr.v1.info.api/doc/examples/all.json
new file mode 100644 (file)
index 0000000..b561e17
--- /dev/null
@@ -0,0 +1,2075 @@
+{
+  "pid": 12345,
+  "systemTime": 1448289142,
+  "timeSinceStartup": 1785701,
+  "uuid": "d13d7ee3-fcca-4f81-9bf5-bb5848b5d96d",
+  "neighbors": [
+    {
+      "ipAddress": "10.31.175.221",
+      "symmetric": true,
+      "willingness": 3,
+      "isMultiPointRelay": false,
+      "wasMultiPointRelay": false,
+      "multiPointRelaySelector": false,
+      "skip": false,
+      "neighbor2nocov": 0,
+      "linkcount": 1,
+      "twoHopNeighborCount": 1
+    },
+    {
+      "ipAddress": "10.31.175.181",
+      "symmetric": false,
+      "willingness": 3,
+      "isMultiPointRelay": false,
+      "wasMultiPointRelay": false,
+      "multiPointRelaySelector": false,
+      "skip": false,
+      "neighbor2nocov": 0,
+      "linkcount": 1,
+      "twoHopNeighborCount": 25
+    },
+    {
+      "ipAddress": "10.31.175.222",
+      "symmetric": true,
+      "willingness": 3,
+      "isMultiPointRelay": false,
+      "wasMultiPointRelay": false,
+      "multiPointRelaySelector": false,
+      "skip": false,
+      "neighbor2nocov": 0,
+      "linkcount": 1,
+      "twoHopNeighborCount": 1
+    }
+  ],
+  "links": [
+    {
+      "localIP": "10.31.175.220",
+      "remoteIP": "10.31.175.221",
+      "olsrInterface": "wlan0",
+      "ifName": "wlan0",
+      "validityTime": 38269,
+      "symmetryTime": 19444,
+      "asymmetryTime": 291476,
+      "vtime": 20000,
+      "currentLinkStatus": "SYMMETRIC",
+      "previousLinkStatus": "SYMMETRIC",
+      "hysteresis": 0.000000,
+      "pending": false,
+      "lostLinkTime": 0,
+      "helloTime": 0,
+      "lastHelloTime": 0,
+      "seqnoValid": false,
+      "seqno": 0,
+      "lossHelloInterval": 2000,
+      "lossTime": 2444,
+      "lossMultiplier": 65536,
+      "linkCost": 0.099609,
+      "linkQuality": 1.000000,
+      "neighborLinkQuality": 1.000000
+    },
+    {
+      "localIP": "10.31.175.220",
+      "remoteIP": "10.31.175.222",
+      "olsrInterface": "wlan0",
+      "ifName": "wlan0",
+      "validityTime": 37115,
+      "symmetryTime": 19038,
+      "asymmetryTime": 291070,
+      "vtime": 20000,
+      "currentLinkStatus": "SYMMETRIC",
+      "previousLinkStatus": "SYMMETRIC",
+      "hysteresis": 0.000000,
+      "pending": false,
+      "lostLinkTime": 0,
+      "helloTime": 0,
+      "lastHelloTime": 0,
+      "seqnoValid": false,
+      "seqno": 0,
+      "lossHelloInterval": 2000,
+      "lossTime": 2038,
+      "lossMultiplier": 65536,
+      "linkCost": 0.099609,
+      "linkQuality": 1.000000,
+      "neighborLinkQuality": 1.000000
+    },
+    {
+      "localIP": "10.31.175.220",
+      "remoteIP": "10.31.175.181",
+      "olsrInterface": "wlan0",
+      "ifName": "wlan0",
+      "validityTime": 31930,
+      "symmetryTime": 12570,
+      "asymmetryTime": 284602,
+      "vtime": 20000,
+      "currentLinkStatus": "SYMMETRIC",
+      "previousLinkStatus": "SYMMETRIC",
+      "hysteresis": 0.000000,
+      "pending": false,
+      "lostLinkTime": 0,
+      "helloTime": 0,
+      "lastHelloTime": 0,
+      "seqnoValid": false,
+      "seqno": 0,
+      "lossHelloInterval": 2000,
+      "lossTime": 1596,
+      "lossMultiplier": 65536,
+      "linkCost": 0.099609,
+      "linkQuality": 0.294000,
+      "neighborLinkQuality": 0.000000
+    },
+    {
+      "localIP": "10.31.175.220",
+      "remoteIP": "10.31.175.189",
+      "olsrInterface": "wlan0",
+      "ifName": "wlan0",
+      "validityTime": 5850,
+      "symmetryTime": 0,
+      "asymmetryTime": 278671,
+      "vtime": 20000,
+      "currentLinkStatus": "ASYMMETRIC",
+      "previousLinkStatus": "UNSPECIFIED",
+      "hysteresis": 0.000000,
+      "pending": false,
+      "lostLinkTime": 0,
+      "helloTime": 0,
+      "lastHelloTime": 0,
+      "seqnoValid": false,
+      "seqno": 0,
+      "lossHelloInterval": 2000,
+      "lossTime": 1696,
+      "lossMultiplier": 65536,
+      "linkCost": 0.099609,
+      "linkQuality": 0.000000,
+      "neighborLinkQuality": 0.000000
+    }
+  ],
+  "routes": [
+    {
+      "destination": "10.175.221.0",
+      "genmask": 24,
+      "gateway": "10.31.175.221",
+      "metric": 1,
+      "etx": 1.000000,
+      "rtpMetricCost": 1.000000,
+      "networkInterface": "wlan0"
+    },
+    {
+      "destination": "10.175.222.0",
+      "genmask": 24,
+      "gateway": "10.31.175.222",
+      "metric": 1,
+      "etx": 1.000000,
+      "rtpMetricCost": 1.000000,
+      "networkInterface": "wlan0"
+    },
+    {
+      "destination": "10.29.175.221",
+      "genmask": 32,
+      "gateway": "10.31.175.221",
+      "metric": 1,
+      "etx": 1.000000,
+      "rtpMetricCost": 1.000000,
+      "networkInterface": "wlan0"
+    },
+    {
+      "destination": "10.29.175.222",
+      "genmask": 32,
+      "gateway": "10.31.175.222",
+      "metric": 1,
+      "etx": 1.000000,
+      "rtpMetricCost": 1.000000,
+      "networkInterface": "wlan0"
+    },
+    {
+      "destination": "10.31.175.221",
+      "genmask": 32,
+      "gateway": "10.31.175.221",
+      "metric": 1,
+      "etx": 1.000000,
+      "rtpMetricCost": 1.000000,
+      "networkInterface": "wlan0"
+    },
+    {
+      "destination": "10.31.175.222",
+      "genmask": 32,
+      "gateway": "10.31.175.222",
+      "metric": 1,
+      "etx": 1.000000,
+      "rtpMetricCost": 1.000000,
+      "networkInterface": "wlan0"
+    }
+  ],
+  "hna": [
+    {
+      "gateway": "10.31.175.220",
+      "destination": "0.0.0.0",
+      "genmask": 0,
+      "validityTime": 0
+    },
+    {
+      "gateway": "10.31.175.220",
+      "destination": "10.175.220.0",
+      "genmask": 24,
+      "validityTime": 0
+    },
+    {
+      "gateway": "10.31.175.221",
+      "destination": "10.175.221.0",
+      "genmask": 24,
+      "validityTime": 14293
+    },
+    {
+      "gateway": "10.31.175.222",
+      "destination": "10.175.222.0",
+      "genmask": 24,
+      "validityTime": 9664
+    },
+    {
+      "gateway": "10.31.175.161",
+      "destination": "10.175.161.0",
+      "genmask": 24,
+      "validityTime": 250713
+    }
+  ],
+  "mid": [
+    {
+      "main": {
+        "ipAddress": "10.31.175.221",
+        "validityTime": 49294
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.221",
+          "validityTime": 49294
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.101",
+        "validityTime": 33678
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.101",
+          "validityTime": 33678
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.250",
+        "validityTime": 32816
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.250",
+          "validityTime": 32816
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.28",
+        "validityTime": 38400
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.28",
+          "validityTime": 38400
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.253",
+        "validityTime": 33678
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.253",
+          "validityTime": 33678
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.102",
+        "validityTime": 33678
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.102",
+          "validityTime": 33678
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.22",
+        "validityTime": 22881
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.22",
+          "validityTime": 22881
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.181",
+        "validityTime": 32816
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.181",
+          "validityTime": 32816
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.222",
+        "validityTime": 46983
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.222",
+          "validityTime": 46983
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.165",
+        "validityTime": 38400
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.165",
+          "validityTime": 38400
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.51",
+        "validityTime": 38400
+      },
+      "aliases": [
+        {
+          "ipAddress": "10.29.175.51",
+          "validityTime": 38400
+        }
+      ]
+    },
+    {
+      "main": {
+        "ipAddress": "10.31.175.25",
+        "validityTime": 38400
+      },
+      "aliases": [
+    &n