Introduction
In the following we are going to set up a Sonatype Nexus server which will provide p2 repositories. Besides proxying an existing p2 repository the Nexus server will host its own. For this purpose we will create a p2 repository from simple Maven dependencies using Tycho. As dependencies we take the libs from earlier Logging HowTo to cover a real use case. In the end a simple mvn deploy will get everything done.
Prerequesites
Introduction
In the following we are going to modify the Eclipse 4 sample application by adding logging. As logging backend we will use Pax Logging. We will take care of the configuration with a combination of Apache Felix File Install and Apache Felix Config Admin. In the end our sample application will support multiple logging APIs like Log4J, JCL or SLF4j (check Pax Logging for a full feature list) and can be simply configured via a log4j.properties file which can be modified during runtime and placed outside the bundle anywhere on the machine.
Prerequisites
- Eclipse 4.x with installed e4 Tools
Note: If you need any help installing Eclipse or e4 Tools, I strongly recommend reading Lars Vogel's great Eclipse RCP tutorial.