<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>ajdt-dev</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/maillist.html</link>
		<description>ajdt-dev</description>
		<language>en-us</language>
		<pubDate>Fri, 20 Nov 2009 17:43:15 GMT</pubDate>
		<lastBuildDate>Fri, 20 Nov 2009 17:43:15 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>ajdt-dev</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/maillist.html</link>
		</image>
 

	<item>
		<title>[ajdt-dev] Re: ajdt-dev Digest, Vol 52, Issue 7</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01459.html</link>
		<description> -----Original Message----- From: ajdt-dev-request@xxxxxxxxxxx Date: 11/20/2009 12:00 PM To: ajdt-dev@xxxxxxxxxxx Subject: Re: ajdt-dev Digest, Vol 52, Issue 7 Note: Original message sent as attachment    Doctorate Degrees Online Boost your career with an ...</description>
		<content:encoded><![CDATA[<font style='{font-family: Arial,Verdana, Sans-Serif;font-size: 10pt;}'>
<br>
<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
<B>From: </B>ajdt-dev-request@xxxxxxxxxxx<br>
<B>Date: </B>11/20/2009 12:00 PM<br>
<B>To: </B>ajdt-dev@xxxxxxxxxxx<br>
<B>Subject: </B>Re: ajdt-dev Digest, Vol 52, Issue 7<br>
<br>
Note: Original message sent as attachment </font>
<hr style=" border: 0px; border-top: thin solid grey; margin-top: 15px; padding-top: 5px;"><TABLE height=58 width=500 cellborder=0 cellpadding=0 cellspacing=0 border=0  
      
    style=cursor:pointer; > 
<TR> 
   
  <TD valign=center> 
     
    <TABLE cellborder=0 cellpadding=0 cellspacing=0 border=0> 
      <TR> 
        <TD rowspan=3>&nbsp;&nbsp;</TD> 
        <TD><SPAN><a href="http://216.21.215.31/c?cp=e1OKfoX4Ym520PoAU0jXGgAAKZV1u79O0JQYUxiBzo0vwV2xAAQAAAAFAAAAADMzkz4AAAMlAAAAAAAAAAAAAAAAAAAyOQAAAAA=" target="_blank" style=text-decoration:underline;font-size:12pt;font-family:Arial;color:green;cursor:pointer;>Doctorate Degrees Online</a></SPAN></TD> 
      </TR> 
      <TR> 
        <TD><SPAN><a href="http://216.21.215.31/c?cp=e1OKfoX4Ym520PoAU0jXGgAAKZV1u79O0JQYUxiBzo0vwV2xAAQAAAAFAAAAADMzkz4AAAMlAAAAAAAAAAAAAAAAAAAyOQAAAAA=" target="_blank" style=text-decoration:none;font-size:8pt;font-family:Arial;color:black;cursor:pointer;>Boost your career with an online doctoral degree. Enroll today!</a></SPAN></TD> 
      </TR> 
      <TR>
        <TD><SPAN><a href="http://216.21.215.31/c?cp=e1OKfoX4Ym520PoAU0jXGgAAKZV1u79O0JQYUxiBzo0vwV2xAAQAAAAFAAAAADMzkz4AAAMlAAAAAAAAAAAAAAAAAAAyOQAAAAA=" target="_blank" style=text-decoration:underline;font-size:8pt;font-family:Arial;color:#FD0000;cursor:pointer;>Click Here For More Information</a></SPAN></TD> 
      </TR> 
    </TABLE> 
  </TD> 
</TR> 
<TR> 
  <TD colspan=2>&nbsp;</TD> 
</TR> 
</TABLE><blockquote><small>---&nbsp;<i>Begin&nbsp;Message</i>&nbsp;---</small>
<ul>
<li><em>From</em>: <a href="mailto:ajdt-dev-request@DOMAIN.HIDDEN">ajdt-dev-request@xxxxxxxxxxx</a></li>
<li><em>Date</em>: Fri, 20 Nov 2009 12:00:22 -0500 (EST)</li>
<li><em>Delivered-to</em>: allgoals2007.myway@masc008.roc2.bluetie.com</li>
</ul>
<pre>Send ajdt-dev mailing list submissions to
	ajdt-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
or, via email, send a message with subject or body 'help' to
	ajdt-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
	ajdt-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than &quot;Re: Contents of ajdt-dev digest...&quot;


Today's Topics:

   1. Re: new AJDT builds (Andrew Eisenberg)


----------------------------------------------------------------------

Message: 1
Date: Thu, 19 Nov 2009 10:07:37 -0800
From: Andrew Eisenberg &lt;andrew@xxxxxxxxxxxx&gt;
Subject: [ajdt-dev] Re: new AJDT builds
To: ajdt-dev@xxxxxxxxxxx, 	AspectJ developer discussions
	&lt;aspectj-dev@xxxxxxxxxxx&gt;
Message-ID:
	&lt;c1dd20e00911191007x6c9ee02fpdf8798d1d5820a72@xxxxxxxxxxxxxx&gt;
Content-Type: text/plain; charset=ISO-8859-1

A description on how to get timing information in AJDT is here:
<a  href="http://contraptionsforprogramming.blogspot.com/2009/11/getting-aspectj-pointcut-matching-timer.html">http://contraptionsforprogramming.blogspot.com/2009/11/getting-aspectj-pointcut-matching-timer.html</a>

On Wed, Nov 18, 2009 at 10:29 PM, Andrew Eisenberg &lt;andrew@xxxxxxxxxxxx&gt; wrote:
&gt; New AJDT builds that includes the latest AspectJ are available for
&gt; both Eclipse 3.4 and 3.5. &#xA0;Enjoy.
&gt;
&gt; Tomorrow, when I have a bit more time, I'll put up a little
&gt; information on how to view pointcut matching timing from AJDT.
&gt;


------------------------------

_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>


End of ajdt-dev Digest, Vol 52, Issue 7
***************************************

Qog
ICAx</pre><br><small>---&nbsp;<i>End Message</i>&nbsp;---</small></blockquote>
]]></content:encoded>
		<pubDate>Fri, 20 Nov 2009 17:37:35 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01459.html</guid>
		<author>allgoals2007@xxxxxxx (go)</author>
	</item>


	<item>
		<title>[ajdt-dev] Re: new AJDT builds</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01458.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre>A description on how to get timing information in AJDT is here:
<a  href="http://contraptionsforprogramming.blogspot.com/2009/11/getting-aspectj-pointcut-matching-timer.html">http://contraptionsforprogramming.blogspot.com/2009/11/getting-aspectj-pointcut-matching-timer.html</a>

On Wed, Nov 18, 2009 at 10:29 PM, Andrew Eisenberg &lt;andrew@xxxxxxxxxxxx&gt; wrote:
&gt; New AJDT builds that includes the latest AspectJ are available for
&gt; both Eclipse 3.4 and 3.5. &#xA0;Enjoy.
&gt;
&gt; Tomorrow, when I have a bit more time, I'll put up a little
&gt; information on how to view pointcut matching timing from AJDT.
&gt;

</pre>]]></content:encoded>
		<pubDate>Thu, 19 Nov 2009 18:07:41 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01458.html</guid>
		<author>andrew@xxxxxxx (Andrew Eisenberg)</author>
	</item>
	<item>
		<title>[ajdt-dev] new AJDT builds</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01457.html</link>
		<description>New AJDT builds that includes the latest AspectJ are available for both Eclipse 3.4 and 3.5. Enjoy. Tomorrow, when I have a bit more time, I'll put up a little information on how to view pointcut matching timing from AJDT. </description>
		<content:encoded><![CDATA[<pre>New AJDT builds that includes the latest AspectJ are available for
both Eclipse 3.4 and 3.5.  Enjoy.

Tomorrow, when I have a bit more time, I'll put up a little
information on how to view pointcut matching timing from AJDT.

</pre>]]></content:encoded>
		<pubDate>Thu, 19 Nov 2009 06:29:23 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01457.html</guid>
		<author>andrew@xxxxxxx (Andrew Eisenberg)</author>
	</item>


	<item>
		<title>[ajdt-dev] Project meta data is out of date for tools.ajdt</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01456.html</link>
		<description>Andrew, Projects are required to keep meta data up to date using the MyFoundation Portal (http://portal.eclipse.org/). The following problems were found with this project's meta-data: * The date for release &amp;quot;2.0.1&amp;quot; is in the past, but the release is not ma...</description>
		<content:encoded><![CDATA[<pre>Andrew,
Projects are required to keep meta data up to date using the MyFoundation
Portal (<a  href="http://portal.eclipse.org/">http://portal.eclipse.org/</a>).  The following problems were found
with this project's meta-data:

* The date for release &quot;2.0.1&quot; is in the past, but the release is not
marked as completed. If it is completed, it should be marked as completed;
if it has been postponed, it should be given a new target date.
* There is no next/future release of this project. All Eclipse projects
must have a &quot;next release&quot; planned and scheduled.


</pre>]]></content:encoded>
		<pubDate>Thu, 05 Nov 2009 05:00:19 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01456.html</guid>
		<author>emo@xxxxxxx (portal on behalf of emo)</author>
	</item>


	<item>
		<title>Re: [ajdt-dev] Launching eclipse application</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01455.html</link>
		<description>using java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook Any idea how I can enable the hook using &amp;quot;java -jar&amp;quot;? Cheers, Romain Le lundi 02 novembre 2009 xC3; 22:10 +...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi Romain!</pre><br>
<pre style="margin: 0em;">Great to hear that you got it working!!!</pre><br>
<pre style="margin: 0em;">Cheers,
-Martin</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<tt>On 03.11.09 10:54, Romain wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi again,</pre><br>
<pre style="margin: 0em;">adding : osgi.framework.extensions=org.eclipse.equinox.weaving.hook
in config.ini did the trick!</pre><br>
<pre style="margin: 0em;">I don't know why
-Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook has not
been taken into account.</pre><br>
<pre style="margin: 0em;">Cheers,
Romain</pre><br>
<tt>Le mardi 03 novembre 2009 &#xC3; 10:12 +0100, Romain a &#xC3;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Martin,</pre><br>
<pre style="margin: 0em;">with the additional debug info it seems, that the hook is not taken into
acount :</pre><br>
<pre style="margin: 0em;">using the native launcher :</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">reuillon@polux:~/tmp/testAspect/eclipse$ ./eclipse
[org.eclipse.equinox.weaving.hook] info adding AspectJ hooks ...
[org.eclipse.equinox.weaving.aspectj] info Starting AspectJ weaving service ...
[org.aspectj.osgi.service.caching] info starting standard caching service ...
[org.aspectj.osgi.service.caching] Created and registered SingletonCachingService.
[org.aspectj.osgi.service.caching.j9] warning cannot start J9 caching service
[aspect.import] info AspectJ Weaver Version 1.6.5 built on Thursday Jun 18, 2009 at 03:42:32 GMT
[aspect.import] info register aspect export.TestAspect
[org.eclipse.equinox.weaving.aspectj] info weaving bundle 'aspect.import'
[aspect.import] weaveinfo Join point 'method-execution(void imported.Application.stop())' in Type 'imported.Application' (Application.java:19) advised by before advice from 'export.TestAspect' (TestAspect.aj:5)
Application started.
[aspect.import] weaveinfo Join point 'method-execution(void imported.TestClass.method())' in Type 'imported.TestClass' (TestClass.java:4) advised by before advice from 'export.TestAspect' (TestAspect.aj:5)
Hello from AspectJ
Method call.
[org.aspectj.osgi.service.caching] Shut down and unregistered SingletonCachingService.
reuillon@polux:~/tmp/testAspect/eclipse$
</pre></blockquote><pre style="margin: 0em;"><br>using java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">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.eclipse.equinox.weaving.aspectj] info Starting AspectJ weaving service ...
[org.aspectj.osgi.service.caching] info starting standard caching service ...
[org.aspectj.osgi.service.caching] Created and registered SingletonCachingService.
[org.aspectj.osgi.service.caching.j9] warning cannot start J9 caching service
Application started.
Method call.
[org.aspectj.osgi.service.caching] Shut down and unregistered SingletonCachingService.
reuillon@polux:~/tmp/testAspect/eclipse$
</pre></blockquote><pre style="margin: 0em;"><br>Any idea how I can enable the hook using &quot;java -jar&quot;?</pre><br>
<pre style="margin: 0em;">Cheers,
Romain</pre><br>
<tt><br>Le lundi 02 novembre 2009 &#xC3; 22:10 +0100, Martin Lippert a &#xC3;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi!</pre><br>
<pre style="margin: 0em;">Andrews suggestion sounds good: Please enable the additional debug info
and we will see more about what could possibly be wrong here.</pre><br>
<pre style="margin: 0em;">And can you tell us more about how you launch the framework when you
&quot;bypass the native launcher&quot;? Using just &quot;java -jar o.e.osgi&quot;?</pre><br>
<pre style="margin: 0em;">Cheers,
-Martin</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<tt>On 02.11.09 18:59, Andrew Eisenberg wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Another thing you can try is enabling equinox aspects logging inside
of your config.ini by adding the following line:</pre><br>
<pre style="margin: 0em;">aj.weaving.verbose=true
org.aspectj.weaver.showWeaveInfo=true
org.aspectj.osgi.verbose=true</pre><br>
<pre style="margin: 0em;"><br>This may provide some extra information.  You can send the logs here.
If this doesn't work, then I will have to defer you to Martin Lippert,
who is on this list and has much more intimate knowledge of how EA
works.  This may be a bug with Equinox Aspects.</pre><br>
<tt>On Mon, Nov 2, 2009 at 10:00 AM, Romain&lt;romain.reuillon@xxxxxxxxx&gt;   wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Post-scriptum :): if someone want to give it a try</pre><br>
<pre style="margin: 0em;">an archive of the eclipse application is available here:
<a  href="https://public.iscpif.fr/~reuillon/aspectEclipse.tgz">https://public.iscpif.fr/~reuillon/aspectEclipse.tgz</a></pre><br>
<pre style="margin: 0em;">I requires the use of a 32 bits JVM (export PATH).</pre><br>
<pre style="margin: 0em;">When launched with ./eclipse the aspect works.
When launched with java -jar
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs
-Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook, the aspect
is not working</pre><br>
<pre style="margin: 0em;">Cheers,
Rom</pre><br>
<tt>Le lundi 02 novembre 2009 &#xC3; 17:50 +0100, Romain a &#xC3;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Andrew,</pre><br>
<pre style="margin: 0em;">thank you for your answer.</pre><br>
<pre style="margin: 0em;">The level is specified in the config.ini:</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">#Product Runtime Configuration File
eclipse.application=aspect.import.testaspect
osgi.bundles.defaultStartLevel=4
eclipse.product=aspect.import.testaspect
osgi.splashPath=platform:/base/plugins/aspect.import
osgi.bundles=aspect.export,aspect.import,org.aspectj.runtime,org.aspectj.weaver,org.eclipse.core.contenttype,org.eclipse.core.jobs,org.eclipse.core.runtime@start,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.app,org.eclipse.equinox.common@2:start,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.equinox.weaving.aspectj@4:start,org.eclipse.equinox.weaving.caching@4:start,org.eclipse.equinox.weaving.caching.j9@4:start,org.eclipse.equinox.weaving.hook
</pre></blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">To confirm this I verified that the bundle is started using the console:</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">reuillon@polux:~/tmp/testAspect/eclipse$ java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -console -noexit -vmargs -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook</pre><br>
<pre style="margin: 0em;">osgi&gt;   [org.aspectj.osgi.service.caching] Created and registered SingletonCachingService.
Application started.
Method call.</pre><br>
<pre style="margin: 0em;"><br>osgi&gt;   ss</pre><br>
<pre style="margin: 0em;">Framework is launched.</pre><br>
<pre style="margin: 0em;">id  State       Bundle
0   ACTIVE      org.eclipse.osgi_3.5.1.R35x_v20090827
                  Fragments=1
1   RESOLVED    org.eclipse.equinox.weaving.hook_1.0.0.200905261348
                  Master=0
2   RESOLVED    aspect.export_1.0.0
3   RESOLVED    aspect.import_1.0.0
4   ACTIVE      org.aspectj.runtime_1.6.5.20090618034232
5   ACTIVE      org.aspectj.weaver_1.6.5.20090618034232
6&lt;&lt;LAZY&gt;&gt;       org.eclipse.core.contenttype_3.4.1.R35x_v20090826-0451
7   ACTIVE      org.eclipse.core.jobs_3.4.100.v20090429-1800
8   ACTIVE      org.eclipse.core.runtime_3.5.0.v20090525
9   RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.2.200.v20090429-1800
                  Master=13
10  ACTIVE      org.eclipse.equinox.app_1.2.0.v20090520-1800
11  ACTIVE      org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100
12  ACTIVE      org.eclipse.equinox.preferences_3.2.300.v20090520-1800
13  ACTIVE      org.eclipse.equinox.registry_3.4.100.v20090520-1800
                  Fragments=9
14  ACTIVE      org.eclipse.equinox.weaving.aspectj_1.0.0.200906171200
15  ACTIVE      org.eclipse.equinox.weaving.caching_1.0.0.200807082136
16  ACTIVE      org.eclipse.equinox.weaving.caching.j9_1.0.0.200807082136</pre><br>
<tt>osgi&gt;
</tt></blockquote><pre style="margin: 0em;"><br>Cheers,
Romain</pre><br>
<tt>Le lundi 02 novembre 2009 &#xC3; 09:24 -0700, Andrew Eisenberg a &#xC3;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">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?</pre><br>
<pre style="margin: 0em;">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:</pre><br>
<pre style="margin: 0em;">osgi&gt;   ss org.eclipse.equinox.weaving.aspectj</pre><br>
<pre style="margin: 0em;"><br>See here for more information:
<a  href="http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php">http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php</a></pre><br>
<pre style="margin: 0em;">Let me know if this solves your problem.</pre><br>
<tt>On Mon, Nov 2, 2009 at 7:47 AM, Romain&lt;romain.reuillon@xxxxxxxxx&gt;   wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi all,</pre><br>
<pre style="margin: 0em;">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:</pre><br>
<pre style="margin: 0em;">--------------------------------------------------------------
reuillon@polux:~/tmp/testAspect/eclipse$ ./eclipse</pre><br>
<pre style="margin: 0em;">[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.</pre><br>
<pre style="margin: 0em;">reuillon@polux:~/tmp/testAspect/eclipse$
--------------------------------------------------------------</pre><br>
<pre style="margin: 0em;">But when we bypass the native launcher the aspect is not used:</pre><br>
<pre style="margin: 0em;">--------------------------------------------------------------
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</pre><br>
<pre style="margin: 0em;">[org.aspectj.osgi.service.caching] Created and registered
SingletonCachingService.
Application started.
Method call.
[org.aspectj.osgi.service.caching] Shut down and unregistered
SingletonCachingService.</pre><br>
<pre style="margin: 0em;">reuillon@polux:~/tmp/testAspect/eclipse$
--------------------------------------------------------------</pre><br>
<pre style="margin: 0em;"><br>Do you have any idea how we may bypass the native launcher and make the
aspects work ?</pre><br>
<pre style="margin: 0em;">Cheers,
Romain</pre><br>
<pre style="margin: 0em;"><br>_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a></pre><br>
</blockquote></blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
</pre></blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a></pre><br>
</blockquote><pre style="margin: 0em;">_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a></pre><br>
</blockquote></blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
</pre></blockquote><pre style="margin: 0em;"><br></pre><br>
<br>
</blockquote><br>
]]></content:encoded>
		<pubDate>Tue, 03 Nov 2009 21:42:18 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01455.html</guid>
		<author>lippert@xxxxxxx (Martin Lippert)</author>
	</item>
	<item>
		<title>Re: [ajdt-dev] Problem with Project dependency / Aspect Path in 	Eclipse</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01454.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre>Thanks for the test case.  Made it easy to find the problem.

On Tue, Nov 3, 2009 at 12:17 PM, prg@xxxxxxxxxxxxxxx
&lt;prg@xxxxxxxxxxxxxxx&gt; wrote:
&gt; prg@xxxxxxxxxxxxxxx schrieb:
&gt;&gt; just hit a strange behaviour;
&gt; ...
&gt;&gt; about to reorganise a huge (AspectJ) project in Eclipse, to split
&gt;&gt; it into a series of dependent projects. Now, the very basic set
&gt;&gt; &quot;Commons&quot; contains some Aspects, which need to be applied to the
&gt;&gt; other parts.
&gt;
&gt;&gt; Anyhow, building the dependent Project &quot;Part-1&quot; causes the message
&gt;&gt; &quot;The project was not built since it depends on Part-1,
&gt;&gt; which has build path errors&quot;.
&gt;
&gt;&gt; Andrew Eisenberg wrote:
&gt;&gt;&gt; There's nothing out of the ordinary that I can see in your project
&gt;&gt;&gt; files.&#xA0; In order to narrow down and see if AJDT is the problem, can
&gt;&gt;&gt; you try removing the AJ nature from both projects and see if the
&gt;&gt;&gt; build path problem goes away?
&gt;
&gt;&gt;&gt; If it does, then can you add the natures back, and then just remove
&gt;&gt;&gt; commons from the classpath of Part-1? If the problem goes away
&gt;&gt;&gt; under either of these circumstances, I'll raise a bug and try to
&gt;&gt;&gt; get a dev build out there that will provide some better
&gt;&gt;&gt; diagnostics.
&gt;
&gt; See <a  href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=288395">https://bugs.eclipse.org/bugs/show_bug.cgi?id=288395</a>
&gt;
&gt;
&gt; Andrew, many thanks for resolving this issue,
&gt; which has bitten us quite badly!
&gt;
&gt; I'm writing this short note, as the Problem might be of general
&gt; interest. As it turned out, the root cause where some spurious
&gt; Entries in the *Manifiest* hidden within some of the dozens of
&gt; library Jars in our project's dependencies: Some of them declared
&gt; an &quot;Classpath&quot; setting, which of course no one ever notices or
&gt; cares about ;-)
&gt;
&gt;
&gt; Cheers,
&gt; Hermann Vosseler
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; _______________________________________________
&gt; ajdt-dev mailing list
&gt; ajdt-dev@xxxxxxxxxxx
&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
&gt;
&gt;

</pre>]]></content:encoded>
		<pubDate>Tue, 03 Nov 2009 19:27:36 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01454.html</guid>
		<author>andrew@xxxxxxx (Andrew Eisenberg)</author>
	</item>
	<item>
		<title>Re: [ajdt-dev] Problem with Project dependency / Aspect Path in	Eclipse</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01453.html</link>
		<description> &amp;gt;&amp;gt; There&amp;#39;s nothing out of the ordinary that I can see in your project &amp;gt;&amp;gt; files.&amp;#160; In order to narrow down and see if AJDT is the problem, can &amp;gt;&amp;gt; you try removing the AJ nature from both projects and see if the &amp;gt;&amp;gt; build path problem goes away? &amp;gt;&amp;gt; If it does...</description>
		<content:encoded><![CDATA[


  

  
    prg@xxxxxxxxxxxxxxx schrieb:<br />
    &gt; just hit a strange behaviour;<br />
    ...<br />
    &gt; about to reorganise a huge (AspectJ) project in Eclipse, to split<br />
    &gt; it into a series of dependent projects. Now, the very basic set <br />
    &gt; &quot;Commons&quot; contains some Aspects, which need to be applied to the <br />
    &gt; other parts.<br />
    <br />
    &gt; Anyhow, building the dependent Project &quot;Part-1&quot; causes the message <br />
    &gt; &quot;The project was not built since it depends on Part-1,<br />
    &gt; which has build path errors&quot;.<br />
    <br />
    &gt; Andrew Eisenberg wrote:<br />
    &gt;&gt; There&#39;s nothing out of the ordinary that I can see in your project <br />
    &gt;&gt; files.&#160; In order to narrow down and see if AJDT is the problem, can<br />
    &gt;&gt; you try removing the AJ nature from both projects and see if the<br />
    &gt;&gt; build path problem goes away?<br />
    <br />
    &gt;&gt; If it does, then can you add the natures back, and then just remove<br />
    &gt;&gt; commons from the classpath of Part-1? If the problem goes away <br />
    &gt;&gt; under either of these circumstances, I&#39;ll raise a bug and try to <br />
    &gt;&gt; get a dev build out there that will provide some better <br />
    &gt;&gt; diagnostics.<br />
    <br />
    See https://bugs.eclipse.org/bugs/show_bug.cgi?id=288395<br />
    <br />
    <br />
    Andrew, many thanks for resolving this issue,<br />
    which has bitten us quite badly!<br />
    <br />
    I&#39;m writing this short note, as the Problem might be of general<br />
    interest. As it turned out, the root cause where some spurious<br />
    Entries in the *Manifiest* hidden within some of the dozens of<br />
    library Jars in our project&#39;s dependencies: Some of them declared<br />
    an &quot;Classpath&quot; setting, which of course no one ever notices or<br />
    cares about ;-)<br />
    <br />
    <br />
    Cheers,<br />
    Hermann Vosseler<br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
  

]]></content:encoded>
		<pubDate>Tue, 03 Nov 2009 19:17:35 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01453.html</guid>
		<author>prg@xxxxxxx (prg@xxxxxxxxxxxxxxx)</author>
	</item>
	<item>
		<title>Re: [ajdt-dev] Launching eclipse application</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01452.html</link>
		<description>Hi again, adding : osgi.framework.extensions=org.eclipse.equinox.weaving.hook in config.ini did the trick! I don't know why -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook has not been taken into account. Cheers, Romain Le mardi 03 novembre 20...</description>
		<content:encoded><![CDATA[<pre>Hi again,

adding : osgi.framework.extensions=org.eclipse.equinox.weaving.hook
in config.ini did the trick!

I don't know why
-Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook has not
been taken into account.

Cheers,
Romain

Le mardi 03 novembre 2009 &#xC3; 10:12 +0100, Romain a &#xC3;crit : 
&gt; Hi Martin,
&gt; 
&gt; with the additional debug info it seems, that the hook is not taken into
&gt; acount :
&gt; 
&gt; using the native launcher :
&gt; 
&gt; &gt; reuillon@polux:~/tmp/testAspect/eclipse$ ./eclipse 
&gt; &gt; [org.eclipse.equinox.weaving.hook] info adding AspectJ hooks ...
&gt; &gt; [org.eclipse.equinox.weaving.aspectj] info Starting AspectJ weaving service ...
&gt; &gt; [org.aspectj.osgi.service.caching] info starting standard caching service ...
&gt; &gt; [org.aspectj.osgi.service.caching] Created and registered SingletonCachingService.
&gt; &gt; [org.aspectj.osgi.service.caching.j9] warning cannot start J9 caching service
&gt; &gt; [aspect.import] info AspectJ Weaver Version 1.6.5 built on Thursday Jun 18, 2009 at 03:42:32 GMT
&gt; &gt; [aspect.import] info register aspect export.TestAspect
&gt; &gt; [org.eclipse.equinox.weaving.aspectj] info weaving bundle 'aspect.import'
&gt; &gt; [aspect.import] weaveinfo Join point 'method-execution(void imported.Application.stop())' in Type 'imported.Application' (Application.java:19) advised by before advice from 'export.TestAspect' (TestAspect.aj:5)
&gt; &gt; Application started.
&gt; &gt; [aspect.import] weaveinfo Join point 'method-execution(void imported.TestClass.method())' in Type 'imported.TestClass' (TestClass.java:4) advised by before advice from 'export.TestAspect' (TestAspect.aj:5)
&gt; &gt; Hello from AspectJ
&gt; &gt; Method call.
&gt; &gt; [org.aspectj.osgi.service.caching] Shut down and unregistered SingletonCachingService.
&gt; &gt; reuillon@polux:~/tmp/testAspect/eclipse$
&gt; 
&gt; using java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
&gt; 
&gt; &gt; 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
&gt; &gt; [org.eclipse.equinox.weaving.aspectj] info Starting AspectJ weaving service ...
&gt; &gt; [org.aspectj.osgi.service.caching] info starting standard caching service ...
&gt; &gt; [org.aspectj.osgi.service.caching] Created and registered SingletonCachingService.
&gt; &gt; [org.aspectj.osgi.service.caching.j9] warning cannot start J9 caching service
&gt; &gt; Application started.
&gt; &gt; Method call.
&gt; &gt; [org.aspectj.osgi.service.caching] Shut down and unregistered SingletonCachingService.
&gt; &gt; reuillon@polux:~/tmp/testAspect/eclipse$ 
&gt; 
&gt; Any idea how I can enable the hook using &quot;java -jar&quot;?
&gt; 
&gt; Cheers,
&gt; Romain
&gt; 
&gt; 
&gt; Le lundi 02 novembre 2009 &#xC3; 22:10 +0100, Martin Lippert a &#xC3;crit : 
&gt; &gt; Hi!
&gt; &gt; 
&gt; &gt; Andrews suggestion sounds good: Please enable the additional debug info 
&gt; &gt; and we will see more about what could possibly be wrong here.
&gt; &gt; 
&gt; &gt; And can you tell us more about how you launch the framework when you 
&gt; &gt; &quot;bypass the native launcher&quot;? Using just &quot;java -jar o.e.osgi&quot;?
&gt; &gt; 
&gt; &gt; Cheers,
&gt; &gt; -Martin
&gt; &gt; 
&gt; &gt; 
&gt; &gt; 
&gt; &gt; On 02.11.09 18:59, Andrew Eisenberg wrote:
&gt; &gt; &gt; Another thing you can try is enabling equinox aspects logging inside
&gt; &gt; &gt; of your config.ini by adding the following line:
&gt; &gt; &gt;
&gt; &gt; &gt; aj.weaving.verbose=true
&gt; &gt; &gt; org.aspectj.weaver.showWeaveInfo=true
&gt; &gt; &gt; org.aspectj.osgi.verbose=true
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; This may provide some extra information.  You can send the logs here.
&gt; &gt; &gt; If this doesn't work, then I will have to defer you to Martin Lippert,
&gt; &gt; &gt; who is on this list and has much more intimate knowledge of how EA
&gt; &gt; &gt; works.  This may be a bug with Equinox Aspects.
&gt; &gt; &gt;
&gt; &gt; &gt; On Mon, Nov 2, 2009 at 10:00 AM, Romain&lt;romain.reuillon@xxxxxxxxx&gt;  wrote:
&gt; &gt; &gt;&gt; Post-scriptum :): if someone want to give it a try
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; an archive of the eclipse application is available here:
&gt; &gt; &gt;&gt; <a  href="https://public.iscpif.fr/~reuillon/aspectEclipse.tgz">https://public.iscpif.fr/~reuillon/aspectEclipse.tgz</a>
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; I requires the use of a 32 bits JVM (export PATH).
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; When launched with ./eclipse the aspect works.
&gt; &gt; &gt;&gt; When launched with java -jar
&gt; &gt; &gt;&gt; plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs
&gt; &gt; &gt;&gt; -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook, the aspect
&gt; &gt; &gt;&gt; is not working
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; Cheers,
&gt; &gt; &gt;&gt; Rom
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; Le lundi 02 novembre 2009 &#xC3; 17:50 +0100, Romain a &#xC3;crit :
&gt; &gt; &gt;&gt;&gt; Hi Andrew,
&gt; &gt; &gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt; thank you for your answer.
&gt; &gt; &gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt; The level is specified in the config.ini:
&gt; &gt; &gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; #Product Runtime Configuration File
&gt; &gt; &gt;&gt;&gt;&gt; eclipse.application=aspect.import.testaspect
&gt; &gt; &gt;&gt;&gt;&gt; osgi.bundles.defaultStartLevel=4
&gt; &gt; &gt;&gt;&gt;&gt; eclipse.product=aspect.import.testaspect
&gt; &gt; &gt;&gt;&gt;&gt; osgi.splashPath=platform:/base/plugins/aspect.import
&gt; &gt; &gt;&gt;&gt;&gt; osgi.bundles=aspect.export,aspect.import,org.aspectj.runtime,org.aspectj.weaver,org.eclipse.core.contenttype,org.eclipse.core.jobs,org.eclipse.core.runtime@start,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.app,org.eclipse.equinox.common@2:start,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.equinox.weaving.aspectj@4:start,org.eclipse.equinox.weaving.caching@4:start,org.eclipse.equinox.weaving.caching.j9@4:start,org.eclipse.equinox.weaving.hook
&gt; &gt; &gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt; To confirm this I verified that the bundle is started using the console:
&gt; &gt; &gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; reuillon@polux:~/tmp/testAspect/eclipse$ java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -console -noexit -vmargs -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; osgi&gt;  [org.aspectj.osgi.service.caching] Created and registered SingletonCachingService.
&gt; &gt; &gt;&gt;&gt;&gt; Application started.
&gt; &gt; &gt;&gt;&gt;&gt; Method call.
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; osgi&gt;  ss
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; Framework is launched.
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; id  State       Bundle
&gt; &gt; &gt;&gt;&gt;&gt; 0   ACTIVE      org.eclipse.osgi_3.5.1.R35x_v20090827
&gt; &gt; &gt;&gt;&gt;&gt;                  Fragments=1
&gt; &gt; &gt;&gt;&gt;&gt; 1   RESOLVED    org.eclipse.equinox.weaving.hook_1.0.0.200905261348
&gt; &gt; &gt;&gt;&gt;&gt;                  Master=0
&gt; &gt; &gt;&gt;&gt;&gt; 2   RESOLVED    aspect.export_1.0.0
&gt; &gt; &gt;&gt;&gt;&gt; 3   RESOLVED    aspect.import_1.0.0
&gt; &gt; &gt;&gt;&gt;&gt; 4   ACTIVE      org.aspectj.runtime_1.6.5.20090618034232
&gt; &gt; &gt;&gt;&gt;&gt; 5   ACTIVE      org.aspectj.weaver_1.6.5.20090618034232
&gt; &gt; &gt;&gt;&gt;&gt; 6&lt;&lt;LAZY&gt;&gt;      org.eclipse.core.contenttype_3.4.1.R35x_v20090826-0451
&gt; &gt; &gt;&gt;&gt;&gt; 7   ACTIVE      org.eclipse.core.jobs_3.4.100.v20090429-1800
&gt; &gt; &gt;&gt;&gt;&gt; 8   ACTIVE      org.eclipse.core.runtime_3.5.0.v20090525
&gt; &gt; &gt;&gt;&gt;&gt; 9   RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.2.200.v20090429-1800
&gt; &gt; &gt;&gt;&gt;&gt;                  Master=13
&gt; &gt; &gt;&gt;&gt;&gt; 10  ACTIVE      org.eclipse.equinox.app_1.2.0.v20090520-1800
&gt; &gt; &gt;&gt;&gt;&gt; 11  ACTIVE      org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100
&gt; &gt; &gt;&gt;&gt;&gt; 12  ACTIVE      org.eclipse.equinox.preferences_3.2.300.v20090520-1800
&gt; &gt; &gt;&gt;&gt;&gt; 13  ACTIVE      org.eclipse.equinox.registry_3.4.100.v20090520-1800
&gt; &gt; &gt;&gt;&gt;&gt;                  Fragments=9
&gt; &gt; &gt;&gt;&gt;&gt; 14  ACTIVE      org.eclipse.equinox.weaving.aspectj_1.0.0.200906171200
&gt; &gt; &gt;&gt;&gt;&gt; 15  ACTIVE      org.eclipse.equinox.weaving.caching_1.0.0.200807082136
&gt; &gt; &gt;&gt;&gt;&gt; 16  ACTIVE      org.eclipse.equinox.weaving.caching.j9_1.0.0.200807082136
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; osgi&gt;
&gt; &gt; &gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt; Cheers,
&gt; &gt; &gt;&gt;&gt; Romain
&gt; &gt; &gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt; Le lundi 02 novembre 2009 &#xC3; 09:24 -0700, Andrew Eisenberg a &#xC3;crit :
&gt; &gt; &gt;&gt;&gt;&gt; My guess is that the start level of 2 for
&gt; &gt; &gt;&gt;&gt;&gt; org.eclipse.equinox.weaving.aspectj is not being recognized.  Is the
&gt; &gt; &gt;&gt;&gt;&gt; start level explicit in the config.ini?
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; You can confirm this by starting eclipse in console mode (use the
&gt; &gt; &gt;&gt;&gt;&gt; -console command line argument).  And check to see if the
&gt; &gt; &gt;&gt;&gt;&gt; org.eclipse.equinox.weaving.aspectj is started:
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; osgi&gt;  ss org.eclipse.equinox.weaving.aspectj
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; See here for more information:
&gt; &gt; &gt;&gt;&gt;&gt; <a  href="http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php">http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php</a>
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; Let me know if this solves your problem.
&gt; &gt; &gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt; On Mon, Nov 2, 2009 at 7:47 AM, Romain&lt;romain.reuillon@xxxxxxxxx&gt;  wrote:
&gt; &gt; &gt;&gt;&gt;&gt;&gt; Hi all,
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; we are trying to launch an eclipse application containing aspects. When
&gt; &gt; &gt;&gt;&gt;&gt;&gt; we launch it using the native launcher everything is fine and the aspect
&gt; &gt; &gt;&gt;&gt;&gt;&gt; is taken into account:
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; --------------------------------------------------------------
&gt; &gt; &gt;&gt;&gt;&gt;&gt; reuillon@polux:~/tmp/testAspect/eclipse$ ./eclipse
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; [org.aspectj.osgi.service.caching] Created and registered
&gt; &gt; &gt;&gt;&gt;&gt;&gt; SingletonCachingService.
&gt; &gt; &gt;&gt;&gt;&gt;&gt; Application started.
&gt; &gt; &gt;&gt;&gt;&gt;&gt; Hello from AspectJ
&gt; &gt; &gt;&gt;&gt;&gt;&gt; Method call.
&gt; &gt; &gt;&gt;&gt;&gt;&gt; [org.aspectj.osgi.service.caching] Shut down and unregistered
&gt; &gt; &gt;&gt;&gt;&gt;&gt; SingletonCachingService.
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; reuillon@polux:~/tmp/testAspect/eclipse$
&gt; &gt; &gt;&gt;&gt;&gt;&gt; --------------------------------------------------------------
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; But when we bypass the native launcher the aspect is not used:
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; --------------------------------------------------------------
&gt; &gt; &gt;&gt;&gt;&gt;&gt; reuillon@polux:~/tmp/testAspect/eclipse$ java -jar
&gt; &gt; &gt;&gt;&gt;&gt;&gt; plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs
&gt; &gt; &gt;&gt;&gt;&gt;&gt; -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; [org.aspectj.osgi.service.caching] Created and registered
&gt; &gt; &gt;&gt;&gt;&gt;&gt; SingletonCachingService.
&gt; &gt; &gt;&gt;&gt;&gt;&gt; Application started.
&gt; &gt; &gt;&gt;&gt;&gt;&gt; Method call.
&gt; &gt; &gt;&gt;&gt;&gt;&gt; [org.aspectj.osgi.service.caching] Shut down and unregistered
&gt; &gt; &gt;&gt;&gt;&gt;&gt; SingletonCachingService.
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; reuillon@polux:~/tmp/testAspect/eclipse$
&gt; &gt; &gt;&gt;&gt;&gt;&gt; --------------------------------------------------------------
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; Do you have any idea how we may bypass the native launcher and make the
&gt; &gt; &gt;&gt;&gt;&gt;&gt; aspects work ?
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; Cheers,
&gt; &gt; &gt;&gt;&gt;&gt;&gt; Romain
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;&gt;&gt; _______________________________________________
&gt; &gt; &gt;&gt;&gt;&gt;&gt; ajdt-dev mailing list
&gt; &gt; &gt;&gt;&gt;&gt;&gt; ajdt-dev@xxxxxxxxxxx
&gt; &gt; &gt;&gt;&gt;&gt;&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
&gt; &gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt;
&gt; &gt; &gt;&gt;&gt; _______________________________________________
&gt; &gt; &gt;&gt;&gt; ajdt-dev mailing list
&gt; &gt; &gt;&gt;&gt; ajdt-dev@xxxxxxxxxxx
&gt; &gt; &gt;&gt;&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt;
&gt; &gt; &gt;&gt; _______________________________________________
&gt; &gt; &gt;&gt; ajdt-dev mailing list
&gt; &gt; &gt;&gt; ajdt-dev@xxxxxxxxxxx
&gt; &gt; &gt;&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
&gt; &gt; &gt;&gt;
&gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; ajdt-dev mailing list
&gt; &gt; &gt; ajdt-dev@xxxxxxxxxxx
&gt; &gt; &gt; <a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
&gt; &gt; &gt;
&gt; 
&gt; 
&gt; _______________________________________________
&gt; ajdt-dev mailing list
&gt; ajdt-dev@xxxxxxxxxxx
&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>



</pre>]]></content:encoded>
		<pubDate>Tue, 03 Nov 2009 09:54:45 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01452.html</guid>
		<author>romain.reuillon@xxxxxxx (Romain)</author>
	</item>
	<item>
		<title>Re: [ajdt-dev] Launching eclipse application</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01451.html</link>
		<description>Hi Martin, with the additional debug info it seems, that the hook is not taken into acount : using the native launcher : using java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs -Dosgi.framework.extensions=org.eclipse.equinox...</description>
		<content:encoded><![CDATA[<pre>Hi Martin,

with the additional debug info it seems, that the hook is not taken into
acount :

using the native launcher :

&gt; reuillon@polux:~/tmp/testAspect/eclipse$ ./eclipse 
&gt; [org.eclipse.equinox.weaving.hook] info adding AspectJ hooks ...
&gt; [org.eclipse.equinox.weaving.aspectj] info Starting AspectJ weaving service ...
&gt; [org.aspectj.osgi.service.caching] info starting standard caching service ...
&gt; [org.aspectj.osgi.service.caching] Created and registered SingletonCachingService.
&gt; [org.aspectj.osgi.service.caching.j9] warning cannot start J9 caching service
&gt; [aspect.import] info AspectJ Weaver Version 1.6.5 built on Thursday Jun 18, 2009 at 03:42:32 GMT
&gt; [aspect.import] info register aspect export.TestAspect
&gt; [org.eclipse.equinox.weaving.aspectj] info weaving bundle 'aspect.import'
&gt; [aspect.import] weaveinfo Join point 'method-execution(void imported.Application.stop())' in Type 'imported.Application' (Application.java:19) advised by before advice from 'export.TestAspect' (TestAspect.aj:5)
&gt; Application started.
&gt; [aspect.import] weaveinfo Join point 'method-execution(void imported.TestClass.method())' in Type 'imported.TestClass' (TestClass.java:4) advised by before advice from 'export.TestAspect' (TestAspect.aj:5)
&gt; Hello from AspectJ
&gt; Method call.
&gt; [org.aspectj.osgi.service.caching] Shut down and unregistered SingletonCachingService.
&gt; reuillon@polux:~/tmp/testAspect/eclipse$

using java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook

&gt; 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
&gt; [org.eclipse.equinox.weaving.aspectj] info Starting AspectJ weaving service ...
&gt; [org.aspectj.osgi.service.caching] info starting standard caching service ...
&gt; [org.aspectj.osgi.service.caching] Created and registered SingletonCachingService.
&gt; [org.aspectj.osgi.service.caching.j9] warning cannot start J9 caching service
&gt; Application started.
&gt; Method call.
&gt; [org.aspectj.osgi.service.caching] Shut down and unregistered SingletonCachingService.
&gt; reuillon@polux:~/tmp/testAspect/eclipse$ 

Any idea how I can enable the hook using &quot;java -jar&quot;?

Cheers,
Romain


Le lundi 02 novembre 2009 &#xC3; 22:10 +0100, Martin Lippert a &#xC3;crit : 
&gt; Hi!
&gt; 
&gt; Andrews suggestion sounds good: Please enable the additional debug info 
&gt; and we will see more about what could possibly be wrong here.
&gt; 
&gt; And can you tell us more about how you launch the framework when you 
&gt; &quot;bypass the native launcher&quot;? Using just &quot;java -jar o.e.osgi&quot;?
&gt; 
&gt; Cheers,
&gt; -Martin
&gt; 
&gt; 
&gt; 
&gt; On 02.11.09 18:59, Andrew Eisenberg wrote:
&gt; &gt; Another thing you can try is enabling equinox aspects logging inside
&gt; &gt; of your config.ini by adding the following line:
&gt; &gt;
&gt; &gt; aj.weaving.verbose=true
&gt; &gt; org.aspectj.weaver.showWeaveInfo=true
&gt; &gt; org.aspectj.osgi.verbose=true
&gt; &gt;
&gt; &gt;
&gt; &gt; This may provide some extra information.  You can send the logs here.
&gt; &gt; If this doesn't work, then I will have to defer you to Martin Lippert,
&gt; &gt; who is on this list and has much more intimate knowledge of how EA
&gt; &gt; works.  This may be a bug with Equinox Aspects.
&gt; &gt;
&gt; &gt; On Mon, Nov 2, 2009 at 10:00 AM, Romain&lt;romain.reuillon@xxxxxxxxx&gt;  wrote:
&gt; &gt;&gt; Post-scriptum :): if someone want to give it a try
&gt; &gt;&gt;
&gt; &gt;&gt; an archive of the eclipse application is available here:
&gt; &gt;&gt; <a  href="https://public.iscpif.fr/~reuillon/aspectEclipse.tgz">https://public.iscpif.fr/~reuillon/aspectEclipse.tgz</a>
&gt; &gt;&gt;
&gt; &gt;&gt; I requires the use of a 32 bits JVM (export PATH).
&gt; &gt;&gt;
&gt; &gt;&gt; When launched with ./eclipse the aspect works.
&gt; &gt;&gt; When launched with java -jar
&gt; &gt;&gt; plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs
&gt; &gt;&gt; -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook, the aspect
&gt; &gt;&gt; is not working
&gt; &gt;&gt;
&gt; &gt;&gt; Cheers,
&gt; &gt;&gt; Rom
&gt; &gt;&gt;
&gt; &gt;&gt; Le lundi 02 novembre 2009 &#xC3; 17:50 +0100, Romain a &#xC3;crit :
&gt; &gt;&gt;&gt; Hi Andrew,
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; thank you for your answer.
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; The level is specified in the config.ini:
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; #Product Runtime Configuration File
&gt; &gt;&gt;&gt;&gt; eclipse.application=aspect.import.testaspect
&gt; &gt;&gt;&gt;&gt; osgi.bundles.defaultStartLevel=4
&gt; &gt;&gt;&gt;&gt; eclipse.product=aspect.import.testaspect
&gt; &gt;&gt;&gt;&gt; osgi.splashPath=platform:/base/plugins/aspect.import
&gt; &gt;&gt;&gt;&gt; osgi.bundles=aspect.export,aspect.import,org.aspectj.runtime,org.aspectj.weaver,org.eclipse.core.contenttype,org.eclipse.core.jobs,org.eclipse.core.runtime@start,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.app,org.eclipse.equinox.common@2:start,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.equinox.weaving.aspectj@4:start,org.eclipse.equinox.weaving.caching@4:start,org.eclipse.equinox.weaving.caching.j9@4:start,org.eclipse.equinox.weaving.hook
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; To confirm this I verified that the bundle is started using the console:
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; reuillon@polux:~/tmp/testAspect/eclipse$ java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -console -noexit -vmargs -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; osgi&gt;  [org.aspectj.osgi.service.caching] Created and registered SingletonCachingService.
&gt; &gt;&gt;&gt;&gt; Application started.
&gt; &gt;&gt;&gt;&gt; Method call.
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; osgi&gt;  ss
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Framework is launched.
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; id  State       Bundle
&gt; &gt;&gt;&gt;&gt; 0   ACTIVE      org.eclipse.osgi_3.5.1.R35x_v20090827
&gt; &gt;&gt;&gt;&gt;                  Fragments=1
&gt; &gt;&gt;&gt;&gt; 1   RESOLVED    org.eclipse.equinox.weaving.hook_1.0.0.200905261348
&gt; &gt;&gt;&gt;&gt;                  Master=0
&gt; &gt;&gt;&gt;&gt; 2   RESOLVED    aspect.export_1.0.0
&gt; &gt;&gt;&gt;&gt; 3   RESOLVED    aspect.import_1.0.0
&gt; &gt;&gt;&gt;&gt; 4   ACTIVE      org.aspectj.runtime_1.6.5.20090618034232
&gt; &gt;&gt;&gt;&gt; 5   ACTIVE      org.aspectj.weaver_1.6.5.20090618034232
&gt; &gt;&gt;&gt;&gt; 6&lt;&lt;LAZY&gt;&gt;      org.eclipse.core.contenttype_3.4.1.R35x_v20090826-0451
&gt; &gt;&gt;&gt;&gt; 7   ACTIVE      org.eclipse.core.jobs_3.4.100.v20090429-1800
&gt; &gt;&gt;&gt;&gt; 8   ACTIVE      org.eclipse.core.runtime_3.5.0.v20090525
&gt; &gt;&gt;&gt;&gt; 9   RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.2.200.v20090429-1800
&gt; &gt;&gt;&gt;&gt;                  Master=13
&gt; &gt;&gt;&gt;&gt; 10  ACTIVE      org.eclipse.equinox.app_1.2.0.v20090520-1800
&gt; &gt;&gt;&gt;&gt; 11  ACTIVE      org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100
&gt; &gt;&gt;&gt;&gt; 12  ACTIVE      org.eclipse.equinox.preferences_3.2.300.v20090520-1800
&gt; &gt;&gt;&gt;&gt; 13  ACTIVE      org.eclipse.equinox.registry_3.4.100.v20090520-1800
&gt; &gt;&gt;&gt;&gt;                  Fragments=9
&gt; &gt;&gt;&gt;&gt; 14  ACTIVE      org.eclipse.equinox.weaving.aspectj_1.0.0.200906171200
&gt; &gt;&gt;&gt;&gt; 15  ACTIVE      org.eclipse.equinox.weaving.caching_1.0.0.200807082136
&gt; &gt;&gt;&gt;&gt; 16  ACTIVE      org.eclipse.equinox.weaving.caching.j9_1.0.0.200807082136
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; osgi&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Cheers,
&gt; &gt;&gt;&gt; Romain
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; Le lundi 02 novembre 2009 &#xC3; 09:24 -0700, Andrew Eisenberg a &#xC3;crit :
&gt; &gt;&gt;&gt;&gt; My guess is that the start level of 2 for
&gt; &gt;&gt;&gt;&gt; org.eclipse.equinox.weaving.aspectj is not being recognized.  Is the
&gt; &gt;&gt;&gt;&gt; start level explicit in the config.ini?
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; You can confirm this by starting eclipse in console mode (use the
&gt; &gt;&gt;&gt;&gt; -console command line argument).  And check to see if the
&gt; &gt;&gt;&gt;&gt; org.eclipse.equinox.weaving.aspectj is started:
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; osgi&gt;  ss org.eclipse.equinox.weaving.aspectj
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; See here for more information:
&gt; &gt;&gt;&gt;&gt; <a  href="http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php">http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php</a>
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; Let me know if this solves your problem.
&gt; &gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt; On Mon, Nov 2, 2009 at 7:47 AM, Romain&lt;romain.reuillon@xxxxxxxxx&gt;  wrote:
&gt; &gt;&gt;&gt;&gt;&gt; Hi all,
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; we are trying to launch an eclipse application containing aspects. When
&gt; &gt;&gt;&gt;&gt;&gt; we launch it using the native launcher everything is fine and the aspect
&gt; &gt;&gt;&gt;&gt;&gt; is taken into account:
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; --------------------------------------------------------------
&gt; &gt;&gt;&gt;&gt;&gt; reuillon@polux:~/tmp/testAspect/eclipse$ ./eclipse
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; [org.aspectj.osgi.service.caching] Created and registered
&gt; &gt;&gt;&gt;&gt;&gt; SingletonCachingService.
&gt; &gt;&gt;&gt;&gt;&gt; Application started.
&gt; &gt;&gt;&gt;&gt;&gt; Hello from AspectJ
&gt; &gt;&gt;&gt;&gt;&gt; Method call.
&gt; &gt;&gt;&gt;&gt;&gt; [org.aspectj.osgi.service.caching] Shut down and unregistered
&gt; &gt;&gt;&gt;&gt;&gt; SingletonCachingService.
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; reuillon@polux:~/tmp/testAspect/eclipse$
&gt; &gt;&gt;&gt;&gt;&gt; --------------------------------------------------------------
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; But when we bypass the native launcher the aspect is not used:
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; --------------------------------------------------------------
&gt; &gt;&gt;&gt;&gt;&gt; reuillon@polux:~/tmp/testAspect/eclipse$ java -jar
&gt; &gt;&gt;&gt;&gt;&gt; plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs
&gt; &gt;&gt;&gt;&gt;&gt; -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; [org.aspectj.osgi.service.caching] Created and registered
&gt; &gt;&gt;&gt;&gt;&gt; SingletonCachingService.
&gt; &gt;&gt;&gt;&gt;&gt; Application started.
&gt; &gt;&gt;&gt;&gt;&gt; Method call.
&gt; &gt;&gt;&gt;&gt;&gt; [org.aspectj.osgi.service.caching] Shut down and unregistered
&gt; &gt;&gt;&gt;&gt;&gt; SingletonCachingService.
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; reuillon@polux:~/tmp/testAspect/eclipse$
&gt; &gt;&gt;&gt;&gt;&gt; --------------------------------------------------------------
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Do you have any idea how we may bypass the native launcher and make the
&gt; &gt;&gt;&gt;&gt;&gt; aspects work ?
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; Cheers,
&gt; &gt;&gt;&gt;&gt;&gt; Romain
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;&gt;&gt; _______________________________________________
&gt; &gt;&gt;&gt;&gt;&gt; ajdt-dev mailing list
&gt; &gt;&gt;&gt;&gt;&gt; ajdt-dev@xxxxxxxxxxx
&gt; &gt;&gt;&gt;&gt;&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
&gt; &gt;&gt;&gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt;
&gt; &gt;&gt;&gt; _______________________________________________
&gt; &gt;&gt;&gt; ajdt-dev mailing list
&gt; &gt;&gt;&gt; ajdt-dev@xxxxxxxxxxx
&gt; &gt;&gt;&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; _______________________________________________
&gt; &gt;&gt; ajdt-dev mailing list
&gt; &gt;&gt; ajdt-dev@xxxxxxxxxxx
&gt; &gt;&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
&gt; &gt;&gt;
&gt; &gt; _______________________________________________
&gt; &gt; ajdt-dev mailing list
&gt; &gt; ajdt-dev@xxxxxxxxxxx
&gt; &gt; <a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
&gt; &gt;



</pre>]]></content:encoded>
		<pubDate>Tue, 03 Nov 2009 09:12:43 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01451.html</guid>
		<author>romain.reuillon@xxxxxxx (Romain)</author>
	</item>


	<item>
		<title>Re: [ajdt-dev] Launching eclipse application</title>
		<link>http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01450.html</link>
		<description> To confirm this I verified that the bundle is started using the console: Cheers, Romain Le lundi 02 novembre 2009 &amp;#xE0; 09:24 -0700, Andrew Eisenberg a &amp;#xE9;crit : _______________________________________________ ajdt-dev mailing list ajdt-dev@xxxxxxxxxxx https://...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi!</pre><br>
<tt>Andrews suggestion sounds good: Please enable the additional debug info 
and we will see more about what could possibly be wrong here.</tt><br>
<br>
<tt>And can you tell us more about how you launch the framework when you 
&quot;bypass the native launcher&quot;? Using just &quot;java -jar o.e.osgi&quot;?</tt><br>
<br>
<pre style="margin: 0em;">Cheers,
-Martin</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<tt>On 02.11.09 18:59, Andrew Eisenberg wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Another thing you can try is enabling equinox aspects logging inside
of your config.ini by adding the following line:</pre><br>
<pre style="margin: 0em;">aj.weaving.verbose=true
org.aspectj.weaver.showWeaveInfo=true
org.aspectj.osgi.verbose=true</pre><br>
<pre style="margin: 0em;"><br>This may provide some extra information.  You can send the logs here.
If this doesn't work, then I will have to defer you to Martin Lippert,
who is on this list and has much more intimate knowledge of how EA
works.  This may be a bug with Equinox Aspects.</pre><br>
<tt>On Mon, Nov 2, 2009 at 10:00 AM, Romain&lt;romain.reuillon@xxxxxxxxx&gt;  wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Post-scriptum :): if someone want to give it a try</pre><br>
<pre style="margin: 0em;">an archive of the eclipse application is available here:
<a  href="https://public.iscpif.fr/~reuillon/aspectEclipse.tgz">https://public.iscpif.fr/~reuillon/aspectEclipse.tgz</a></pre><br>
<pre style="margin: 0em;">I requires the use of a 32 bits JVM (export PATH).</pre><br>
<pre style="margin: 0em;">When launched with ./eclipse the aspect works.
When launched with java -jar
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -vmargs
-Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook, the aspect
is not working</pre><br>
<pre style="margin: 0em;">Cheers,
Rom</pre><br>
<tt>Le lundi 02 novembre 2009 &#xE0; 17:50 +0100, Romain a &#xE9;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Andrew,</pre><br>
<pre style="margin: 0em;">thank you for your answer.</pre><br>
<pre style="margin: 0em;">The level is specified in the config.ini:</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">#Product Runtime Configuration File
eclipse.application=aspect.import.testaspect
osgi.bundles.defaultStartLevel=4
eclipse.product=aspect.import.testaspect
osgi.splashPath=platform:/base/plugins/aspect.import
osgi.bundles=aspect.export,aspect.import,org.aspectj.runtime,org.aspectj.weaver,org.eclipse.core.contenttype,org.eclipse.core.jobs,org.eclipse.core.runtime@start,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.app,org.eclipse.equinox.common@2:start,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.equinox.weaving.aspectj@4:start,org.eclipse.equinox.weaving.caching@4:start,org.eclipse.equinox.weaving.caching.j9@4:start,org.eclipse.equinox.weaving.hook
</pre></blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">To confirm this I verified that the bundle is started using the console:</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">reuillon@polux:~/tmp/testAspect/eclipse$ java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -console -noexit -vmargs -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook</pre><br>
<pre style="margin: 0em;">osgi&gt;  [org.aspectj.osgi.service.caching] Created and registered SingletonCachingService.
Application started.
Method call.</pre><br>
<pre style="margin: 0em;"><br>osgi&gt;  ss</pre><br>
<pre style="margin: 0em;">Framework is launched.</pre><br>
<pre style="margin: 0em;">id  State       Bundle
0   ACTIVE      org.eclipse.osgi_3.5.1.R35x_v20090827
                 Fragments=1
1   RESOLVED    org.eclipse.equinox.weaving.hook_1.0.0.200905261348
                 Master=0
2   RESOLVED    aspect.export_1.0.0
3   RESOLVED    aspect.import_1.0.0
4   ACTIVE      org.aspectj.runtime_1.6.5.20090618034232
5   ACTIVE      org.aspectj.weaver_1.6.5.20090618034232
6&lt;&lt;LAZY&gt;&gt;      org.eclipse.core.contenttype_3.4.1.R35x_v20090826-0451
7   ACTIVE      org.eclipse.core.jobs_3.4.100.v20090429-1800
8   ACTIVE      org.eclipse.core.runtime_3.5.0.v20090525
9   RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.2.200.v20090429-1800
                 Master=13
10  ACTIVE      org.eclipse.equinox.app_1.2.0.v20090520-1800
11  ACTIVE      org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100
12  ACTIVE      org.eclipse.equinox.preferences_3.2.300.v20090520-1800
13  ACTIVE      org.eclipse.equinox.registry_3.4.100.v20090520-1800
                 Fragments=9
14  ACTIVE      org.eclipse.equinox.weaving.aspectj_1.0.0.200906171200
15  ACTIVE      org.eclipse.equinox.weaving.caching_1.0.0.200807082136
16  ACTIVE      org.eclipse.equinox.weaving.caching.j9_1.0.0.200807082136</pre><br>
<tt>osgi&gt;
</tt></blockquote><pre style="margin: 0em;"><br>Cheers,
Romain</pre><br>
<tt>Le lundi 02 novembre 2009 &#xE0; 09:24 -0700, Andrew Eisenberg a &#xE9;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">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?</pre><br>
<pre style="margin: 0em;">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:</pre><br>
<pre style="margin: 0em;">osgi&gt;  ss org.eclipse.equinox.weaving.aspectj</pre><br>
<pre style="margin: 0em;"><br>See here for more information:
<a  href="http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php">http://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.php</a></pre><br>
<pre style="margin: 0em;">Let me know if this solves your problem.</pre><br>
<tt>On Mon, Nov 2, 2009 at 7:47 AM, Romain&lt;romain.reuillon@xxxxxxxxx&gt;  wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi all,</pre><br>
<pre style="margin: 0em;">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:</pre><br>
<pre style="margin: 0em;">--------------------------------------------------------------
reuillon@polux:~/tmp/testAspect/eclipse$ ./eclipse</pre><br>
<pre style="margin: 0em;">[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.</pre><br>
<pre style="margin: 0em;">reuillon@polux:~/tmp/testAspect/eclipse$
--------------------------------------------------------------</pre><br>
<pre style="margin: 0em;">But when we bypass the native launcher the aspect is not used:</pre><br>
<pre style="margin: 0em;">--------------------------------------------------------------
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</pre><br>
<pre style="margin: 0em;">[org.aspectj.osgi.service.caching] Created and registered
SingletonCachingService.
Application started.
Method call.
[org.aspectj.osgi.service.caching] Shut down and unregistered
SingletonCachingService.</pre><br>
<pre style="margin: 0em;">reuillon@polux:~/tmp/testAspect/eclipse$
--------------------------------------------------------------</pre><br>
<pre style="margin: 0em;"><br>Do you have any idea how we may bypass the native launcher and make the
aspects work ?</pre><br>
<pre style="margin: 0em;">Cheers,
Romain</pre><br>
<pre style="margin: 0em;"><br>_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a></pre><br>
</blockquote></blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a>
</pre></blockquote><pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a></pre><br>
</blockquote><pre style="margin: 0em;">_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
<a  href="https://dev.eclipse.org/mailman/listinfo/ajdt-dev">https://dev.eclipse.org/mailman/listinfo/ajdt-dev</a></pre><br>
</blockquote><br>
]]></content:encoded>
		<pubDate>Mon, 02 Nov 2009 21:10:41 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/ajdt-dev/msg01450.html</guid>
		<author>lippert@xxxxxxx (Martin Lippert)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
