Chris,
Yup, we’re completely reliant on the API tools and have been
since the first usable milestones almost a year ago. In terms of new SDK
features, this has been the most helpful one in recent memory. Good to see
that you summarized all the core features nicely in the developerWorks article.
Mik
--
Mik Kersten
CEO: http://tasktop.com/blog
Project Lead: http://eclipse.org/mylyn
From:
mylyn-dev-bounces@xxxxxxxxxxx [mailto:mylyn-dev-bounces@xxxxxxxxxxx] On
Behalf Of Chris Aniszczyk
Sent: Friday, January 09, 2009 8:05 AM
To: Mylyn developer discussions
Subject: Re: [mylyn-dev] @since tag
On a side note, I highly
recommend that the Mylyn team use PDE API Tools to help with @since tag
tracking.
http://www.ibm.com/developerworks/opensource/library/os-eclipse-api-tools/index.html
On Thu, Jan 8, 2009 at 11:19 PM, David Green <dgreen99@xxxxxxxxx> wrote:
In case anyone needs to do this again, this is what I used:
<?xml
version="1.0" encoding="UTF-8"?>
<project name="since" default="all">
<target name="all">
<replaceregexp flags="s" match="(\s+)(\*/\s+public
class)">
<substitution _expression_="\1*
@since 1.0\1\2"/>
<fileset dir="..">
<include name="org.eclipse.mylyn.wikitext*/src/**/*.java"/>
<exclude name="org.eclipse.mylyn.wikitext.tests/**/*"/>
<exclude name="**/internal/**/*"/>
</fileset>
</replaceregexp>
</target>
</project>
I have used ant in the past to
add annotations to generated code. You can find an example in
o.e.m.jira.core/build-helper.xml:
<replace
dir="src/org/eclipse/mylyn/internal/jira/core/wsdl">
<include
name="**/*.java"/>
<replacetoken><![CDATA[
public ]]></replacetoken>
<replacevalue><![CDATA[
@SuppressWarnings("all")
public ]]></replacevalue>
</replace>
For adding the @since tags it might be possible to match on the @author tag, if
it is present in the class comment of all source files.
Steffen
_______________________________________________
mylyn-dev mailing list
mylyn-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-dev
_______________________________________________
mylyn-dev mailing list
mylyn-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-dev