Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OSGi workspace + simple BackendApp
- Loading branch information
1 parent
e623c2b
commit 69d5e97
Showing
30 changed files
with
643 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Text files with LF eol | ||
*.auth crlf=input | ||
*.awk crlf=input | ||
*.bnd crlf=input | ||
*.bndrun crlf=input | ||
*.c crlf=input ident | ||
*.conf crlf=input | ||
*.cpp crlf=input ident | ||
*.css crlf=input | ||
*.ddf crlf=input | ||
*.ee crlf=input | ||
*.gradle crlf=input | ||
*.groovy crlf=input | ||
*.h crlf=input ident | ||
*.html crlf=input ident | ||
*.java crlf=input ident | ||
*.js crlf=input | ||
*.lib crlf=input | ||
*.md crlf=input | ||
*.MF crlf=input | ||
*.mf crlf=input | ||
*.perm crlf=input | ||
*.php crlf=input | ||
*.pl crlf=input | ||
*.pom crlf=input | ||
*.prefs crlf=input | ||
*.properties crlf=input | ||
*.py crlf=input | ||
*.schema crlf=input | ||
*.SF crlf=input | ||
*.sh crlf=input | ||
*.tcl crlf=input | ||
*.txt crlf=input | ||
*.xml crlf=input | ||
*.xsd crlf=input ident | ||
*.xsl crlf=input | ||
*.xslt crlf=input | ||
*.yml crlf=input | ||
.classpath crlf=input | ||
.project crlf=input | ||
gradlew crlf=input | ||
packageinfo crlf=input | ||
Makefile crlf=input | ||
README crlf=input | ||
LICENSE crlf=input | ||
|
||
# No EOL translation | ||
*.bat -crlf | ||
|
||
# Binary. No EOL translation, no diff | ||
*.ico binary | ||
*.jpeg binary | ||
*.jpg binary | ||
*.png binary | ||
*.crt binary | ||
*.pdf binary | ||
*.dll binary | ||
*.jar binary | ||
*.jnilib binary | ||
*.so binary | ||
*.zip binary | ||
*.doc binary | ||
*.ppt binary | ||
*.xls binary | ||
*.odg binary | ||
*.odp binary | ||
*.ods binary | ||
*.odt binary | ||
*.otg binary | ||
*.otp binary | ||
*.ots binary | ||
*.ott binary | ||
*.key binary | ||
*.numbers binary | ||
*.pages binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.DS_Store | ||
.gradle/ | ||
/generated/ | ||
enroute.zip | ||
.metadata |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
sudo: false | ||
|
||
language: java | ||
|
||
jdk: | ||
- oraclejdk8 | ||
|
||
install: ./gradlew --version | ||
|
||
script: ./gradlew --continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// Available to customize the build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/generated/ | ||
/bin/ | ||
/cache/ | ||
local/index.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>cnf</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
</buildSpec> | ||
<natures> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# | ||
# This file is left open for you to define your macros | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>local</groupId> | ||
<artifactId>central</artifactId> | ||
<version>0.0.0</version> | ||
|
||
<packaging>pom</packaging> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.felix</groupId> | ||
<artifactId>org.apache.felix.gogo.shell</artifactId> | ||
<version>1.0.0</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# | ||
# OSGi enRoute Default Distro | ||
# | ||
# This file defines the properties to be used in an enRoute workspace. | ||
# | ||
|
||
-runfw: org.eclipse.osgi | ||
|
||
-plugin.9x.enroute.distro = \ | ||
aQute.bnd.repository.maven.pom.provider.BndPomRepository; \ | ||
snapshotUrls=https://oss.sonatype.org/content/groups/osgi; \ | ||
releaseUrls=https://repo1.maven.org/maven2/; \ | ||
revision=org.osgi:osgi.enroute.pom.distro:2.1.0-SNAPSHOT; \ | ||
name=Distro; \ | ||
location=${build}/cache/enroute-distro.xml | ||
|
||
-runblacklist.enroute: \ | ||
osgi.identity;filter:='(osgi.identity=osgi.enroute.base.api)', \ | ||
osgi.identity;filter:='(osgi.identity=osgi.cmpn)', \ | ||
osgi.identity;filter:='(osgi.identity=osgi.core)', \ | ||
osgi.identity;filter:='(osgi.identity=biz.aQute.junit)', \ | ||
osgi.identity;filter:='(osgi.identity=biz.aQute.launcher)', \ | ||
osgi.identity;filter:='(osgi.identity=biz.aQute.remote.launcher)' | ||
|
||
|
||
# TODO check if still needed | ||
|
||
-runproperties.eqnx: \ | ||
org.apache.felix.http.jettyEnabled=true, \ | ||
org.apache.felix.http.whiteboardEnabled=true,\ | ||
osgi.console=, \ | ||
osgi.console.enable.builtin=false | ||
|
||
-runpath.eqnx: osgi.enroute.equinox.log.adapter | ||
-runrequires.eqnx: \ | ||
osgi.identity;filter:='(osgi.identity=org.apache.felix.log)' | ||
|
||
|
||
-runsystempackages.eqnx: javax.script | ||
-runsystemcapabilities.dflt: ${native_capability} | ||
|
||
debug-bundles: \ | ||
osgi.identity;filter:='(osgi.identity=osgi.enroute.webconsole.xray.provider)',\ | ||
osgi.implementation;filter:='(osgi.implementation=osgi.metatype)',\ | ||
osgi.implementation;filter:='(osgi.implementation=osgi.log)',\ | ||
osgi.implementation;filter:='(osgi.implementation=osgi.event)',\ | ||
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.command)',\ | ||
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.shell)', \ | ||
osgi.identity;filter:='(osgi.identity=osgi.enroute.base.debug.provider)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# -ENROUTE- | ||
# | ||
# This file contains the setup for OSGi enRoute | ||
# | ||
|
||
|
||
javac.source: 1.8 | ||
javac.target: 1.8 | ||
-runee: JavaSE-1.8 | ||
|
||
Service-Component: * | ||
-dsannotations: * | ||
-metatypeannotations: * | ||
-contract: * | ||
|
||
|
||
test-cases: ${classes;NAMED;*Test} | ||
-resolve.effective: resolve, active | ||
-releaserepo: Release | ||
|
||
-plugin.4.Central: \ | ||
aQute.bnd.repository.maven.pom.provider.BndPomRepository; \ | ||
snapshotUrls=https://oss.sonatype.org/content/groups/osgi; \ | ||
releaseUrls=https://repo1.maven.org/maven2/; \ | ||
pom=${build}/central.xml; \ | ||
name=Central; \ | ||
location=${build}/cache/enroute-central.xml | ||
|
||
-plugin.6.Local: \ | ||
aQute.bnd.deployer.repository.LocalIndexedRepo; \ | ||
name = Local ; \ | ||
pretty = true ; \ | ||
local = ${build}/local | ||
|
||
|
||
|
||
-plugin.9.Release: \ | ||
\ | ||
aQute.bnd.deployer.repository.LocalIndexedRepo; \ | ||
name = Release ; \ | ||
pretty = true ; \ | ||
local = ${build}/release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
b699f269b1871b7ef42e54b5ceb7529989f9474ffa4217c696e5ad333ac8936c |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bnd_version=3.4.0 |
Oops, something went wrong.