forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ant-phase-compile.xml
27 lines (24 loc) · 1.1 KB
/
ant-phase-compile.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<project name="phase-compile" default="execute">
<target name="execute">
<propertyfile file="${mvn.project.build.outputDirectory}/checkstylecompilation.properties">
<entry key="checkstyle.compile.version" value="${mvn.project.version}"/>
<entry key="checkstyle.compile.timestamp" type="date" value="now" pattern="E MMMM dd yyyy, HH:mm z"/>
</propertyfile>
<javadoc sourcefiles="src/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java"
encoding="iso-8859-1"
source="1.5"
failonerror="yes">
<classpath>
<pathelement location="${mvn.project.build.outputDirectory}"/>
<pathelement path="${mvn.compile_classpath}"/>
</classpath>
<doclet name="com.puppycrawl.tools.checkstyle.doclets.TokenTypesDoclet"
path="${mvn.project.build.outputDirectory}">
<param name="-destfile"
value="${mvn.project.build.outputDirectory}/com/puppycrawl/tools/checkstyle/api/tokentypes.properties"
/>
</doclet>
</javadoc>
</target>
</project>