Statistics
| Revision:

svn-gvsig-desktop / tags / gvSIGv0_6_1RELEASE / libraries / libCorePlugin / build.xml @ 5222

History | View | Annotate | Download (1.54 KB)

1
<project name="Core plugin" default="dist" basedir=".">
2
    <description>
3
        Instala el plugin
4
    </description>
5
  <!-- set global properties for this build -->
6
  <property name="src" location="src"/>
7
  <property name="build" location="bin"/>
8
  <property name="dist"  location="dist"/>
9
  <property name="plugin" value="com.iver.core"/>
10
  <property name="targetDir" location="../_fwAndami/gvSIG/extensiones"/>
11

    
12
  <target name="init">
13
    <!-- Create the time stamp -->
14
    <tstamp/>
15
    <!-- Create the build directory structure used by compile -->
16
    <mkdir dir="${build}"/>
17
  </target>
18

    
19
  <target name="dist" description="generate the distribution" >
20
    <!-- Create the distribution directory -->
21
    <mkdir dir="${dist}"/>
22

    
23
    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
24
    <copy todir="${build}">
25
            <fileset dir="${src}" includes="**"/>
26
    </copy>
27
    <jar jarfile="${dist}/${plugin}.jar" basedir="${build}"/>
28
    <copy file="config.xml" todir="${dist}"/>
29
    <copy todir="${dist}">
30
            <fileset dir="." includes="text*.properties"/>
31
    </copy>
32
    <copy todir="${dist}/images">
33
            <fileset dir="images/" includes="*"/>
34
    </copy>
35
    <copy todir="${dist}">
36
            <fileset dir="." includes="*.jar"/>
37
    </copy>
38

    
39
    <move todir="${targetDir}/${plugin}/">
40
            <fileset dir="${dist}" includes="**/**"/>
41
    </move>
42
  </target>
43

    
44
  <target name="clean"
45
        description="clean up" >
46
    <!-- Delete the ${build} and ${dist} directory trees -->
47
    <delete dir="${build}"/>
48
    <delete dir="${dist}"/>
49
  </target>
50
</project>
51