OSDN Git Service

Maven3対応
[jovsonz/Jovsonz.git] / fixcrlf.xml
similarity index 60%
rename from build.xml
rename to fixcrlf.xml
index 2216cdc..90a7b46 100644 (file)
--- a/build.xml
@@ -1,25 +1,14 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8" ?>
 
 <!-- ====================================================================== -->
-<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above.        -->
+<!-- Ant build file (http://ant.apache.org/) for Ant 1.8.0 or later.        -->
 <!-- ====================================================================== -->
 
-<project name="jovsonz" default="package" basedir=".">
-
-<!-- ====================================================================== -->
-<!-- Import maven-build.xml into the current project                        -->
-<!-- Maven2 command "mvn ant:ant" will put maven-build.xml                  -->
-<!-- ====================================================================== -->
-
-    <import optional="true" file="maven-build.xml"/>
-
-<!-- ====================================================================== -->
-<!-- Help target                                                            -->
-<!-- ====================================================================== -->
-
-    <target name="help">
-        <echo message="Please run: $ant -projecthelp"/>
-    </target>
+<project basedir=".">
+<description>
+CAUTION : This is not build-file for project-building.
+It's just adapting project-files for native environment.
+</description>
 
 <!-- ====================================================================== -->
 <!-- sanitize files for native environment                                  -->
         <echo message="sanitize files..." />
 
         <fixcrlf
-            srcDir="./src/" includes="**/*.java"
+            srcDir="." includes="*.txt"
             encoding="UTF-8" outputencoding="UTF-8"
-            tablength="4" tab="remove" javafiles="true"
+            tablength="8" tab="remove"
             eof="remove"
         />
 
         <fixcrlf
-            srcDir="./src/" includes="**/*.xml,**/*.xsd"
+            srcDir="./src/" includes="**/*.java"
             encoding="UTF-8" outputencoding="UTF-8"
-            tablength="8" tab="remove"
-            eol="lf"
+            tablength="4" tab="remove" javafiles="true"
             eof="remove"
         />
 
         />
 
         <fixcrlf
-            srcDir="." includes="*.txt"
+            srcDir="./src/" includes="**/*.xml,**/*.xsd,**/*.dtd"
             encoding="UTF-8" outputencoding="UTF-8"
             tablength="8" tab="remove"
+            eol="lf"
+            eof="remove"
+        />
+
+        <fixcrlf
+            srcDir="./src/" includes="**/*.html,**/*.htm,**/*.css"
+            encoding="UTF-8" outputencoding="UTF-8"
+            tablength="8" tab="remove"
+            eol="lf"
             eof="remove"
         />