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

  • SEARCH
  • Home
  • 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 8113829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:57:25+00:00 2026-06-06T02:57:25+00:00

Goal I am building an Eclipse plugin targeting the 3.7 environment and would like

  • 0

Goal

I am building an Eclipse plugin targeting the 3.7 environment and would like to include an aspect in the plugin that provides advice on code that is also in the plugin.

Setup

I have been trying to follow along with the spirit of these guidelines as best I can considering the apparent differences between 3.4 and 3.7: http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php

Here is what I have so far:

  1. A plugin project with the aspect and some source.
  2. The plugin project has been converted to an AspectJ project, which triggered Eclipse to automatically add org.aspectj.runtime (1.6.12) to the plugin’s dependencies.
  3. I checked “Reexport this dependency” on the org.aspectj.runtime dependency in my plugin configuration.
  4. I defined the aspect in an aop.xml in my META-INF directory.
  5. My MANIFEST.MF has an Export-Package entry on the package that the aspect is in.
  6. My run configuration includes the following plugins and start levels:
    • org.eclipse.equinox.weaving.aspectj (start level of 1)
    • org.eclipse.equinox.weaving.hook (start level of default which is 4)
    • org.aspectj.runtime (start level of 1)
    • org.aspectj.weaver (start level of 1)

Current results

I see lines in the console that look like this, but it appears that this processing occurs the first time each class is classloaded.

[com.my.traceeditor] info processing reweavable type com.my.util.ByteUtil: com\my\util\ByteUtil.java

No advice is being applied. Is it possible the weaver isn’t weaving early enough? What to do?

  • 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-06-06T02:57:28+00:00Added an answer on June 6, 2026 at 2:57 am

    When you are writing an aspect that is only to be applied in the same bundle, then you don’t need equinox weaving. That is only for cross-bundle weaving. You can remove the dependency on the weaving plugins as long as you make sure that your bundle is using compile-time weaving.

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

Sidebar

Related Questions

I'm building and Android app that needs to go through steps like a wizard.
I building a simple, 7 page, database driven, website, and I would like to
I am building my own panels, but would really like to be able to
Alright so i am building a daily sales goal that is based on last
I'm building a Wordpress site using Sencha Touch. I've created a plugin that converts
Goal: I'm trying to refresh content inside a div so that if the user
Goal: json_encode a PHP object that has private properties Send the encoded object as
I'm using a maven plugin that defines a custom packaging type and lifecycle for
When building an ASP.NET MVC application with a goal of high availability, is it
I'm building a web app that uses a lot of CSS3 and session storage.

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.