OSDN Git Service

checkstyle対応
[mikutoga/Pmd2XML.git] / fixcrlf.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <!-- ====================================================================== -->
4 <!-- Ant build file (http://ant.apache.org/) for Ant 1.8.0 or later.        -->
5 <!-- ====================================================================== -->
6
7 <project basedir=".">
8 <description>
9 CAUTION : This is not build-file for project-building.
10 It's just adapting project-files for native environment.
11 </description>
12
13 <!-- ====================================================================== -->
14 <!-- sanitize files for native environment                                  -->
15 <!-- ====================================================================== -->
16
17     <target description="sanitize files" name="sanitize" >
18         <echo message="sanitize files..." />
19
20         <fixcrlf
21             srcDir="." includes="*.txt"
22             encoding="UTF-8" outputencoding="UTF-8"
23             tablength="8" tab="remove"
24             eof="remove"
25         />
26
27         <fixcrlf
28             srcDir="./src/" includes="**/*.java"
29             encoding="UTF-8" outputencoding="UTF-8"
30             tablength="4" tab="remove" javafiles="true"
31             eof="remove"
32         />
33
34         <fixcrlf
35             srcDir="./src/" includes="**/*.properties"
36             encoding="ISO-8859-1" outputencoding="ISO-8859-1"
37             eol="lf"
38             eof="remove"
39         />
40
41         <fixcrlf
42             srcDir="./src/" includes="**/*.xml,**/*.xsd,**/*.dtd"
43             encoding="UTF-8" outputencoding="UTF-8"
44             tablength="8" tab="remove"
45             eol="lf"
46             eof="remove"
47         />
48
49         <fixcrlf
50             srcDir="./src/" includes="**/*.html,**/*.htm,**/*.css"
51             encoding="UTF-8" outputencoding="UTF-8"
52             tablength="8" tab="remove"
53             eol="lf"
54             eof="remove"
55         />
56
57         <chmod type="file" perm="a-x">
58             <fileset dir="." includes="**/*" excludes="**/*.sh" />
59         </chmod>
60
61     </target>
62
63 </project>
64
65 <!-- EOF -->