Use plugin-classpath to simplify javacc-wrapper.xml

javacc is on the antrun plugin's classpath.
The javacc jar file doesn't need to be copied
explicitly.
This commit is contained in:
Andreas Dangel
2024-10-13 12:03:17 +02:00
parent 0ea42b94e0
commit 867b142ee4
13 changed files with 17 additions and 27 deletions

View File

@@ -34,10 +34,10 @@
<configuration>
<target>
<ant antfile="${javacc.ant.wrapper}" target="alljavacc">
<property name="plugin-classpath" refid="maven.plugin.classpath"/>
<property name="no-jjtree" value="true" /> <!-- This is a CPD module -->
<property name="lang-name" value="ObjectiveC" />
<property name="lang-id" value="objectivec" />
<property name="javacc.jar" value="${javacc.jar}" />
</ant>
</target>
</configuration>