antでこれを実行するとエラーが発生し、antがタスクのクラスパスを認識できない理由がわかりません。
<?xml version="1.0"?>
<project default="task">
<target name="task">
<classpath>
<pathelement path="." />
</classpath>
</target>
</project>
エラーメッセージがあります:
task:
BUILD FAILED
C:\way\build.xml:6: Problem: failed to create task or type classpath
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
エラーがどこから来たのか誰かが知っていますか?