[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[ajdt-dev] Launching eclipse application
|
- From: Romain <romain.reuillon@xxxxxxxxx>
- Date: Mon, 02 Nov 2009 15:47:41 +0100
- Delivered-to: ajdt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:from:reply-to :to:cc:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=cM2NqCGxysX6mo7/HavCQQbvuupcsHuW6EbVCqYMQwE=; b=pMoUQY/Odf8LnQ2eYvBOxvvMiaU05PVfYfhIL8L96bDg/zJtuR5V59YUOzhinvmGxU Omf4TiP7zovoqTJXPi5EqlHj4O1MV6Cs7LopgKas8GxGaW/WGeHP/gYc0oaDbfpSoimm 7lUK3FnDl2ZWNkX4EErjGv9SaGytylO4kgXlA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:from:reply-to:to:cc:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=eHme32tCmHsYaLc9idwcjNW9BqnC9K7p8jHg1Xx1wMv++L6Ac4ZP+py3lGr3KV8OIl ZGF/U3i6NybAukh4hXggmeYSR2rX9rFgBH/YdBQhfXaAA/pY/Y5AdAHRd2L0OUlrGWwN 8pRr84Lok6ZcxJ9KVKr6yL4xNXtPX1pRuV1a8=
Hi all,
we are trying to launch an eclipse application containing aspects. When
we launch it using the native launcher everything is fine and the aspect
is taken into account:
--------------------------------------------------------------
reuillon@polux:~/tmp/testAspect/eclipse$ ./eclipse
[org.aspectj.osgi.service.caching] Created and registered
SingletonCachingService.
Application started.
Hello from AspectJ
Method call.
[org.aspectj.osgi.service.caching] Shut down and unregistered
SingletonCachingService.
reuillon@polux:~/tmp/testAspect/eclipse$
--------------------------------------------------------------
But when we bypass the native launcher the aspect is not used:
--------------------------------------------------------------
reuillon@polux:~/tmp/testAspect/eclipse$ java -jar
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs
-Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
[org.aspectj.osgi.service.caching] Created and registered
SingletonCachingService.
Application started.
Method call.
[org.aspectj.osgi.service.caching] Shut down and unregistered
SingletonCachingService.
reuillon@polux:~/tmp/testAspect/eclipse$
--------------------------------------------------------------
Do you have any idea how we may bypass the native launcher and make the
aspects work ?
Cheers,
Romain