<?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>jdt-apt-dev</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/maillist.html</link>
		<description>jdt-apt-dev</description>
		<language>en-us</language>
		<pubDate>Fri, 03 May 2013 16:03:25 GMT</pubDate>
		<lastBuildDate>Fri, 03 May 2013 16:03:25 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>jdt-apt-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/jdt-apt-dev/maillist.html</link>
		</image>
 

	<item>
		<title>[jdt-apt-dev] Build Eclipse using Eclipse&#x200F;&#x200F;</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00129.html</link>
		<description> Hello Folks, I'm finding guide to compile/debug Eclipse using Eclipse (or the way Eclipse developers do in real).Hope to get any tip from you. Thanks,Jongwook </description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="">

<div dir='ltr'>
<font size="2" face="Tahoma"><font size="2" face="Tahoma">Hello Folks,</font><BR> <BR>I'm finding guide to compile/debug Eclipse using Eclipse (or the way Eclipse developers do in real).<BR>Hope to get any tip from you.<BR> <BR>Thanks,<BR>Jongwook<BR><br id="ecxFontBreak"></font> 		 	   		  </div>
</td></tr></table>]]></content:encoded>
		<pubDate>Wed, 11 Apr 2012 16:40:21 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00129.html</guid>
		<author>jongwook.kim@xxxxxxx (Jongwook Kim)</author>
	</item>


	<item>
		<title>RE: [jdt-apt-dev] Removal of error markers</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00128.html</link>
		<description> Hi, James.   Thanks for the well-researched question!   My recollection of that code is that our intention was to have the behavior as much like JDT markers as possible, but we didn't have a good hook with which to clear them.  Also, the person who initia...</description>
		<content:encoded><![CDATA[


<DIV dir=ltr align=left><SPAN class=953542915-22072009><FONT face=Arial 
color=#0000ff size=2>Hi, James.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953542915-22072009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=953542915-22072009><FONT face=Arial 
color=#0000ff size=2>Thanks for the well-researched 
question!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953542915-22072009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=953542915-22072009><FONT face=Arial 
color=#0000ff size=2>My recollection of that code is that our intention was to 
have the behavior as much like JDT markers as possible, but we didn't have a 
good hook with which to clear them.&nbsp; Also, the person who initially 
implemented them may not have been particularly clear or particularly concerned 
with the details; and we were mostly focused on the situation where autobuild 
was turned on, thus collapsing steps 5 and 6.&nbsp; There are currently one or 
two open bugs on differences between APT and JDT markers.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953542915-22072009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=953542915-22072009><FONT face=Arial 
color=#0000ff size=2>So I'd say it's "just the way things are" but if it 
changes, it will change in the direction of being more like 
JDT.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953542915-22072009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=953542915-22072009><FONT face=Arial 
color=#0000ff size=2>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953542915-22072009><FONT face=Arial 
color=#0000ff size=2>&nbsp; -walter</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=953542915-22072009></SPAN>&nbsp;</DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> jdt-apt-dev-bounces@xxxxxxxxxxx 
  [mailto:jdt-apt-dev-bounces@xxxxxxxxxxx] <B>On Behalf Of </B>James 
  Kingdon<BR><B>Sent:</B> Wednesday, July 22, 2009 8:13 AM<BR><B>To:</B> 
  jdt-apt-dev@xxxxxxxxxxx<BR><B>Subject:</B> [jdt-apt-dev] Removal of error 
  markers<BR></FONT><BR></DIV>
  <DIV></DIV><BR><FONT face=sans-serif size=2>Hi,</FONT> <BR><BR><FONT 
  face=sans-serif size=2>I have a question about the expected behaviour 
  regarding the moment at which an error marker is removed from the problems 
  view. The question may seem a little pedantic, but I just need to nail down 
  the expectations for a test scenario.</FONT> <BR><BR><FONT face=sans-serif 
  size=2>The question pertains to a project where "Build automatically" is 
  turned off, and I'm comparing what I see for an APT generated marker with what 
  happens for a Java compiler based error.</FONT> <BR><BR><FONT face=sans-serif 
  size=2>First, with a Java compiler error:</FONT> <BR><BR><FONT face=sans-serif 
  size=2>Action, Result</FONT> <BR><BR><FONT face=sans-serif size=2>1) Introduce 
  the error into the Java editor, error marker is added to editor, nothing in 
  problems view</FONT> <BR><FONT face=sans-serif size=2>2) Save the file, no 
  change</FONT> <BR><FONT face=sans-serif size=2>3) Build project, error marker 
  is added to the problems view</FONT> <BR><FONT face=sans-serif size=2>4) 
  Remove the error in the Java editor, marker in the editor is greyed out, no 
  change in the problems view</FONT> <BR><FONT face=sans-serif size=2>5) save 
  the file, no change,</FONT> <BR><FONT face=sans-serif size=2>6) Build the 
  project, greyed out error marker removed from the editor, marker removed from 
  the problems view.</FONT> <BR><BR><FONT face=sans-serif size=2>Now, with an 
  APT generated marker:</FONT> <BR><BR><FONT face=sans-serif size=2>1) Introduce 
  the error into the Java editor, error marker is added to editor, nothing in 
  problems view</FONT> <BR><FONT face=sans-serif size=2>2) Save the file, no 
  change</FONT> <BR><FONT face=sans-serif size=2>3) Build project, error marker 
  is added to the problems view</FONT> <BR><FONT face=sans-serif size=2>4) 
  Remove the error in the Java editor, marker in the editor is removed, no 
  change in the problems view</FONT> <BR><FONT face=sans-serif size=2>5) Save 
  the file, marker is removed from the problems view</FONT> <BR><FONT 
  face=sans-serif size=2>6) Build the project, no change</FONT> <BR><BR><FONT 
  face=sans-serif size=2>So, adding the markers is the same in both cases (steps 
  1 through 3), but the APT markers seem to be removed more aggressively, with 
  no greyed out stage in step 4 and the marker removed from the problems view 
  immediately on save in step 5. Are these differences intentional and correct 
  behaviour? Is it "just the way things are" and will be kept that way, or is 
  this something that should and will/might change in the future?</FONT> 
  <BR><BR><FONT face=sans-serif size=2>As I said, I don't see this as anything 
  other than a very minor usability oddity, so I'm not asking for a change. I 
  just need to be able to specify the expected behaviour for a test 
  scenario.</FONT> <BR><BR><FONT face=sans-serif size=2>Many thanks,<BR>James 
  Kingdon<BR></BLOCKQUOTE></FONT>
]]></content:encoded>
		<pubDate>Wed, 22 Jul 2009 15:34:00 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00128.html</guid>
		<author>eclipse@xxxxxxx (Walter Harley)</author>
	</item>
	<item>
		<title>[jdt-apt-dev] Removal of error markers</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00127.html</link>
		<description> Hi, I have a question about the expected behaviour regarding the moment at which an error marker is removed from the problems view. The question may seem a little pedantic, but I just need to nail down the expectations for a test scenario. The question pe...</description>
		<content:encoded><![CDATA[
<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I have a question about the expected
behaviour regarding the moment at which an error marker is removed from
the problems view. The question may seem a little pedantic, but I just
need to nail down the expectations for a test scenario.</font>
<br>
<br><font size=2 face="sans-serif">The question pertains to a project where
&quot;Build automatically&quot; is turned off, and I'm comparing what I
see for an APT generated marker with what happens for a Java compiler based
error.</font>
<br>
<br><font size=2 face="sans-serif">First, with a Java compiler error:</font>
<br>
<br><font size=2 face="sans-serif">Action, Result</font>
<br>
<br><font size=2 face="sans-serif">1) Introduce the error into the Java
editor, error marker is added to editor, nothing in problems view</font>
<br><font size=2 face="sans-serif">2) Save the file, no change</font>
<br><font size=2 face="sans-serif">3) Build project, error marker is added
to the problems view</font>
<br><font size=2 face="sans-serif">4) Remove the error in the Java editor,
marker in the editor is greyed out, no change in the problems view</font>
<br><font size=2 face="sans-serif">5) save the file, no change,</font>
<br><font size=2 face="sans-serif">6) Build the project, greyed out error
marker removed from the editor, marker removed from the problems view.</font>
<br>
<br><font size=2 face="sans-serif">Now, with an APT generated marker:</font>
<br>
<br><font size=2 face="sans-serif">1) Introduce the error into the Java
editor, error marker is added to editor, nothing in problems view</font>
<br><font size=2 face="sans-serif">2) Save the file, no change</font>
<br><font size=2 face="sans-serif">3) Build project, error marker is added
to the problems view</font>
<br><font size=2 face="sans-serif">4) Remove the error in the Java editor,
marker in the editor is removed, no change in the problems view</font>
<br><font size=2 face="sans-serif">5) Save the file, marker is removed
from the problems view</font>
<br><font size=2 face="sans-serif">6) Build the project, no change</font>
<br>
<br><font size=2 face="sans-serif">So, adding the markers is the same in
both cases (steps 1 through 3), but the APT markers seem to be removed
more aggressively, with no greyed out stage in step 4 and the marker removed
from the problems view immediately on save in step 5. Are these differences
intentional and correct behaviour? Is it &quot;just the way things are&quot;
and will be kept that way, or is this something that should and will/might
change in the future?</font>
<br>
<br><font size=2 face="sans-serif">As I said, I don't see this as anything
other than a very minor usability oddity, so I'm not asking for a change.
I just need to be able to specify the expected behaviour for a test scenario.</font>
<br>
<br><font size=2 face="sans-serif">Many thanks,<br>
James Kingdon<br>
</font>]]></content:encoded>
		<pubDate>Wed, 22 Jul 2009 15:13:01 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00127.html</guid>
		<author>jkingdon@xxxxxxx (James Kingdon)</author>
	</item>


	<item>
		<title>RE: [jdt-apt-dev] AnnotationProcessors, Jar files, and quick fixes</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00099.html</link>
		<description>Hi, J.P. Nice to hear such excitement! Let me encourage you to use the eclipse.tools.jdt newsgroup, rather than the mailing list, for questions on APT. More people pay attention to it, so you'll be more likely to get good answers, and it'll be easier for o...</description>
		<content:encoded><![CDATA[<pre>Hi, J.P.  Nice to hear such excitement!

Let me encourage you to use the eclipse.tools.jdt newsgroup, rather than
the mailing list, for questions on APT.  More people pay attention to
it, so you'll be more likely to get good answers, and it'll be easier
for others to search for those answers later.  And of course, you are
welcome to use Bugzilla (bugs.eclipse.org) to enter enhancement requests
and bug reports.

Re specifying a directory of compiled classes, the easiest way to get
this to work is to package your processors as plug-ins.  This is
discussed some in the Eclipsecon 2007 tutorial that's linked from the
APT web page, at <a  href="http://www.eclipse.org/jdt/apt/index.html">http://www.eclipse.org/jdt/apt/index.html</a> .  If you do
it this way, then the Eclipse plug-in development environment (PDE) does
the dirty work for you.

But basically, processor development is like plug-in development, in the
sense that you are writing code that is running as part of Eclipse (in
this case, as part of the compiler).  So you will always end up having
two instances of Eclipse, one being the &quot;host instance&quot; containing the
processor project, the other being the &quot;target instance&quot; that is running
the processor (and that contains the annotated code you are trying to
process).  It doesn't work to be editing the processor in the same
Eclipse instance that is running it, because in effect you'd be trying
to edit the compiler that you're compiling with.  That becomes a
classloader nightmare that we have avoided trying to solve.

Regarding the second question, the quick fix classes should be packaged
in the same place as your processor; one more reason to package the
processor as a plug-in rather than just as a jar.  Note that these are
not exclusive - you can have a processor that is an Eclipse plug-in but
that is still able to be used by javac at the command line, for instance
in Ant builds.  The tutorial discusses how to do this.

I'll be glad to try to go into more detail if needed - again, let me
encourage you towards the newsgroups rather than the mailing lists.

Thanks,
 -Walter Harley
  JDT APT lead
 

&gt; -----Original Message-----
&gt; From: jdt-apt-dev-bounces@xxxxxxxxxxx 
&gt; [<a  href="mailto:jdt-apt-dev-bounces@xxxxxxxxxxx">mailto:jdt-apt-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of J.P. Pellet
&gt; Sent: Thursday, October 23, 2008 9:47 AM
&gt; To: jdt-apt-dev@xxxxxxxxxxx
&gt; Subject: [jdt-apt-dev] AnnotationProcessors, Jar files, and 
&gt; quick fixes
&gt; 
&gt; Hi everyone,
&gt; 
&gt; I have discovered APT in the last few days and first of all, 
&gt; I have to say how incredibly handy and elegant this is. The 
&gt; JDT-APT implementation is also pretty impressive, great job, really!
&gt; 
&gt; I have two concerns. First of all, I'd find it nice to be 
&gt; able to specify also a directory of compiled classes in 
&gt; addition to jar files and plugins as a place to put 
&gt; AnnotationProcessors. For now, each time I change my 
&gt; processor source code, I have to regenerate the jar file 
&gt; referenced from the project properties page as source for 
&gt; AnnotationProcessors. If I could just specify the &quot;bin/&quot; 
&gt; folder of the project containing my processor, I wouldn't 
&gt; have to do this - or am I missing something?
&gt; 
&gt; Second question (I guess common, put couldn't get it to work) 
&gt; is about providing a quick fix for my errors. Do I need to 
&gt; package whatever classes are needed to do this in a plugin 
&gt; that belongs in my plugins folder, or can these classes be 
&gt; looked up in some referenced location, similarly to what is 
&gt; done for AnnotationProcessors?
&gt; 
&gt; Thanks in advance for your answers. Love this API, really, I 
&gt; haven't been so excited about a language features and what it 
&gt; allows in years.
&gt; 
&gt; Cheers,
&gt; J.-P._______________________________________________
&gt; jdt-apt-dev mailing list
&gt; jdt-apt-dev@xxxxxxxxxxx
&gt; <a  href="https://dev.eclipse.org/mailman/listinfo/jdt-apt-dev">https://dev.eclipse.org/mailman/listinfo/jdt-apt-dev</a>
&gt; 


</pre>]]></content:encoded>
		<pubDate>Thu, 23 Oct 2008 17:42:11 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00099.html</guid>
		<author>eclipse@xxxxxxx (Walter Harley)</author>
	</item>
	<item>
		<title>[jdt-apt-dev] AnnotationProcessors, Jar files, and quick fixes</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00098.html</link>
		<description>Hi everyone, I have discovered APT in the last few days and first of all, I have to say how incredibly handy and elegant this is. The JDT-APT implementation is also pretty impressive, great job, really! I have two concerns. First of all, I'd find it nice t...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi everyone,</pre><br>
<tt>I have discovered APT in the last few days and first of all, I have to  
say how incredibly handy and elegant this is. The JDT-APT  
implementation is also pretty impressive, great job, really!</tt><br>
<br>
<tt>I have two concerns. First of all, I'd find it nice to be able to  
specify also a directory of compiled classes in addition to jar files  
and plugins as a place to put AnnotationProcessors. For now, each time  
I change my processor source code, I have to regenerate the jar file  
referenced from the project properties page as source for  
AnnotationProcessors. If I could just specify the &quot;bin/&quot; folder of the  
project containing my processor, I wouldn't have to do this &#x2014; or am I  
missing something?</tt><br>
<br>
<tt>Second question (I guess common, put couldn't get it to work) is about  
providing a quick fix for my errors. Do I need to package whatever  
classes are needed to do this in a plugin that belongs in my plugins  
folder, or can these classes be looked up in some referenced location,  
similarly to what is done for AnnotationProcessors?</tt><br>
<br>
<tt>Thanks in advance for your answers. Love this API, really, I haven't  
been so excited about a language features and what it allows in years.</tt><br>
<br>
<pre style="margin: 0em;">Cheers,
J.-P.
</pre>]]></content:encoded>
		<pubDate>Thu, 23 Oct 2008 16:46:38 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00098.html</guid>
		<author>jpp-mac@xxxxxxx (J.P. Pellet)</author>
	</item>


	<item>
		<title>RE: [jdt-apt-dev] Intro to APT, debugging APs</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00097.html</link>
		<description>Hi, Michael. Yeah, that page is pretty deeply out of date - sorry about that; one of the items on the Eclipse 3.5 project plan is to update the web site and add better tutorial material. In the meanwhile, I highly recommend working through the EclipseCon 2...</description>
		<content:encoded><![CDATA[<pre>Hi, Michael.

Yeah, that page is pretty deeply out of date - sorry about that; one of
the items on the Eclipse 3.5 project plan is to update the web site and
add better tutorial material.

In the meanwhile, I highly recommend working through the EclipseCon 2007
tutorial that is listed on <a  href="http://www.eclipse.org/jdt/apt/">http://www.eclipse.org/jdt/apt/</a> .

Personally, when developing annotation processors, I like to package
them in Eclipse plug-ins, which makes debugging easier because you can
use the Eclipse plug-in development environment (PDE).  That's described
in the tutorial mentioned above.  But it is also possible to debug a
plain-vanilla annotation processor jar in Eclipse.  

The basic idea is that you have one Eclipse instance (the &quot;host
instance&quot;) that contains the source code of the processor jar, and
perhaps also the source code of the org.eclipse.jdt.apt.core and
org.eclipse.jdt.apt.pluggable plug-ins (not necessary, but often
helpful); from this Eclipse instance, you then launch another Eclipse
instance as your debug target.  In the target instance you would have
projects containing annotated code, that your processor is going to
process; and you add your processor jar to the factory path in that
instance.  You would put breakpoints on processor code in the host
instance, and then in the target instance you build your annotated
project code, causing the processor to execute, and you'll hit the
breakpoints in the host instance.

If you make code changes to the processor code, you'll need to rebuild
the processor jar and restart the target instance, for the changes to
have an effect.  If you package the processor as a plug-in, then PDE
will take care of this for you.

If you have problems or questions, feel free to post them to the
eclipse.tools.jdt newsgroup.

Thanks!
  -Walter Harley
   JDT APT lead


 

&gt; -----Original Message-----
&gt; From: jdt-apt-dev-bounces@xxxxxxxxxxx 
&gt; [<a  href="mailto:jdt-apt-dev-bounces@xxxxxxxxxxx">mailto:jdt-apt-dev-bounces@xxxxxxxxxxx</a>] On Behalf Of Michael Reed
&gt; Sent: Monday, September 22, 2008 10:18 AM
&gt; To: 'jdt-apt-dev@xxxxxxxxxxx'
&gt; Subject: [jdt-apt-dev] Intro to APT, debugging APs
&gt; 
&gt; Hi,
&gt; I have an already-written Annotation Processor that is 
&gt; invoked via a makefile (and apt.exe).  I'd like to be able to 
&gt; run it in a debugger.  I'm trying to run the tutorial found 
&gt; here, <a  href="http://www.eclipse.org/jdt/apt/introToAPT.html">http://www.eclipse.org/jdt/apt/introToAPT.html</a> , but it 
&gt; requires org.eclipse.core.runtime.Plugin, which I don't have 
&gt; &amp; can't find anywhere.  Are there other docs that might help 
&gt; me get started?
&gt; 
&gt; Thanks much,
&gt; Mike


</pre>]]></content:encoded>
		<pubDate>Mon, 22 Sep 2008 18:45:18 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00097.html</guid>
		<author>eclipse@xxxxxxx (Walter Harley)</author>
	</item>
	<item>
		<title>[jdt-apt-dev] Intro to APT, debugging APs</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00096.html</link>
		<description>Hi, I have an already-written Annotation Processor that is invoked via a makefile (and apt.exe). I'd like to be able to run it in a debugger. I'm trying to run the tutorial found here, http://www.eclipse.org/jdt/apt/introToAPT.html , but it requires org.ec...</description>
		<content:encoded><![CDATA[<pre>Hi,
I have an already-written Annotation Processor that is invoked via a makefile (and apt.exe).  I'd like to be able to run it in a debugger.  I'm trying to run the tutorial found here, <a  href="http://www.eclipse.org/jdt/apt/introToAPT.html">http://www.eclipse.org/jdt/apt/introToAPT.html</a> , but it requires org.eclipse.core.runtime.Plugin, which I don't have &amp; can't find anywhere.  Are there other docs that might help me get started?

Thanks much,
Mike

</pre>]]></content:encoded>
		<pubDate>Mon, 22 Sep 2008 17:17:45 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00096.html</guid>
		<author>mreed@xxxxxxx (Michael Reed)</author>
	</item>


	<item>
		<title>[jdt-apt-dev] Draft JDT APT 3.5 plan available</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00095.html</link>
		<description>A draft of the development plan for JDT APT in Eclipse 3.5 has been posted at http://www.eclipse.org/jdt/apt/plan.php . The plan is intentionally very limited, reflecting the minimal resources available for this volunteer-staffed project. Any additional he...</description>
		<content:encoded><![CDATA[<pre>A draft of the development plan for JDT APT in Eclipse 3.5 has been
posted at <a  href="http://www.eclipse.org/jdt/apt/plan.php">http://www.eclipse.org/jdt/apt/plan.php</a> .

The plan is intentionally very limited, reflecting the minimal resources
available for this volunteer-staffed project.  Any additional help is
always welcome!

Please direct comments to the jdt-apt-dev@xxxxxxxxxxx list, or to the
eclipse.tools.jdt newsgroup.  (Or just send 'em directly to me,
eclipse@xxxxxxxxxxxxxxx)

Thanks,
 -Walter Harley
  JDT APT lead


</pre>]]></content:encoded>
		<pubDate>Fri, 12 Sep 2008 06:18:19 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00095.html</guid>
		<author>eclipse@xxxxxxx (Walter Harley)</author>
	</item>


	<item>
		<title>RE: [jdt-apt-dev] using the same apt plugin in several project</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00094.html</link>
		<description> Hi, Alessandro.  In general, this sort of question should be posted on the eclipse.tools.jdt newsgroup, where it will get much more readership than it could on the mailing list.  This mailing list is intended for use by people developing the Eclipse APT i...</description>
		<content:encoded><![CDATA[


<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2>Hi, Alessandro.&nbsp; In general, this sort of question 
should be posted on the eclipse.tools.jdt newsgroup, where it will get much more 
readership than it could on the mailing list.&nbsp; This mailing list is 
intended for use by people developing the Eclipse APT implementation, rather 
than for users of APT.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2>But I'll answer your question anyway:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2>"Yes and no."&nbsp; :-)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2>Unfortunately there's no way to change the global factory 
path; there is also no global setting to turn on annotation processing in all 
projects.&nbsp; This was something we considered in the initial APT design, but 
it led to certain ambiguities that we couldn't find good resolutions for, and at 
the time we didn't have a compelling use case for it, so it was shelved.&nbsp; 
Feel free to enter it as an enhancement request (but don't get your hopes up too 
high unless you're also willing to contribute the code - there's not much active 
development happening on APT right now).</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2>However, if you wrap your processor in an Eclipse plugin 
that extends org.eclipse.jdt.apt.annotationProcessorFactories, the extension 
point attributes will let you&nbsp;set the processor so that by default it is 
active in all projects.&nbsp; You still need to enable annotation processing on 
a project by project basis, but at least the processor will be present in all 
enabled projects, without needing to edit the factory path.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2>Most processors are only relevant to particular project 
types - for instance, an EJB processor should only be on the factory path of an 
EJB project, you wouldn't want it to show up in a J2SE project.&nbsp; So 
t</FONT></SPAN><SPAN class=250532315-23062008><FONT face=Arial color=#0000ff 
size=2>ypically&nbsp;a&nbsp;project creation wizard is written to add the 
necessary items to the factory path and enable processing, at the time the 
project is created.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2>When the Eclipse APT implementation was first written, we 
envisioned the possibility of generic code inspection processors, that a user 
might want to apply to all of the Java-based projects.&nbsp; However, no such 
processors existed at the time, and they are still quite rare, because of 
certain weaknesses in the APT API that tend to make it insufficient for that 
task.&nbsp; Lacking a good use case, when we ran into problems trying to 
implement global enablement, we decided to leave it 
unimplemented.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2>Hope that helps,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2>&nbsp; -Walter Harley</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=250532315-23062008><FONT face=Arial 
color=#0000ff size=2>&nbsp;&nbsp; JDT APT lead</FONT></SPAN></DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> jdt-apt-dev-bounces@xxxxxxxxxxx 
  [mailto:jdt-apt-dev-bounces@xxxxxxxxxxx] <B>On Behalf Of </B>alessandro 
  cinelli<BR><B>Sent:</B> Monday, June 23, 2008 6:47 AM<BR><B>To:</B> 
  jdt-apt-dev@xxxxxxxxxxx<BR><B>Subject:</B> [jdt-apt-dev] using the same apt 
  plugin in several project<BR></FONT><BR></DIV>
  <DIV></DIV>Hi all,<BR>I'm developing an apt plugin for my projects.<BR>What i 
  would like to know is if i have to specify the Factory Path in the project 
  properties or if i can export the apt plugin globally in eclipse (as part of 
  it) so i don't have to specifying the Factory Path in every 
  projects.<BR><BR>thanks.<BR><BR><BR>cirpo<BR></BLOCKQUOTE>
]]></content:encoded>
		<pubDate>Mon, 23 Jun 2008 16:18:30 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00094.html</guid>
		<author>eclipse@xxxxxxx (Walter Harley)</author>
	</item>
	<item>
		<title>[jdt-apt-dev] using the same apt plugin in several project</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00093.html</link>
		<description>Hi all,I&amp;#39;m developing an apt plugin for my projects.What i would like to know is if i have to specify the Factory Path in the project properties or if i can export the apt plugin globally in eclipse (as part of it) so i don&amp;#39;t have to specifying the Factory...</description>
		<content:encoded><![CDATA[Hi all,<br>I&#39;m developing an apt plugin for my projects.<br>What i would like to know is if i have to specify the Factory Path in the project properties or if i can export the apt plugin globally in eclipse (as part of it) so i don&#39;t have to specifying the Factory Path in every projects.<br>
<br>thanks.<br><br><br>cirpo<br>
]]></content:encoded>
		<pubDate>Mon, 23 Jun 2008 13:46:37 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jdt-apt-dev/msg00093.html</guid>
		<author>alessandro.cinelli@xxxxxxx (alessandro cinelli)</author>
	</item>

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