Statistics
| Revision:

root / trunk / extensions / extGraph_predes / build.xml @ 8687

History | View | Annotate | Download (1.92 KB)

1
<project name="Generar extension en Andami" default="generate-without-source" basedir=".">
2
    <description>
3
        Instala el plugin de ejemplo en Andami.
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.cit.gvsig.graph"/>
10
  <property name="extension-dir" location="../_fwAndami/gvSIG/extensiones"/>
11
  <property name="fmapLibs"  location="../libFMap/lib"/>
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
    <mkdir dir="${dist}"/>
18
          <!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
19
          <buildnumber/>
20

    
21
  </target>
22

    
23
  <target name="generate-without-source" description="generate the distribution without the source file" >
24
    <!-- Create the distribution directory -->
25
    <mkdir dir="${dist}"/>
26
    <mkdir dir="${dist}/lib"/>
27

    
28

    
29

    
30
          <!--
31
          - ->
32
          <jar jarfile="${fmapLibs}/jts-1.7.jar" basedir="${build}" update="yes" includes="com/vividsolutions/**"/>
33

34
          <!- - Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
35
          <jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}" includes="com/iver/**"/>
36

    
37

    
38
    <copy file="config/config.xml" todir="${dist}"/>
39
    <!-- <copy file="config/about.htm" todir="${dist}"/> -->
40
    <copy todir="${dist}">
41
            <fileset dir="config/" includes="text*.properties"/>
42
    </copy>
43
    <copy todir="${dist}/lib">
44
            <fileset dir="lib" includes="*"/>
45
    </copy>
46
    <copy todir="${dist}/images">
47
            <fileset dir="images/" includes="*"/>
48
    </copy>
49
    <copy todir="${dist}/symbols">
50
            <fileset dir="symbols/" includes="**/**"/>
51
    </copy>
52

    
53
    <move todir="${extension-dir}/${plugin}/">
54
            <fileset dir="${dist}" includes="**/**"/>
55
    </move>
56
  </target>
57
</project>
58