Statistics
| Revision:

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

History | View | Annotate | Download (1.92 KB)

1 7839 fjp
<project name="Generar extension en Andami" default="generate-without-source" basedir=".">
2 6032 azabala
    <description>
3 7839 fjp
        Instala el plugin de ejemplo en Andami.
4 6032 azabala
    </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 7839 fjp
  <property name="extension-dir" location="../_fwAndami/gvSIG/extensiones"/>
11 8134 azabala
  <property name="fmapLibs"  location="../libFMap/lib"/>
12 6032 azabala
  <target name="init">
13
    <!-- Create the time stamp -->
14
    <tstamp/>
15 7839 fjp
    <!-- 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 8352 jaume
          <buildnumber/>
20
21 6032 azabala
  </target>
22
23 7839 fjp
  <target name="generate-without-source" description="generate the distribution without the source file" >
24
    <!-- Create the distribution directory -->
25 6032 azabala
    <mkdir dir="${dist}"/>
26
    <mkdir dir="${dist}/lib"/>
27
28 8352 jaume
29
30 8134 azabala
          <!--
31 8401 jaume
          - ->
32 8134 azabala
          <jar jarfile="${fmapLibs}/jts-1.7.jar" basedir="${build}" update="yes" includes="com/vividsolutions/**"/>
33 8352 jaume

34 8401 jaume
          <!- - Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
35 8134 azabala
          <jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}" includes="com/iver/**"/>
36 8352 jaume
37
38
39
40 7839 fjp
    <copy file="config/config.xml" todir="${dist}"/>
41
    <!-- <copy file="config/about.htm" todir="${dist}"/> -->
42
    <copy todir="${dist}">
43 8401 jaume
            <fileset dir="config/" includes="text*.properties"/>
44 6032 azabala
    </copy>
45 7839 fjp
    <copy todir="${dist}/lib">
46
            <fileset dir="lib" includes="*"/>
47
    </copy>
48
    <copy todir="${dist}/images">
49 6032 azabala
            <fileset dir="images/" includes="*"/>
50
    </copy>
51 8539 jaume
    <copy todir="${dist}/symbols">
52
            <fileset dir="symbols/" includes="**/**"/>
53
    </copy>
54
55 7839 fjp
    <move todir="${extension-dir}/${plugin}/">
56
            <fileset dir="${dist}" includes="**/**"/>
57 6032 azabala
    </move>
58
  </target>
59
</project>