Modify Filesplitter. Add digest to Configuration dialog
[splitter-ng] / build.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <project basedir="." default="distall" name="Splitter-ng">
3         <property environment="env" />
4         <property name="Splitter-ng.location" value="Splitter-ng" />
5         <property name="Splitter-ng-plugin-JSharing.location" value="Splitter-ng-plugin-JSharing" />
6         <property name="Splitter-ng-plugin-jerasure.location" value="Splitter-ng-plugin-jerasure" />
7         <property name="Splitter-ng-plugin-jerasure-purejava.location" value="Splitter-ng-plugin-jerasure-purejava" />
8         <property name="Splitter-ng-plugin-raid1.location" value="Splitter-ng-plugin-raid1" />
9         <property name="Splitter-ng-plugin-jigdfs.location" value="Splitter-ng-plugin-jigdfs" />
10         <property name="Splitter-ng-plugin-bitsplitter.location" value="Splitter-ng-plugin-bitsplitter" />
11         <property name="Splitter-ng-filesplitter.location" value="Splitter-ng-filesplitter" />
12         <target name="init">
13                 <exec executable="git" failonerror="no">
14                         <env key="GIT_SSL_NO_VERIFY" value="true"/>
15                         <arg line=" submodule init"/>
16                 </exec>
17                 <exec executable="git" failonerror="no">
18                         <env key="GIT_SSL_NO_VERIFY" value="true"/>
19                         <arg line=" submodule update"/>
20                 </exec>
21                 <mkdir dir="dist" />
22                 <mkdir dir="dist/lib" />
23                 <mkdir dir="dist/plugin" />
24                 <mkdir dir="dist/restoreDir" />
25                 <mkdir dir="dist/splitDir" />
26                 <mkdir dir="dist/srcDir" />
27         </target>
28         <target depends="clean" name="cleandist">
29                 <delete dir="dist/lib" />
30                 <delete dir="dist/plugin" />
31                 <delete dir="dist/restoreDir" />
32                 <delete dir="dist/splitDir" />
33                 <delete file="dist/Splitter-ng-filesplitter.jar" />
34                 <delete file="dist/filesplitter" />
35                 <delete file="dist/filesplitter-x" />
36         </target>
37         <target name="clean" description="Clean Splitter-ng, all Plugins and Splitter-filesplitter">
38                 <ant antfile="build.xml" dir="${Splitter-ng.location}" inheritAll="false" target="clean" />
39                 <ant antfile="build.xml" dir="${Splitter-ng-filesplitter.location}" inheritAll="false" target="clean" />
40                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-JSharing.location}" inheritAll="false" target="clean" />
41                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-jerasure.location}" inheritAll="false" target="clean" />
42                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-jerasure-purejava.location}" inheritAll="false" target="clean" />
43                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-raid1.location}" inheritAll="false" target="clean" />
44                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-jigdfs.location}" inheritAll="false" target="clean" />
45                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-bitsplitter.location}" inheritAll="false" target="clean" />
46         </target>
47
48         <target name="buildall" description="Build (not create Jar) Splitter-NG, all Plugins and Splitter-filesplitter">
49                 <ant antfile="build.xml" dir="${Splitter-ng.location}" inheritAll="false" target="build" />
50                 <ant antfile="build.xml" dir="${Splitter-ng-filesplitter.location}" inheritAll="false" target="build" />
51                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-JSharing.location}" inheritAll="false" target="build" />
52                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-jerasure.location}" inheritAll="false" target="build" />
53                 <!--ant antfile="build.xml" dir="${Splitter-ng-plugin-jerasure-purejava.location}" inheritAll="false" target="build" /-->
54                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-raid1.location}" inheritAll="false" target="build" />
55                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-jigdfs.location}" inheritAll="false" target="build" />
56                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-bitsplitter.location}" inheritAll="false" target="build" />
57         </target>
58         
59         <!--target name="distall" depends="init,splitter,filesplitter,jsharing,jerasure,raid1,bitsplitter,jigdfs,jerasure-purejava" description="Build and Distribute Splitter-NG, all Plugins and Splitter-filesplitter to ./dist"/!-->
60         <target name="distall" depends="init,splitter,filesplitter,jsharing,jerasure,raid1,bitsplitter,jigdfs" description="Build and Distribute Splitter-NG, all Plugins and Splitter-filesplitter to ./dist"/>
61         
62         <target name="splitter" depends="init" >
63                 <ant antfile="build.xml" dir="${Splitter-ng.location}" inheritAll="false" target="dist" />
64         </target>
65         <target name="filesplitter" depends="splitter" >
66                 <ant antfile="build.xml" dir="${Splitter-ng-filesplitter.location}" inheritAll="false" target="dist" />
67         </target>
68         <target name="jsharing" depends="splitter" >
69                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-JSharing.location}" inheritAll="false" target="dist" />
70         </target>
71         <target name="jerasure" depends="splitter" >
72                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-jerasure.location}" inheritAll="false" target="dist" />
73         </target>
74         <target name="jerasure-purejava" depends="splitter" >
75                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-jerasure-purejava.location}" inheritAll="false" target="dist" />
76         </target>
77         <target name="raid1" depends="splitter" >
78                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-raid1.location}" inheritAll="false" target="dist" />
79         </target>
80         <target name="jigdfs" depends="splitter" >
81                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-jigdfs.location}" inheritAll="false" target="dist" />
82         </target>
83         <target name="bitsplitter" depends="splitter" >
84                 <ant antfile="build.xml" dir="${Splitter-ng-plugin-bitsplitter.location}" inheritAll="false" target="dist" />
85         </target>
86
87 </project>
88