Subversion Repositories SmartDukaan

Rev

Rev 1063 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
163 naveen 1
<?xml version="1.0"?>
1060 chandransh 2
<project default="archive" name="ContentStore">
333 ashish 3
    <property name="message" value="Building the ContentStore.jar file."/>
163 naveen 4
 
1060 chandransh 5
	<property environment="env"/>
6
    <property name="thirdparty.location" value="../lib"/>
7
    <property name="debuglevel" value="source,lines,vars"/>
8
    <property name="target" value="1.6"/>
9
    <property name="source" value="1.6"/>
1065 chandransh 10
 
1060 chandransh 11
    <path id="ThriftConfig.classpath">
12
        <pathelement location="${thirdparty.location}/readonly/apache/thrift-0.2.0/libthrift.jar"/>
13
    </path>
14
    <path id="Common.classpath">
15
        <path refid="ThriftConfig.classpath"/>
16
    	<pathelement location="${thirdparty.location}/ThriftConfig.jar"/>
17
    	<pathelement location="${thirdparty.location}/Common.jar"/>
18
    </path>
19
    <path id="ContentStore.classpath">
20
        <pathelement location="${thirdparty.location}/readonly/apache/poi-3.6/poi-3.6-20091214.jar"/>
21
        <pathelement location="${thirdparty.location}/readonly/apache/poi-3.6/poi-scratchpad-3.6-20091214.jar"/>
22
        <pathelement location="${thirdparty.location}/readonly/apache/commons-collections-3.2.1/commons-collections-3.2.1.jar"/>
23
        <pathelement location="${thirdparty.location}/readonly/apache/commons-io-1.3.2/commons-io-1.3.2.jar"/>
1063 chandransh 24
    	<pathelement location="${thirdparty.location}/readonly/apache/commons-lang-2.4/commons-lang-2.4.jar"/>
1060 chandransh 25
        <pathelement location="${thirdparty.location}/readonly/apache/commons-logging-1.0.4/commons-logging-1.0.4.jar"/>
26
        <pathelement location="${thirdparty.location}/readonly/apache/commons-logging-api-1.1/commons-logging-api-1.1.jar"/>
27
        <pathelement location="${thirdparty.location}/readonly/apache/commons-validator-1.3.1/commons-validator-1.3.1.jar"/>
1063 chandransh 28
        <pathelement location="${thirdparty.location}/readonly/apache/velocity-1.6.3/velocity-1.6.3.jar"/> 
1060 chandransh 29
        <pathelement location="${thirdparty.location}/readonly/jython/jython.jar"/>
30
        <pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/xalan.jar"/>
31
        <pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/serializer.jar"/>
32
        <pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/xercesImpl.jar"/>
33
        <pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/xml-apis.jar"/>
34
        <pathelement location="${thirdparty.location}/readonly/apache/xalan-j_2_7_1/xsltc.jar"/>
35
    	<pathelement location="${thirdparty.location}/readonly/bdb/je-4.1.7.jar"/>
36
 
37
        <path refid="ThriftConfig.classpath"/>
38
        <path refid="Common.classpath"/>
39
    </path>
333 ashish 40
 
41
	<target name="clean">
42
		<delete dir="build"/>
43
	</target>
1060 chandransh 44
 
45
	<target name="init">
46
		<mkdir dir="build"/>
47
	</target>
333 ashish 48
 
1060 chandransh 49
    <target name="build" depends="init">
333 ashish 50
        <echo message="${ant.project.name}: ${ant.file}"/>
1060 chandransh 51
        <javac debug="true" debuglevel="${debuglevel}" destdir="build" source="${source}" target="${target}">
1061 chandransh 52
            <src path="src/main/java"/>
333 ashish 53
            <classpath refid="ContentStore.classpath"/>
54
        </javac>
55
    </target>
163 naveen 56
 
1060 chandransh 57
    <target name="archive" depends="build">
58
        <jar destfile="../lib/ContentStore.jar" basedir="build"/>
163 naveen 59
    </target>
60
</project>