
Previously we use tab spaces for indent in java and c sources, while we use 4 spaces for indent in python sources, but it is sometimes confusing. This patch expands all tab spaces to 4 spaces, to use 4 spaces for general way to indent. Bonus: This patch also removes trailing white spaces. Change-Id: I1b9e7688d606c0da1bc015b1a4d396d19f4dc18a
47 lines
1.4 KiB
XML
47 lines
1.4 KiB
XML
<!--
|
|
Copyright (c) 2016, 2016 OpenStack Foundation.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
Limitations under the License.
|
|
-->
|
|
|
|
<project>
|
|
|
|
<target name="clean">
|
|
<delete dir="bin" />
|
|
</target>
|
|
|
|
<target name="java">
|
|
<mkdir dir="bin" />
|
|
<javac srcdir="src" destdir="bin"
|
|
classpath="../../Engine/SCommon/bin/SCommon.jar"
|
|
includeantruntime="false" />
|
|
</target>
|
|
|
|
<target name="jar" depends="java">
|
|
<jar destfile="partitionsidentitystorlet-1.0.jar" basedir="bin">
|
|
<manifest>
|
|
<attribute name="Main-Class"
|
|
value="org.openstack.storlet.PartitionsIdentityStorlet" />
|
|
</manifest>
|
|
</jar>
|
|
<move file="partitionsidentitystorlet-1.0.jar" todir="bin" />
|
|
</target>
|
|
|
|
<target name="text">
|
|
<copy file="records.txt" toFile="bin/records.txt" />
|
|
</target>
|
|
|
|
<target name="build" depends="clean, jar, text">
|
|
</target>
|
|
</project>
|