OSDN Git Service

jarを追加
[rabbit-bts/RabbitBTS.git] / build.xml
index d050448..9c563fa 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1,5 +1,6 @@
-<project>
-       <property name="sdk.dir" location="../appengine-java-sdk-1.2.2" />
+<!-- vim:set et sw=2 sts=2 ts=2 fenc=utf-8: -->
+<project default="compile">
+  <property name="sdk.dir" location="../appengine-java-sdk-1.2.2" />
 
   <import file="${sdk.dir}/config/user/ant-macros.xml" />
 
     </fileset>
   </path>
 
+  <target name="init">
+    <delete>
+      <fileset dir=".">
+        <include name="**/*.swp" />
+      </fileset>
+    </delete>
+  </target>
+
   <target name="copyjars"
+      depends="init"
       description="Copies the App Engine JARs to the WAR.">
     <copy
         todir="war/WEB-INF/lib"
@@ -69,6 +79,7 @@
     <appcfg action="request_logs" war="war">
       <options>
         <arg value="--num_days=5"/>
+        <arg value="--severity=0"/>
       </options>
       <args>
         <arg value="logs.txt"/>
     </appcfg>
   </target>
 
+  <target name="clean">
+    <delete>
+      <fileset dir="war/WEB-INF/classes">
+        <include name="**/*.class" />
+      </fileset>
+    </delete>
+  </target>
+
 </project>