0
, 나는 폴더에 jar 파일을 추가 정의하고 나는이 오류antcontrib svn ant를 사용하는 방법. 오류 원인 : 이름은 내가 개미 antcontrib를 사용하는 것을 시도하고있다
를 받고 석사pathelement
<pathelement location="D:\pppp\SVN1.8.Client\ant-contrib-1.0b3.jar" />
를 사용하지만, 아래의 코드를 사용하여 포인트
build failed
\TEST.xml:59: Problem: failed to create task or type trycatch
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.
<target name="Add2SvnKw">
<path id="path.svnant">
<pathelement location="D:\pppp\SVN1.8.Client\svnant.jar" />
<pathelement location="D:\pppp\SVN1.8.Client\svnClientAdapter.jar" />
<pathelement location="D:\pppp\SVN1.8.Client\svnkit-javahl-1.8.0.jar" />
<pathelement location="D:\pppp\SVN1.8.Client\svnkit-1.8.0.jar" />
<pathelement location="D:\pppp\SVN1.8.Client\sequence-library-1.0.2.jar" />
<pathelement location="D:\pppp\SVN1.8.Client\ant-contrib-1.0b3.jar" />
</path>
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="path.svnant" />
<svnSetting svnkit="false" javahl="false" id="svn.settings"
username="*******" password="******$" failonerror="false"
dateFormatter="yyyy-MM-dd HH:mm"
/>
<trycatch property="error-prop" >
<try>
<svn refid="svn.settings">
<singleinfo target="***url" property="revision.result" request="revision" />
</svn>
</try>
<catch>
<echo message=" there is an error catched..."/>
</catch>
</trycatch>
<echo message="File Name: ${name.result}" />
<echo message="Author of last commit: ${author.result}" />
<echo message="Date of last commit: ${lastDate.result}" />
<echo message="revision of last commit: ${revision.result}" />
</target>
,536,913,632