[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [ajdt-dev] Launching eclipse application
|
- From: Andrew Eisenberg <andrew@xxxxxxxxxxxx>
- Date: Mon, 2 Nov 2009 09:24:03 -0700
- Delivered-to: ajdt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=4b2rzo4fQ5vAC3VtVDIZl2zvQ4rw8YqOLOctubR+FFg=; b=cLQxDnEgR3lrHi3fP+UUVMnAzKdknDvrudAmh2rZ6vP2SnW2CIV2Z5cNcp3DHCg02S A+U4dHN5QmkXvHnU7xDjvXa/R0Da52nYQ0JeGuv84SOcfZalu2LIAhTxTuZdJp2dtIaq 7MeYzD+nRUrOTSqgQBHUZKkpERRftbsw2de2I=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=Q4TEPBZXDfWGgicStPUstI0rExfQvXfLgx1NOJAGHT/he95AjaqpcyuyGrCU8u2QkC x8Xs18BSZhdbDAZr9XZRziG4v8J9VhIh8rhO134g2HIM+EaoFG85yR2zw2GfmLnBci66 zlTlKUV/DvytRsh7zck40+WWA4/0cYHFXWUyQ=
My guess is that the start level of 2 for
org.eclipse.equinox.weaving.aspectj is not being recognized. Is the
start level explicit in the config.ini?
You can confirm this by starting eclipse in console mode (use the
-console command line argument). And check to see if the
org.eclipse.equinox.weaving.aspectj is started:
osgi> ss org.eclipse.equinox.weaving.aspectj
See here for more information:
http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php
Let me know if this solves your problem.
On Mon, Nov 2, 2009 at 7:47 AM, Romain <romain.reuillon@xxxxxxxxx> wrote:
> 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
>
>
> _______________________________________________
> ajdt-dev mailing list
> ajdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>