Skip to content

Commit fc6829e

Browse files
committed
Fix up whitespace.
1 parent 4e583c8 commit fc6829e

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

build.xml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0"?>
22
<project name="SampleJavaProject" default="jar"
3-
xmlns:ivy="antlib:org.apache.ivy.ant">
3+
xmlns:ivy="antlib:org.apache.ivy.ant">
44

55
<!-- Project-specific configuration -->
6-
<loadproperties srcfile="project.properties" />
6+
<loadproperties srcfile="project.properties"/>
77
<property name="main.class" value="${package.main}.${ant.project.name}"/>
88
<property name="base.name" value="${artifactId}-${version}"/>
99

@@ -32,15 +32,15 @@
3232
</target>
3333

3434
<target name="resolve" unless="lib.present"
35-
description="Retrieve dependencies with ivy.">
35+
description="Retrieve dependencies with ivy.">
3636
<ivy:retrieve type="jar,bundle"/>
3737
</target>
3838

3939
<target name="compile" depends="init,resolve"
40-
description="Compile all source files.">
40+
description="Compile all source files.">
4141
<javac srcdir="${src.dir}" destdir="${build.classes.dir}"
42-
optimize="on" debug="on" deprecation="on"
43-
includeantruntime="false">
42+
optimize="on" debug="on" deprecation="on"
43+
includeantruntime="false">
4444
<compilerarg value="-Xlint"/>
4545
<classpath refid="build.classpath"/>
4646
</javac>
@@ -50,15 +50,15 @@
5050
</target>
5151

5252
<target name="jar" depends="compile"
53-
description="Generate the jarfile distributable.">
53+
description="Generate the jarfile distributable.">
5454
<jar destfile="${dist.dir}/${base.name}.jar"
55-
basedir="${build.classes.dir}">
55+
basedir="${build.classes.dir}">
5656
<manifest>
5757
<attribute name="Main-Class" value="${main.class}"/>
5858
</manifest>
5959
</jar>
6060
<jar destfile="${dist.dir}/${base.name}-all.jar"
61-
basedir="${build.classes.dir}">
61+
basedir="${build.classes.dir}">
6262
<zipgroupfileset dir="${lib.dir}" includes="*.jar"/>
6363
<manifest>
6464
<attribute name="Main-Class" value="${main.class}"/>
@@ -75,9 +75,9 @@
7575
</target>
7676

7777
<target name="run-hotswap" depends="compile"
78-
description="Run the application in hotswap mode.">
78+
description="Run the application in hotswap mode.">
7979
<java classname="${main.class}" classpath="${build.classes.dir}"
80-
fork="true">
80+
fork="true">
8181
<classpath refid="build.classpath"/>
8282
<jvmarg line="-Xdebug -Xrunjdwp:transport=dt_socket,address=9000,server=y,suspend=n"/>
8383
<arg value="--loop"/>
@@ -90,7 +90,7 @@
9090
<taskdef name="hotswap" classname="dak.ant.taskdefs.Hotswap"/>
9191
<hotswap verbose="true" port="9000">
9292
<fileset dir="${build.classes.dir}" includes="**/*.class">
93-
<modified/>
93+
<modified/>
9494
</fileset>
9595
</hotswap>
9696
</target>
@@ -104,8 +104,8 @@
104104

105105
<target name="javadoc" description="Generate Javadoc HTML.">
106106
<javadoc destdir="${dist.dir}/javadoc"
107-
link="http://download.oracle.com/javase/6/docs/api/"
108-
sourcepath="${src.dir}"/>
107+
link="http://download.oracle.com/javase/6/docs/api/"
108+
sourcepath="${src.dir}"/>
109109
</target>
110110

111111
<target name="format" description="Run the indenter on all source files.">
@@ -136,11 +136,11 @@
136136
<!-- Unit testing (JUnit) -->
137137

138138
<target name="test-compile" depends="compile"
139-
description="Compile all of the unit tests.">
139+
description="Compile all of the unit tests.">
140140
<mkdir dir="${test.classes.dir}"/>
141141
<javac srcdir="${test.dir}" destdir="${test.classes.dir}"
142-
optimize="on" debug="on" deprecation="on"
143-
classpath="${build.classes.dir}" includeantruntime="yes">
142+
optimize="on" debug="on" deprecation="on"
143+
classpath="${build.classes.dir}" includeantruntime="yes">
144144
<compilerarg value="-Xlint"/>
145145
<classpath refid="build.classpath"/>
146146
</javac>
@@ -150,29 +150,29 @@
150150
</target>
151151

152152
<target name="test" depends="test-compile"
153-
description="Run all of the unit tests.">
153+
description="Run all of the unit tests.">
154154
<junit>
155155
<classpath>
156-
<pathelement path="${build.classes.dir}"/>
157-
<pathelement path="${test.classes.dir}"/>
158-
<path refid="build.classpath"/>
156+
<pathelement path="${build.classes.dir}"/>
157+
<pathelement path="${test.classes.dir}"/>
158+
<path refid="build.classpath"/>
159159
</classpath>
160160
<batchtest>
161-
<formatter type="brief" usefile="false"/>
162-
<fileset dir="${test.classes.dir}"/>
161+
<formatter type="brief" usefile="false"/>
162+
<fileset dir="${test.classes.dir}"/>
163163
</batchtest>
164164
</junit>
165165
</target>
166166

167167
<!-- Maven repository support -->
168168

169169
<target name="bundle" depends="jar,javadoc"
170-
description="Stage a Maven repository bundle.">
170+
description="Stage a Maven repository bundle.">
171171
<!-- Pack up the artifacts -->
172172
<filter filtersfile="project.properties"/>
173173
<filter token="ant.project.name" value="${ant.project.name}"/>
174174
<copy file="pom.xml" filtering="true"
175-
tofile="${dist.dir}/bundle/${base.name}.pom"/>
175+
tofile="${dist.dir}/bundle/${base.name}.pom"/>
176176
<copy file="${dist.dir}/${base.name}.jar" todir="${dist.dir}/bundle/"/>
177177
<jar jarfile="${dist.dir}/bundle/${base.name}-javadoc.jar">
178178
<fileset dir="${dist.dir}/javadoc"/>

0 commit comments

Comments
 (0)