Skip to content

Commit

Permalink
tycho build for logback-feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ceki committed Jul 6, 2012
1 parent c047b70 commit ec5034e
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 20 deletions.
18 changes: 9 additions & 9 deletions ch.qos.logback.beagle.feature/feature.xml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="ch.qos.logback.beagle.feature"
label="Logback Beagle Feature"
id="ch.qos.logback.beagle.feature"
label="Logback Beagle Feature"
version="1.0.0.qualifier"
provider-name="http://logback.qos.ch">

<description url="http://logback.qos.ch/consolePlugin.html">
During the development process, it is common for developers to print log output on the console. Typically, the developer will also customize the format of the log output by setting properties of a PatternLayout instance. Logback Beagle serves the same purpose as the regular console, but offers several advantages over the plain-old console. Below is a list of key advantages of our plugin:

- event of level WARN and ERROR are colored in orange and respectively in red,
- go to the java class and line where any given logging request was issued by double-clicking on its output line,
- filter events with logback&apos;s powerful filtering mechanism without changing your logging configuration,
- change the output format dynamically whenever you chose to do so,
During the development process, it is common for developers to print log output on the console. Typically, the developer will also customize the format of the log output by setting properties of a PatternLayout instance. Logback Beagle serves the same purpose as the regular console, but offers several advantages over the plain-old console. Below is a list of key advantages of our plugin:

- event of level WARN and ERROR are colored in orange and respectively in red,
- go to the java class and line where any given logging request was issued by double-clicking on its output line,
- filter events with logback&apos;s powerful filtering mechanism without changing your logging configuration,
- change the output format dynamically whenever you chose to do so,
- easy configuration (only one line in your logback.xml file).
</description>

Expand All @@ -34,4 +34,4 @@
version="0.0.0"
unpack="false"/>

</feature>
</feature>
Expand Down
20 changes: 11 additions & 9 deletions p2-repository/ch.qos.logback.feature/feature.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="ch.qos.logback.feature"
label="Logback Feature"
version="1.0.6">
version="1.0.6.qualifier">

<description url="http://www.example.com/description">
[Enter Feature Description here.]
Expand All @@ -20,29 +20,31 @@
<update label="Logback Update Site" url="http://logback.qos.ch/eclipse"/>
</url>

<includes
<!--
<includes
id="org.slf4j.feature"
version="0.0.0"/>

-->
<plugin
id="ch.qos.logback.access"
id="ch.qos.logback.core"
download-size="0"
install-size="0"
version="1.0.6"
version="0.0.0"
unpack="false"/>

<!--
<plugin
id="ch.qos.logback.classic"
id="ch.qos.logback.logback-classic"
download-size="0"
install-size="0"
version="1.0.6"
version="0.0.0"
unpack="false"/>
<plugin
id="ch.qos.logback.core"
id="ch.qos.logback.-access"
download-size="0"
install-size="0"
version="1.0.6"
unpack="false"/>

-->
</feature>
20 changes: 20 additions & 0 deletions p2-repository/ch.qos.logback.feature/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>


<parent>
<groupId>ch.qos.logback.eclipse</groupId>
<artifactId>parent</artifactId>
<version>1.0.6-SNAPSHOT</version>
</parent>

<groupId>ch.qos.logback.eclipse</groupId>
<artifactId>ch.qos.logback.feature</artifactId>
<packaging>eclipse-feature</packaging>


</project>



8 changes: 6 additions & 2 deletions p2-repository/ch.qos.logback.repository/category.xml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/ch.qos.logback.feature_1.0.6.jar" id="ch.qos.logback.feature" version="1.0.6">

<feature url="features/ch.qos.logback.feature_1.0.6.qualifier.jar" id="ch.qos.logback.feature" version="0.0.0">
<category name="Logback"/>
</feature>
<feature url="features/org.slf4j.feature_1.6.6.jar" id="org.slf4j.feature" version="1.6.6">

<!-- <feature url="features/org.slf4j.feature_1.6.6.jar" id="org.slf4j.feature" version="1.6.6">
<category name="SLF4J"/>
</feature>
-->

<category-def name="Logback" label="Logback"/>
<category-def name="SLF4J" label="SLF4J"/>
</site>
14 changes: 14 additions & 0 deletions p2-repository/ch.qos.logback.repository/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>ch.qos.logback.eclipse</groupId>
<artifactId>parent</artifactId>
<version>1.0.6-SNAPSHOT</version>
</parent>

<artifactId>ch.qos.logback.repository</artifactId>
<packaging>eclipse-repository</packaging>

</project>
68 changes: 68 additions & 0 deletions p2-repository/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>



<groupId>ch.qos.logback.eclipse</groupId>
<artifactId>parent</artifactId>
<version>1.0.6-SNAPSHOT</version>
<packaging>pom</packaging>

<properties>
<logback.version>1.0.6</logback.version>
<tycho-version>0.15.0</tycho-version>
</properties>

<modules>
<module>ch.qos.logback.feature</module>
<module>ch.qos.logback.repository</module>
</modules>

<dependencies>
<!-- The artifact is an OSGi bundle not built by Tycho. -->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>

<!--
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-access</artifactId>
<version>${logback.version}</version>
</dependency>
-->
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<pomDependencies>consider</pomDependencies>
</configuration>
</plugin>
</plugins>
</build>

</project>



0 comments on commit ec5034e

Please sign in to comment.