[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[aspectj-dev] RCP Application working through eclipse but not as an exported application
|
- From: Mikkel Andersen <mikkel.t.andersen@xxxxxxxxx>
- Date: Thu, 26 Nov 2009 20:41:42 +0100
- Delivered-to: aspectj-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type; bh=W1tcoD9wABFop1V99WusU/4fxV+mWFaiF3asUjBAsXM=; b=EIJ3lCUC25cz+7t85yHhdhPvE7KdiqjiiRzM0CUD6/Yt89B+PvrcSgYCDYTAMqtOAL 7jt+aNjBYLR2CYZNpO0YChz4u/XFUDYujOEjzyfOlFgrsnjptTT7G7BnDzA4UTrpYrf2 g0r7o+6G8G0Toh48BXLMbHzkUeOY5mnQQtJ5Y=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=WMtunzRtdD5dwY3nLVX9ThIa7ALObXh+w1qIEAZ3rvft7jun129uRccMCRnaAQYRAj 84OalJplA6uiAx8I6XNA/jnCFFMNL7tGRi2UTADcte48HmI86xAFUYWeS0KYP3xzct83 Udbp8SnC+ihL5Zt/zsfqgvdxQUN4/Iy6OvLSU=
I followed this example http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php
and created my own RCP app with a bundle that need weaving, and a bundle that weaves the aspect in, through LTW.
This all works when running inside eclipse, but when I export the product it does not work.
Here is the info I get when running inside eclipse
[org.eclipse.equinox.weaving.hook] info adding AspectJ hooks ...
[org.eclipse.equinox.weaving.aspectj] info Starting AspectJ weaving service ...
[org.plugination.clubadmin.ui] info AspectJ Weaver Version 1.6.6 built on Wednesday Sep 30, 2009 at 18:55:14 GMT
[org.plugination.clubadmin.ui] info register aspect org.plugination.clubadmin.ui.aspects.PropertyChangeSupportAspect
[org.eclipse.equinox.weaving.aspectj] info weaving bundle 'org.plugination.clubadmin.ui'
[org.plugination.clubadmin.core] info AspectJ Weaver Version 1.6.6 built on Wednesday Sep 30, 2009 at 18:55:14 GMT
[org.plugination.clubadmin.core] info register aspect org.plugination.clubadmin.ui.aspects.PropertyChangeSupportAspect
[org.eclipse.equinox.weaving.aspectj] info weaving bundle 'org.plugination.clubadmin.core'
....
And here is it when I run outside eclipse
[org.eclipse.equinox.weaving.hook] info adding AspectJ hooks ...
[org.aspectj.osgi.service.weaving] info Starting AspectJ weaving service ...
and nothing else...
This is the config.ini I use
osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.equinox.weaving.aspectj@4:start,org.eclipse.core.runtime@start
osgi.framework.extensions=org.eclipse.equinox.weaving.hook
aj.weaving.verbose=true
org.aspectj.weaver.showWeaveInfo=true
osgi.clean=true
org.aspectj.osgi.verbose=true
eclipse.product=org.plugination.clubadmin.ui.product
Any help is appriciated I am kindof lost right now... I am using the 1.6.6 version with eclipse 3.5