Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (25 sloc) 959 Bytes

[Java] Amateras StepCounter を Ant で駆動するときのメモ

名作ステップカウントライブラリである Amateras StepCounter を Ant 起動するときの記述例をメモ。

<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="count">
  <taskdef name="stepcounter"
      classpath="lib/stepcounter-3.0.4-jar-with-dependencies.jar" />
  <target name="count">
    <stepcounter format="xml" output="output.xml"
        encoding="UTF-8" showDirectory="true">
      <fileset dir="src/main/java">
        <exclude name="**/" />
        <include name="**/*.java" />
      <fileset dir="src/main/resources">
        <exclude name="**/jquery*.js" />
        <include name="**/*.html" />
        <include name="**/*.js" />

<@lastmodified date="2018-07-03"/>

You can’t perform that action at this time.