Remove ant.contrib.jar property

This commit is contained in:
Juan Martín Sotuyo Dodero 2024-10-12 17:28:18 -03:00
parent f68130eaf9
commit ab1976382a
8 changed files with 1 additions and 15 deletions

View File

@ -11,15 +11,8 @@
- root-node-name: name of the root node without prefix (eg "TopLevel"), will be made to implement RootNode
See AntlrGeneratedParserBase
It also uses the following maven properties:
- ant.contrib.jar: Location of the ant-contrib jar
-->
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="${ant.contrib.jar}"/>
</classpath>
</taskdef>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" />
<property name="target-package-dir" value="${antlr4.outputDirectory}/net/sourceforge/pmd/lang/${lang-id}/ast"/>
<property name="stamp-file" value="${project.build.directory}/last-generated-timestamp" />

View File

@ -30,7 +30,6 @@
<configuration>
<target>
<ant antfile="${antlr4.ant.wrapper}" target="cpd-language">
<property name="ant.contrib.jar" value="${ant.contrib.jar}" />
<property name="lang-name" value="CSharp" />
<property name="lang-id" value="cs" />
</ant>

View File

@ -30,7 +30,6 @@
<configuration>
<target>
<ant antfile="${antlr4.ant.wrapper}" target="cpd-language">
<property name="ant.contrib.jar" value="${ant.contrib.jar}" />
<property name="lang-name" value="Dart" />
<property name="lang-id" value="dart" />
</ant>

View File

@ -30,7 +30,6 @@
<configuration>
<target>
<ant antfile="${antlr4.ant.wrapper}" target="cpd-language">
<property name="ant.contrib.jar" value="${ant.contrib.jar}" />
<property name="lang-name" value="Golang" />
<property name="lang-id" value="go" />
</ant>

View File

@ -43,7 +43,6 @@
<configuration>
<target>
<ant antfile="${antlr4.ant.wrapper}" target="pmd-language">
<property name="ant.contrib.jar" value="${ant.contrib.jar}" />
<property name="lang-name" value="Kotlin" />
<property name="lang-id" value="kotlin" />
<property name="root-node-name" value="KotlinFile" />

View File

@ -30,7 +30,6 @@
<configuration>
<target>
<ant antfile="${antlr4.ant.wrapper}" target="cpd-language">
<property name="ant.contrib.jar" value="${ant.contrib.jar}" />
<property name="lang-name" value="Lua" />
<property name="lang-id" value="lua" />
</ant>

View File

@ -42,7 +42,6 @@
<configuration>
<target>
<ant antfile="${antlr4.ant.wrapper}" target="pmd-language">
<property name="ant.contrib.jar" value="${ant.contrib.jar}" />
<property name="lang-name" value="Swift" />
<property name="lang-id" value="swift" />
<property name="root-node-name" value="TopLevel" />

View File

@ -123,7 +123,6 @@
<javacc.ant.wrapper>${project.basedir}/../javacc-wrapper.xml</javacc.ant.wrapper>
<ant-contrib.version>1.0b3</ant-contrib.version>
<ant.contrib.jar>${settings.localRepository}/ant-contrib/ant-contrib/${ant-contrib.version}/ant-contrib-${ant-contrib.version}.jar</ant.contrib.jar>
<antlr4.outputDirectory>${project.build.directory}/generated-sources/antlr4</antlr4.outputDirectory>
<antlr4.ant.wrapper>${project.basedir}/../antlr4-wrapper.xml</antlr4.ant.wrapper>