<?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>aspectj-dev</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/maillist.html</link>
		<description>aspectj-dev</description>
		<language>en-us</language>
		<pubDate>Fri, 20 Nov 2009 19:10:11 GMT</pubDate>
		<lastBuildDate>Fri, 20 Nov 2009 19:10:11 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>aspectj-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/aspectj-dev/maillist.html</link>
		</image>
 

	<item>
		<title>[aspectj-dev] Re: aspectj-dev Digest, Vol 56, Issue 5</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02633.html</link>
		<description> -----Original Message----- From: aspectj-dev-request@xxxxxxxxxxx Date: 11/20/2009 01:19 PM To: aspectj-dev@xxxxxxxxxxx Subject: Re: aspectj-dev Digest, Vol 56, Issue 5 Note: Original message sent as attachment    Doctorate Degrees Online Boost your career...</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>aspectj-dev-request@xxxxxxxxxxx<br>
<B>Date: </B>11/20/2009 01:19 PM<br>
<B>To: </B>aspectj-dev@xxxxxxxxxxx<br>
<B>Subject: </B>Re: aspectj-dev Digest, Vol 56, Issue 5<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=LbBTsArorpc2BPSdiZzvRAAAKZUjNMsh6n1T2JnUl1lkKTEWAAQAAAAFAAAAADMzkz4AAAMlAAAAAAAAAAAAAAAAAAAyOcYkJwM=" 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=LbBTsArorpc2BPSdiZzvRAAAKZUjNMsh6n1T2JnUl1lkKTEWAAQAAAAFAAAAADMzkz4AAAMlAAAAAAAAAAAAAAAAAAAyOcYkJwM=" 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=LbBTsArorpc2BPSdiZzvRAAAKZUjNMsh6n1T2JnUl1lkKTEWAAQAAAAFAAAAADMzkz4AAAMlAAAAAAAAAAAAAAAAAAAyOcYkJwM=" 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:aspectj-dev-request@DOMAIN.HIDDEN">aspectj-dev-request@xxxxxxxxxxx</a></li>
<li><em>Date</em>: Fri, 20 Nov 2009 12:00:13 -0500 (EST)</li>
<li><em>Delivered-to</em>: allgoals2007.myway@masc008.roc2.bluetie.com</li>
</ul>
<pre>Send aspectj-dev mailing list submissions to
	aspectj-dev@xxxxxxxxxxx

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

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

When replying, please edit your Subject line so it is more specific
than &quot;Re: Contents of aspectj-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: [aspectj-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;


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

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


End of aspectj-dev Digest, Vol 56, Issue 5
******************************************

nJv&#xA9;</pre><br><small>---&nbsp;<i>End Message</i>&nbsp;---</small></blockquote>
]]></content:encoded>
		<pubDate>Fri, 20 Nov 2009 19:07:21 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02633.html</guid>
		<author>allgoals2007@xxxxxxx (go)</author>
	</item>


	<item>
		<title>[aspectj-dev] Re: new AJDT builds</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02632.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/aspectj-dev/msg02632.html</guid>
		<author>andrew@xxxxxxx (Andrew Eisenberg)</author>
	</item>
	<item>
		<title>[aspectj-dev] new AJDT builds</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02631.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/aspectj-dev/msg02631.html</guid>
		<author>andrew@xxxxxxx (Andrew Eisenberg)</author>
	</item>


	<item>
		<title>[aspectj-dev] Second article: the speed of AspectJ 1.6.7</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02630.html</link>
		<description>Following up on the timer infrastructure in AspectJ which I wrote about last week, I've now written up some notes about the kind of language features that get the biggest performance improvement in AspectJ 1.6.7. It is here: http://andrewclement.blogspot.c...</description>
		<content:encoded><![CDATA[<pre>Following up on the timer infrastructure in AspectJ which I wrote
about last week, I've now written up some notes about the kind of
language features that get the biggest performance improvement in
AspectJ 1.6.7.  It is here:

<a  href="http://andrewclement.blogspot.com/2009/11/aspectj-how-much-faster-is-aspectj-167.html">http://andrewclement.blogspot.com/2009/11/aspectj-how-much-faster-is-aspectj-167.html</a>

Please try out the latest AspectJ dev build if you can, or grab the
latest AJDT for Eclipse 3.5 which includes it.  I've made some pretty
fundamental changes here and there to speed things up, so would like
to hear sooner rather than later if I have regressed any
functionality...

oh, and don't feel shy about sharing any positive experiences either,
I do hope you all see some kind of benefit!

cheers,
Andy

</pre>]]></content:encoded>
		<pubDate>Mon, 16 Nov 2009 20:03:10 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02630.html</guid>
		<author>andrew.clement@xxxxxxx (Andy Clement)</author>
	</item>


	<item>
		<title>[aspectj-dev] AspectJ 1.6.7 - faster than ever.</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02629.html</link>
		<description>I've been a bit quiet on the list lately, I've had my head down in AspectJ adding some timing infrastructure. I've just put up a first blog article about what you can find in the latest AspectJ. Basically the latest dev builds will produce profiling inform...</description>
		<content:encoded><![CDATA[<pre>I've been a bit quiet on the list lately, I've had my head down in
AspectJ adding some timing infrastructure.  I've just put up a first
blog article about what you can find in the latest AspectJ.  Basically
the latest dev builds will produce profiling information for your
pointcuts allowing you to see which pointcuts are hurting your compile
times.  Information like this:

Pointcut matching cost (total=6532ms for 675000 joinpoint match calls):
Time:482ms (jps:#168585) matching against
    (staticinitialization(*y*.()) &amp;&amp; persingleton(SimpleAspect))
Time:3970ms (jps:#168585) matching against
    (execution(* *t*.*(*)) &amp;&amp; persingleton(SimpleAspect))
Time:538ms (jps:#168584) matching against
    (execution(* *f*(..)) &amp;&amp; persingleton(SimpleAspect))
Time:1536ms (jps:#168584) matching against
    (execution(* java.lang.CharSequence+.*e*(..)) &amp;&amp; persingleton(SimpleAspect))
Time:4ms (jps:#662) matching against
    (within(*p*) &amp;&amp; persingleton(SimpleAspect))

Post is here:
<a  href="http://andrewclement.blogspot.com/2009/11/aspectj-profiling-pointcut-matching.html">http://andrewclement.blogspot.com/2009/11/aspectj-profiling-pointcut-matching.html</a>

Please have a read and try it out.  Based on the results of it I've
changed a few key algorithms internal to AspectJ.  What difference
does it make? Well just to wet your appetite:

Aspect:
aspect SimpleAspect {
  before(): execution(* CharSequence+.*e*(..)) {}
}

AspectJ1.6.6:
ajc -timers SimpleAspect.aj -inpath rt.jar -outjar woven.jar
Compiler took 19260ms

AspectJ1.6.7 dev builds:
ajc -timers SimpleAspect.aj -inpath rt.jar -outjar woven.jar
Compiler took 12531ms

I'll put out a second article about matching improvements shortly.  It
will cover what is faster (and why it is faster) and how you can make
sure you benefit from the speed up.

cheers,
Andy

</pre>]]></content:encoded>
		<pubDate>Tue, 10 Nov 2009 22:12:03 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02629.html</guid>
		<author>andrew.clement@xxxxxxx (Andy Clement)</author>
	</item>


	<item>
		<title>[aspectj-dev] Project meta data is out of date for tools.aspectj</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02628.html</link>
		<description>Adrian, 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;1.6.6&amp;quot; is in the past, but the release is not ma...</description>
		<content:encoded><![CDATA[<pre>Adrian,
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;1.6.6&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.
* Project home page does not exist (projecturl =
<a  href="http://eclipse.org/aspectj/">http://eclipse.org/aspectj/</a> returns a 404)


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


	<item>
		<title>Re: [aspectj-dev] Fwd: metacomments and aspectj - need suggestion</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02627.html</link>
		<description>Sergey Staroletov schrieb: ... Hello Sergey, thanks for the clarification.... interesting idea! so for example in a unit test you could verify something specific &amp;quot;happens&amp;quot; in an marked area within the implementation of the feature to be tested? Anyway, bes...</description>
		<content:encoded><![CDATA[<pre>Sergey Staroletov schrieb:
&gt; I am doing my research in software testing on various levers of abstraction.
...
&gt; I think I can provide dinamic testing of pieces of marked code by realize
&gt; this aspectJ extension.

Hello Sergey,

thanks for the clarification.... interesting idea! so for example
in a unit test you could verify something specific &quot;happens&quot; in an
marked area within the implementation of the feature to be tested?

Anyway, best wishes for your project!
Hermann



</pre>]]></content:encoded>
		<pubDate>Sat, 24 Oct 2009 12:57:10 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02627.html</guid>
		<author>prg@xxxxxxx (Ichthyostega)</author>
	</item>
	<item>
		<title>Re: [aspectj-dev] Fwd: metacomments and aspectj - need suggestion</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02626.html</link>
		<description>Hello Hermann &amp;#xA0; I am doing my research in software testing on various levers of abstraction.&amp;#xA0;I&amp;#39;m know about maintenance problems but my work&amp;#xA0;relies on&amp;#xA0;&amp;#39;code is model&amp;#39;. I think I can provide dinamic testing of peices of marked&amp;#xA0;code by realize this aspectJ e...</description>
		<content:encoded><![CDATA[<div>Hello Hermann</div>
<div>&#xA0;</div>
<div>I am doing my research in software testing on various levers of abstraction.&#xA0;I&#39;m know about maintenance problems but my work&#xA0;relies on&#xA0;&#39;code is model&#39;. I think I can provide dinamic testing of peices of marked&#xA0;code by realize this aspectJ extension.</div>

<div>ps. It is only the research.<br><br></div>
<div class="gmail_quote">2009/10/24 Ichthyostega <span dir="ltr">&lt;<a href="mailto:prg@xxxxxxxxxxxxxxx">prg@xxxxxxxxxxxxxxx</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">&gt; 2009/10/23 Ichthyostega &lt;<a href="mailto:prg@xxxxxxxxxxxxxxx">prg@xxxxxxxxxxxxxxx</a> &lt;mailto:<a href="mailto:prg@xxxxxxxxxxxxxxx">prg@xxxxxxxxxxxxxxx</a>&gt;&gt;<br>

<div class="im">&gt; But I may be wrong, and thus I&#39;m curious what could prevent you from building<br>&gt; on a set of special annotations?<br><br></div>Sergey Staroletov schrieb:<br>
<div class="im">&gt; as I know, annotations is only for methods, isn&#39;t it?<br></div>...of course (and besides that, for classes and parameters too).<br>But that doesn&#39;t answer my question, just makes it more clear.<br>
<br>What prevents you from building the feature you&#39;re after on<br>method level, and thus use the facilities of the language<br>(including AspectJ, which is very good on working with<br>annotations btw)?<br><br>I&#39;m asking, as said, because I&#39;m puzzled about the use case, where<br>
going down to single statement level with any cross-cutting mechanism<br>might be of benefit?<br><br>I could imagine performance measurements, but micro-optimising single<br>lines to my experience always created maintenance problems later on<br>
<br>I could imagine security or transactional behaviour, but would you<br>really rely on such a fragile construct as a comment is for such<br>mission critical concerns? The same argument holds for reasoning<br>about correctness, pre- and post conditions.<br>
<br><br>You see, probably you&#39;re looking after a use case which is quite<br>different of the common situations, and that&#39;s what makes me<br>curious... ;-)<br><br>Greetings,<br>
<div>
<div></div>
<div class="h5">Hermann V.<br><br><br>_______________________________________________<br>aspectj-dev mailing list<br><a href="mailto:aspectj-dev@xxxxxxxxxxx">aspectj-dev@xxxxxxxxxxx</a><br><a href="https://dev.eclipse.org/mailman/listinfo/aspectj-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/aspectj-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>&#x421; &#x443;&#x432;&#x430;&#x436;&#x435;&#x43D;&#x438;&#x435;&#x43C;, &#x421;&#x442;&#x430;&#x440;&#x43E;&#x43B;&#x435;&#x442;&#x43E;&#x432; &#x421;&#x435;&#x440;&#x433;&#x435;&#x439;<br>
]]></content:encoded>
		<pubDate>Sat, 24 Oct 2009 08:26:56 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02626.html</guid>
		<author>sergey.staroletov@xxxxxxx (Sergey Staroletov)</author>
	</item>


	<item>
		<title>Re: [aspectj-dev] Fwd: metacomments and aspectj - need suggestion</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02625.html</link>
		<description> Sergey Staroletov schrieb: ...of course (and besides that, for classes and parameters too). But that doesn't answer my question, just makes it more clear. What prevents you from building the feature you're after on method level, and thus use the facilitie...</description>
		<content:encoded><![CDATA[<pre>&gt; 2009/10/23 Ichthyostega &lt;prg@xxxxxxxxxxxxxxx &lt;<a  href="mailto:prg@xxxxxxxxxxxxxxx">mailto:prg@xxxxxxxxxxxxxxx</a>&gt;&gt; 
&gt; But I may be wrong, and thus I'm curious what could prevent you from building
&gt; on a set of special annotations?

Sergey Staroletov schrieb:
&gt; as I know, annotations is only for methods, isn't it?
...of course (and besides that, for classes and parameters too).
But that doesn't answer my question, just makes it more clear.

What prevents you from building the feature you're after on
method level, and thus use the facilities of the language
(including AspectJ, which is very good on working with
annotations btw)?

I'm asking, as said, because I'm puzzled about the use case, where
going down to single statement level with any cross-cutting mechanism
might be of benefit?

I could imagine performance measurements, but micro-optimising single
lines to my experience always created maintenance problems later on

I could imagine security or transactional behaviour, but would you
really rely on such a fragile construct as a comment is for such
mission critical concerns? The same argument holds for reasoning
about correctness, pre- and post conditions.


You see, probably you're looking after a use case which is quite
different of the common situations, and that's what makes me
curious... ;-)

Greetings,
Hermann V.



</pre>]]></content:encoded>
		<pubDate>Fri, 23 Oct 2009 19:22:17 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02625.html</guid>
		<author>prg@xxxxxxx (Ichthyostega)</author>
	</item>
	<item>
		<title>Re: [aspectj-dev] Fwd: metacomments and aspectj - need suggestion</title>
		<link>http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02624.html</link>
		<description>Hello! yes, comments is static. but I deal with not only printing(it was only example), may be it will be a seriuos code to processing comments depend on it&amp;#39;s meaning. 2009/10/23 Eric Bodden &amp;lt;eric.bodden@xxxxxxxxxxxxxx&amp;gt; -- &amp;#xD0; &amp;#xD1;&amp;#xD0;0;&amp;#xD0;&amp;#xD0;&amp;#xD0;&amp;#xD0;D0;&amp;#xD0;, &amp;#xD0;&amp;#xD1;&amp;#xD0;&amp;#xD1;D0;&amp;#xD0;0;&amp;#xD1;#xD0;#...</description>
		<content:encoded><![CDATA[<div>Hello!</div>
<div>yes, comments is static. but I deal with not only printing(it was only example), may be it will be a seriuos code to processing comments depend on it&#39;s meaning.<br><br></div>
<div class="gmail_quote">2009/10/23 Eric Bodden <span dir="ltr">&lt;<a href="mailto:eric.bodden@xxxxxxxxxxxxxx">eric.bodden@xxxxxxxxxxxxxx</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Sergev/Andrew and others.<br><br>I think what you are trying to do would be possible with abc (the<br>AspectBench Compiler), however, it may be overkill. A simple parser<br>
should do, actually. Both ajc and abc are designed to implement<br>joinpoints that are dynamic, i.e. execute at runtime of the program.<br>What Sergev is trying to do is matching purely static entities<br>(comments) and actually printing them *at compile time*. This does not<br>
have much to do with AOP. I would suggest to use a simple SableCC or<br>JavaCC parser. You could use a simple visitor to print the comments.<br><br>Another alternative could even be to use awk, grep and/or sed.<br><br>Eric<br>
<br>--<br>Eric Bodden<br>Software Technology Group, Technische Universit&#xC3;t Darmstadt, Germany<br>Tel: +49 6151 16-5478 &#xC2; &#xC2;Fax: +49 6151 16-5410<br>Mailing Address: S2|02 A209, Hochschulstra&#xC3;e 10, 64289 Darmstadt<br><br><br>
<br>2009/10/22 Andrew Eisenberg &lt;<a href="mailto:andrew@xxxxxxxxxxxx">andrew@xxxxxxxxxxxx</a>&gt;:<br>
<div>
<div></div>
<div class="h5">&gt; Hi there,<br>&gt;<br>&gt; The ajc compiler was not designed to be extensible by end users. &#xC2;Its<br>&gt; focus has is efficiency and stability. &#xC2;However, the AspectBench<br>&gt; compiler is designed for extensibility and for testing out new ideas.<br>
&gt; This might be more suitable to your purposes.<br>&gt;<br>&gt; <a href="http://abc.comlab.ox.ac.uk/introduction" target="_blank">http://abc.comlab.ox.ac.uk/introduction</a><br>&gt;<br>&gt; 2009/10/22 Sergey Staroletov &lt;<a href="mailto:sergey.staroletov@xxxxxxxxx">sergey.staroletov@xxxxxxxxx</a>&gt;:<br>
&gt;&gt; Hello. I&#39;m doing my first step research in AspectJ because I am thinking<br>&gt;&gt; that one feature in it&#xC2;will help me in my big research project. I want to<br>&gt;&gt; try&#xC2;to extend aspectj language to process my&#xC2; special&#xC2;&#xC2;comments (non-java<br>
&gt;&gt; doc,&#xC2;just single-line or multi-line user comments)&#xC2;in java files with<br>&gt;&gt; aspectj weaving. In my idea It will be as:<br>&gt;&gt;<br>&gt;&gt; in aj file (added new word &#39;comment&#39;)<br>&gt;&gt;<br>&gt;&gt; pointcut point(String s) :&#xC2;comment(s);<br>
&gt;&gt;<br>&gt;&gt; long before(String s) : point(s) {<br>&gt;&gt;<br>&gt;&gt; System.out.println(s) ;<br>&gt;&gt;<br>&gt;&gt; }<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; in java file<br>&gt;&gt;<br>&gt;&gt; System.out.println(&quot;start&quot;) ;<br>
&gt;&gt;<br>&gt;&gt; //comment here<br>&gt;&gt;<br>&gt;&gt; System.out.println(&quot;stop&quot;) ;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; and sample result<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; start<br>
&gt;&gt;<br>&gt;&gt; comment here<br>&gt;&gt;<br>&gt;&gt; stop<br>&gt;&gt;<br>&gt;&gt; I am thinking that instruction to process comment&#xC2;will be inserting between<br>&gt;&gt; code line before comment and code line after comment<br>
&gt;&gt;<br>&gt;&gt; It is possible to realize by myself and where can i find the develper<br>&gt;&gt; documentation? (And what&#xC2;shall I do to patch existing code (I&#39;ve downloaded<br>&gt;&gt; AJT source&#xC2;to my Eclipse, built and tried to debug this - but I&#39;m lost my<br>
&gt;&gt; way)&#xC2;?<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; &#xD0; &#xD1;&#xD0;&#xD0;&#xD0;&#xD0;&#xD0;&#xD0;&#xD0;&#xD0;, &#xD0;&#xD1;&#xD0;&#xD1;&#xD0;&#xD0;&#xD0;&#xD1;&#xD0;&#xD0; &#xD0;&#xD0;&#xD1;&#xD0;&#xD0;&#xD0;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; aspectj-dev mailing list<br>&gt;&gt; <a href="mailto:aspectj-dev@xxxxxxxxxxx">aspectj-dev@xxxxxxxxxxx</a><br>
&gt;&gt; <a href="https://dev.eclipse.org/mailman/listinfo/aspectj-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/aspectj-dev</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt; _______________________________________________<br>
&gt; aspectj-dev mailing list<br>&gt; <a href="mailto:aspectj-dev@xxxxxxxxxxx">aspectj-dev@xxxxxxxxxxx</a><br>&gt; <a href="https://dev.eclipse.org/mailman/listinfo/aspectj-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/aspectj-dev</a><br>
&gt;<br>_______________________________________________<br>aspectj-dev mailing list<br><a href="mailto:aspectj-dev@xxxxxxxxxxx">aspectj-dev@xxxxxxxxxxx</a><br><a href="https://dev.eclipse.org/mailman/listinfo/aspectj-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/aspectj-dev</a><br>
</div></div></blockquote></div><br><br clear="all">
<div></div><br>-- <br>&#xD0; &#xD1;&#xD0;&#xD0;&#xD0;&#xD0;&#xD0;&#xD0;&#xD0;&#xD0;, &#xD0;&#xD1;&#xD0;&#xD1;&#xD0;&#xD0;&#xD0;&#xD1;&#xD0;&#xD0; &#xD0;&#xD0;&#xD1;&#xD0;&#xD0;&#xD0;<br>
]]></content:encoded>
		<pubDate>Fri, 23 Oct 2009 17:26:41 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg02624.html</guid>
		<author>sergey.staroletov@xxxxxxx (Sergey Staroletov)</author>
	</item>

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