Update of /cvsroot/ant-contrib/cpptasks
In directory usw-pr-cvs1:/tmp/cvs-serv31211
Modified Files:
build.xml
Log Message:
Moved taskdef for checkstyle within appropriate target elements.
Index: build.xml
===================================================================
RCS file: /cvsroot/ant-contrib/cpptasks/build.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** build.xml 12 May 2002 13:11:43 -0000 1.24
--- build.xml 14 May 2002 04:47:36 -0000 1.25
***************
*** 292,301 ****
</target>
- <!-- requires checkstyle-all-2.1.jar or later in lib directory
- download from http://checkstyle.sourceforge.net -->
- <taskdef resource="checkstyletask.properties"/>
! <target name="checkstyle" depends="prepare">
<checkstyle>
<fileset dir="${java.dir}" includes="**/*.java"/>
--- 292,302 ----
</target>
! <target name="checkstyle-all" depends="prepare" description="Checks style of all source">
! <!-- requires checkstyle-all-2.1.jar or later in lib directory
! download from http://checkstyle.sourceforge.net -->
! <taskdef resource="checkstyletask.properties"/>
!
<checkstyle>
<fileset dir="${java.dir}" includes="**/*.java"/>
***************
*** 303,306 ****
--- 304,318 ----
</target>
+ <target name="checkstyle" depends="prepare" description="Checks style of cleaned up source">
+ <!-- requires checkstyle-all-2.1.jar or later in lib directory
+ download from http://checkstyle.sourceforge.net -->
+ <taskdef resource="checkstyletask.properties"/>
+
+ <checkstyle>
+ <fileset dir="${java.dir}">
+ <include name="**/*.java"/>
+ </fileset>
+ </checkstyle>
+ </target>
<target name="xdocs" depends="jars">
|