Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-dev] @since tag

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


On 1/8/09, David Green <dgreen99@xxxxxxxxx> wrote:
All,

Is anyone aware of an easy way to add a @since tag to all classes in a source folder or package in one go?  This is upcoming for WikiText.

Thanks,

David

_______________________________________________
mylyn-dev mailing list
mylyn-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-dev



Back to the top