Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5958265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:31:06+00:00 2026-05-22T18:31:06+00:00

I created an Eclipse RCP Hello World-Plugin, it’s running and showing me the main

  • 0

I created an Eclipse RCP “Hello World”-Plugin, it’s running and showing me the main window, then I created a second plugin called “logging” with the logback libraries and added this logging-plugin as a dependency to the main plugin.

The main plugin now knows the logger-classes, and I can use them, but how do I reach the “logback.xml”-file from the main plugin? This file is stored in the “resources”-folder in the logging-plugin.

-mainplugin   <---knows logging classes, but not reaching logback.xml
-logging
|-libs 
|-resources
  |-logback.xml    
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T18:31:06+00:00Added an answer on May 22, 2026 at 6:31 pm

    logback.xml is a configuration file for your logging, the one where you set log level ect. … right? In this case it belongs to the mainplugin, not to the logging plugin (which would only expose the methods of the jar file in the libs folder).

    Like this:

    -mainplugin
    |-resources
      |-logback.xml
    -logging
    |-libs 
    

    In order to work you would have to set buddy policies in your plugins and lockback.xml have to be in the classpath (!). This is required to allow the logging plugin to find the lockback.xml inside your plugin without to have a direct dependency.

    in the MANIFEST.MF of the logging plugin you would have to add:

    Eclipse-BuddyPolicy: registered
    

    In the MANIFEST.MF of your mainplugin you would have to add:

    Eclipse-RegisterBuddy: org.logplugin.id
    

    with org.logplugin.id being the id of your logging plugin.

    For more information: http://www.eclipsezone.com/articles/eclipse-vms/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a minimal RCP project with the Hello World example. I have
I've started a very basic Eclipse (Helios) RCP application with the Hello RCP template.
created an Eclipse plugin that contributes to the UI by a new project wizard
I'm trying to combine Eclipse RCP with RMI. For that purpose I created six
I use Eclipse with external projects - i.e. projects created from existing source. Poking
While running through the cheat sheet create a navigation rule for the Eclipse JavaServer
The Jobs API in Eclipse RCP apparently works much differently than I expected. I
I have an Eclipse RCP application that will launch properly after a clean install
I have an Eclipse RCP project that's targeted to Eclipse 3.4. Now that 3.5
Hey guys. We're using OSGi services in an Eclipse RCP application. To track them,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.