forked from phoedos/pmd
Exclude generated AST*.java files from internalization
This commit is contained in:
parent
bed7baa35e
commit
5feca7fd93
@ -96,7 +96,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/cpp/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/cpp/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
@ -143,7 +143,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/java/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/java/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
@ -96,7 +96,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/ecmascript5/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/ecmascript5/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
@ -122,7 +122,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/jsp/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/jsp/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
@ -96,7 +96,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/matlab/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/matlab/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
@ -158,7 +158,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/modelica/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/modelica/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
@ -96,7 +96,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/objectivec/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/objectivec/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
@ -145,7 +145,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/plsql/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/plsql/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
@ -96,7 +96,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/python/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/python/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
@ -122,7 +122,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/vf/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/vf/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
@ -129,7 +129,9 @@ public class Token implements GenericToken, java.io.Serializable]]></replacevalu
|
||||
<replaceregexp>
|
||||
<regexp pattern="class|interface" />
|
||||
<substitution expression="@Deprecated @net.sourceforge.pmd.annotation.InternalApi \0" />
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/vm/ast"/>
|
||||
<fileset dir="${target}/net/sourceforge/pmd/lang/vm/ast">
|
||||
<exclude name="AST*.java" />
|
||||
</fileset>
|
||||
</replaceregexp>
|
||||
|
||||
<replaceregexp>
|
||||
|
Loading…
x
Reference in New Issue
Block a user