source: branches/2.2/jabberit_messenger/java_source/src/buildfiles/Compile.xml @ 3102

Revision 3102, 1.6 KB checked in by amuller, 14 years ago (diff)

Ticket #986 - Efetuado merge para o Branch 2.2( atualizacao do modulo)

  • Property svn:executable set to *
Line 
1<?xml version="1.0"?>
2<project name="Jeti" default="compile" basedir="../..">
3        <description>
4        simple example build file
5    </description>
6        <!-- set global properties for this build -->
7        <property name="src" location="src"/>
8        <property name="build" location="build"/>
9        <property name="dist"  location="dist"/>
10
11        <target name="init">
12                <!-- Create the time stamp -->
13                <tstamp/>
14                <!-- Create the build directory structure used by compile -->
15                <mkdir dir="${build}"/>
16        </target>
17       
18         <target name="versionInfo">
19                <propertyfile
20                    file="${build}/version.properties" comment="Build version info">
21                    <entry key="buildDate"  value="${DSTAMP}"/>
22                    <entry key="buildNum" default="0" type="int" operation="+" value="1"/>
23                </propertyfile>
24                 <copy file="${build}/version.properties" tofile="${build}/nu/fw/jeti/backend/version.properties"/>
25          </target>
26
27        <target name="compile" depends="init,versionInfo"
28        description="compile the source " >
29                <!-- Compile the java code from ${src} into ${build} -->
30                <javac srcdir="${src}" destdir="${build}"
31                debug="on"
32                debuglevel="lines,source"
33                source="1.4"
34        includes="nu/fw/jeti/** "
35        excludes="      nu/fw/jeti/plugins/spell/**
36                                        nu/fw/jeti/plugins/searchlogs/**
37                                        nu/fw/jeti/plugins/ants/**
38                                        nu/fw/jeti/plugins/translate/**
39                                        nu/fw/jeti/plugins/drawing/**
40                        nu/fw/jeti/plugins/jingle/**
41                        nu/fw/jeti/plugins/xmpp/**
42                        nu/fw/jeti/plugins/compression/**
43                                        nu/fw/jeti/util/JIDPrep.java
44                                        "/>
45        </target>
46       
47        <target name="clean" description="clean up">
48                <!-- Delete the ${build} and ${dist} directory trees -->
49                <delete dir="${build}"/>
50        </target>
51</project>
Note: See TracBrowser for help on using the repository browser.