File: build.xml

package info (click to toggle)
robocode 1.6.2%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,904 kB
  • ctags: 6,795
  • sloc: java: 35,724; xml: 408; sh: 76; makefile: 66
file content (30 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>

<!-- ====================================================================== -->
<!--  Apache Ant build script for code beautifying Robocode sources         -->
<!-- ====================================================================== -->

<project name="beautifier" default="jacobe">
  <description>Apache Ant build script for code beautifying Robocode sources</description>

  <!-- ====================================== -->
  <!-- Jacobe Code Beautifying                -->
  <!-- ====================================== -->
  <taskdef name="jacobe" classname="com.tiobe.jacobe.JacobeTask" classpath="jacobe.jar"/>
  
  <target name="jacobe">
  	<beautify dir="../../autoextract"/>
  	<beautify dir="../../robocode"/>
  	<beautify dir="../../robocodeextract"/>
  	<beautify dir="../../roborumble"/>
  	<beautify dir="../../tests"/>
  </target>

  <macrodef name="beautify">
    <attribute name="dir"/>
    <sequential>
      <jacobe input="@{dir}" cfg="robocode.cfg" overwrite="true" nobackup="true"/>
    </sequential>
  </macrodef>

</project>