~wattazoum/livrezmoi/projectdeposit

« back to all changes in this revision

Viewing changes to Client/build.xml

  • Committer: Oumar Aziz OUATTARA
  • Date: 2009-05-18 19:49:00 UTC
  • Revision ID: wattazoum@yahoo.fr-20090518194900-9ibks5l8vetdzl5t
- Restructure the project: Commons, Client & Server are separated
- setup the eclipse project
- created ANT build file
[TODO]
  - Remove the generated JAXB files (they are generated by the ant scripts)
  - fix the compilation issues
  - create the main build file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<project name="client" default="build">
 
2
        <target name="build" depends="init, build-dep, compile, package"/>
 
3
        
 
4
        <target name="init">
 
5
                <condition property="commons.built">
 
6
                        <available file="../Commons/target/commons.jar"/>
 
7
                </condition>
 
8
                <mkdir dir="target/classes"/>
 
9
        </target>
 
10
        
 
11
        <target name="build-dep" depends="init" unless="commons.built">
 
12
                <ant antfile="../Commons/build.xml" dir="../Commons"/>
 
13
        </target>
 
14
        
 
15
        <target name="compile" depends="build-dep">
 
16
                <javac source="1.5" target="1.5"
 
17
                        destdir="target/classes" srcdir="src">
 
18
                        <classpath>
 
19
                                <fileset dir="lib" includes="*.jar"/>
 
20
                                <fileset file="../Commons/target/commons.jar"/>
 
21
                        </classpath>
 
22
                </javac>
 
23
                
 
24
                <copy todir="target/classes">
 
25
                        <fileset dir="resources" includes="**/*"/>
 
26
                </copy>
 
27
        </target>
 
28
        
 
29
        <target name="package" depends="compile">
 
30
                <jar destfile="target/client.jar" basedir="target/classes"/>
 
31
        </target>
 
32
        
 
33
</project>
 
 
b'\\ No newline at end of file'