Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Waibel2014-11-18 10:15:57 -0500
committerFlorian Waibel2014-11-18 10:15:57 -0500
commit24d27f8bed9b504a313d705e181980366550d054 (patch)
treed3c5c0285909730217365d30c4c0448eb4db4f24
parent802d6c4d096d221cbdef30fdcfa4aa482583c917 (diff)
downloadorg.eclipse.virgo.medic-24d27f8bed9b504a313d705e181980366550d054.tar.gz
org.eclipse.virgo.medic-24d27f8bed9b504a313d705e181980366550d054.tar.xz
org.eclipse.virgo.medic-24d27f8bed9b504a313d705e181980366550d054.zip
Adds logbook fragments to Gradle build
-rw-r--r--org.eclipse.virgo.medic.logbackclassicfragment/build.gradle14
-rw-r--r--org.eclipse.virgo.medic.logbackclassicfragment/build.xml9
-rw-r--r--org.eclipse.virgo.medic.logbackclassicfragment/ivy.xml19
-rw-r--r--org.eclipse.virgo.medic.logbackclassicfragment/src/main/java/org/eclipse/virgo/medic/logbackclassicfragment/SatisfyGradleBuild.java6
-rw-r--r--org.eclipse.virgo.medic.logbackclassicfragment/template.mf8
-rw-r--r--org.eclipse.virgo.medic.logbackcorefragment/build.gradle14
-rw-r--r--org.eclipse.virgo.medic.logbackcorefragment/build.xml9
-rw-r--r--org.eclipse.virgo.medic.logbackcorefragment/ivy.xml19
-rw-r--r--org.eclipse.virgo.medic.logbackcorefragment/src/main/java/org/eclipse/virgo/medic/logbackcorefragment/SatisfyGradleBuild.java6
-rw-r--r--org.eclipse.virgo.medic.logbackcorefragment/template.mf8
10 files changed, 40 insertions, 72 deletions
diff --git a/org.eclipse.virgo.medic.logbackclassicfragment/build.gradle b/org.eclipse.virgo.medic.logbackclassicfragment/build.gradle
new file mode 100644
index 0000000..587d06a
--- /dev/null
+++ b/org.eclipse.virgo.medic.logbackclassicfragment/build.gradle
@@ -0,0 +1,14 @@
+apply plugin: 'osgi'
+
+jar {
+ manifest {
+ version = project.version
+ name = 'Medic Logback Core Fragment'
+ instruction 'Import-Package', 'org.eclipse.virgo.medic.log.logback'
+ instruction 'Export-Package', '*'
+ attributes( 'Bundle-SymbolicName': 'org.eclipse.virgo.medic.logbackclassicfragment')
+ attributes( 'Built-By': "Gradle ${gradle.gradleVersion}" )
+// Fragment-Host: ch.qos.logback.classic;bundle-version="${ch.qos.logback.classic:[=.=.=, +1.0.0)}"
+ attributes( 'Fragment-Host': "ch.qos.logback.classic" )
+ }
+}
diff --git a/org.eclipse.virgo.medic.logbackclassicfragment/build.xml b/org.eclipse.virgo.medic.logbackclassicfragment/build.xml
deleted file mode 100644
index 0d7bf93..0000000
--- a/org.eclipse.virgo.medic.logbackclassicfragment/build.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="org.eclipse.virgo.medic.logbackclassicfragment">
-
- <property file="${basedir}/../build.properties" />
- <property file="${basedir}/../build.versions" />
-
- <import file="${basedir}/../virgo-build/standard/default.xml" />
-
-</project>
diff --git a/org.eclipse.virgo.medic.logbackclassicfragment/ivy.xml b/org.eclipse.virgo.medic.logbackclassicfragment/ivy.xml
deleted file mode 100644
index 4fdc958..0000000
--- a/org.eclipse.virgo.medic.logbackclassicfragment/ivy.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?>
-<ivy-module
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd"
- version="1.3">
-
- <info organisation="${project.organisation}" module="${ant.project.name}" />
-
- <configurations>
- <include file="${virgo.build.dir}/common/default-ivy-configurations.xml"/>
- </configurations>
-
- <publications>
- <artifact name="${ant.project.name}"/>
- <artifact name="${ant.project.name}-sources" type="src" ext="jar"/>
- </publications>
-
-</ivy-module>
diff --git a/org.eclipse.virgo.medic.logbackclassicfragment/src/main/java/org/eclipse/virgo/medic/logbackclassicfragment/SatisfyGradleBuild.java b/org.eclipse.virgo.medic.logbackclassicfragment/src/main/java/org/eclipse/virgo/medic/logbackclassicfragment/SatisfyGradleBuild.java
new file mode 100644
index 0000000..c46cba9
--- /dev/null
+++ b/org.eclipse.virgo.medic.logbackclassicfragment/src/main/java/org/eclipse/virgo/medic/logbackclassicfragment/SatisfyGradleBuild.java
@@ -0,0 +1,6 @@
+package org.eclipse.virgo.medic.logbackclassicfragment;
+
+
+public class SatisfyGradleBuild {
+
+}
diff --git a/org.eclipse.virgo.medic.logbackclassicfragment/template.mf b/org.eclipse.virgo.medic.logbackclassicfragment/template.mf
deleted file mode 100644
index 61fdad9..0000000
--- a/org.eclipse.virgo.medic.logbackclassicfragment/template.mf
+++ /dev/null
@@ -1,8 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-SymbolicName: org.eclipse.virgo.medic.logbackclassicfragment
-Bundle-Name: Medic Logback Core Fragment
-Bundle-Version: ${version}
-Fragment-Host: ch.qos.logback.classic;bundle-version="${ch.qos.logback.classic:[=.=.=, +1.0.0)}"
-Import-Package:
- org.eclipse.virgo.medic.log.logback;version="${version:[=.=.=, =.+1)}"
diff --git a/org.eclipse.virgo.medic.logbackcorefragment/build.gradle b/org.eclipse.virgo.medic.logbackcorefragment/build.gradle
new file mode 100644
index 0000000..4686e2a
--- /dev/null
+++ b/org.eclipse.virgo.medic.logbackcorefragment/build.gradle
@@ -0,0 +1,14 @@
+apply plugin: 'osgi'
+
+jar {
+ manifest {
+ version = project.version
+ name = 'Medic Logback Core Fragment'
+ instruction 'Import-Package', 'org.eclipse.virgo.medic.log.logback'
+ instruction 'Export-Package', '*'
+ attributes( 'Bundle-SymbolicName': 'org.eclipse.virgo.medic.logbackcorefragment')
+ attributes( 'Built-By': "Gradle ${gradle.gradleVersion}" )
+// Fragment-Host: ch.qos.logback.core;bundle-version="${ch.qos.logback.core:[=.=.=, +1.0.0)}"
+ attributes( 'Fragment-Host': "ch.qos.logback.core" )
+ }
+}
diff --git a/org.eclipse.virgo.medic.logbackcorefragment/build.xml b/org.eclipse.virgo.medic.logbackcorefragment/build.xml
deleted file mode 100644
index 3a1d331..0000000
--- a/org.eclipse.virgo.medic.logbackcorefragment/build.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="org.eclipse.virgo.medic.logbackcorefragment">
-
- <property file="${basedir}/../build.properties" />
- <property file="${basedir}/../build.versions" />
-
- <import file="${basedir}/../virgo-build/standard/default.xml" />
-
-</project>
diff --git a/org.eclipse.virgo.medic.logbackcorefragment/ivy.xml b/org.eclipse.virgo.medic.logbackcorefragment/ivy.xml
deleted file mode 100644
index 4fdc958..0000000
--- a/org.eclipse.virgo.medic.logbackcorefragment/ivy.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?>
-<ivy-module
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd"
- version="1.3">
-
- <info organisation="${project.organisation}" module="${ant.project.name}" />
-
- <configurations>
- <include file="${virgo.build.dir}/common/default-ivy-configurations.xml"/>
- </configurations>
-
- <publications>
- <artifact name="${ant.project.name}"/>
- <artifact name="${ant.project.name}-sources" type="src" ext="jar"/>
- </publications>
-
-</ivy-module>
diff --git a/org.eclipse.virgo.medic.logbackcorefragment/src/main/java/org/eclipse/virgo/medic/logbackcorefragment/SatisfyGradleBuild.java b/org.eclipse.virgo.medic.logbackcorefragment/src/main/java/org/eclipse/virgo/medic/logbackcorefragment/SatisfyGradleBuild.java
new file mode 100644
index 0000000..fd9ea08
--- /dev/null
+++ b/org.eclipse.virgo.medic.logbackcorefragment/src/main/java/org/eclipse/virgo/medic/logbackcorefragment/SatisfyGradleBuild.java
@@ -0,0 +1,6 @@
+package org.eclipse.virgo.medic.logbackcorefragment;
+
+
+public class SatisfyGradleBuild {
+
+}
diff --git a/org.eclipse.virgo.medic.logbackcorefragment/template.mf b/org.eclipse.virgo.medic.logbackcorefragment/template.mf
deleted file mode 100644
index 3769003..0000000
--- a/org.eclipse.virgo.medic.logbackcorefragment/template.mf
+++ /dev/null
@@ -1,8 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-SymbolicName: org.eclipse.virgo.medic.logbackcorefragment
-Bundle-Name: Medic Logback Core Fragment
-Bundle-Version: ${version}
-Fragment-Host: ch.qos.logback.core;bundle-version="${ch.qos.logback.core:[=.=.=, +1.0.0)}"
-Import-Package:
- org.eclipse.virgo.medic.log.logback;version="${version:[=.=.=, =.+1)}"

Back to the top