Statistics
| Revision:

root / trunk / extensions / extIconThemeBase / build.xml @ 15902

History | View | Annotate | Download (2.11 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.extensionIconTheme" />
10
        <property name="extension-dir" location="../_fwAndami/gvSIG/extensiones" />
11
        <property name="logos-dir" location="../_fwAndami/theme" />
12
        <property name="gvsig-lib" location="../_fwAndami/gvSIG/extensiones/com.iver.cit.gvsig" />
13
        <!--property name="binaries-dir" location="../binaries" /-->
14

    
15
        <target name="init">
16
                <!-- Create the time stamp -->
17
                <tstamp />
18
                <!-- Create the build directory structure used by compile -->
19
                <mkdir dir="${build}" />
20
                <!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
21
                <buildnumber />
22

    
23
        </target>
24

    
25
        <target name="generate-without-source" description="generate the distribution without the source file" depends="">
26
                <!-- Create the distribution directory -->
27
                <mkdir dir="${dist}" />
28
                <mkdir dir="${dist}/lib" />
29
                <mkdir dir="${dist}/binaries" />
30
                <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file
31
         Except classes to be instantiated in core gvSIG -->
32
                <jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}" />
33

    
34
                <copy todir="${dist}/lib/">
35
                        <fileset dir="lib/" includes="**/**" />
36
                </copy>
37
                <!-- Put in this .jar the classes to be instantiated in gvSIG -->
38
                <copy file="config/config.xml" todir="${dist}" />
39
                <copy file="config/about.htm" todir="${dist}" />
40

    
41
                <copy todir="${dist}">
42
                        <fileset dir="config" includes="text*.properties" />
43
                </copy>
44

    
45
                <move todir="${extension-dir}/${plugin}/">
46
                        <fileset dir="${dist}" includes="**/**" />
47
                </move>
48
        </target>
49

    
50
        <target name="copy-binaries">
51
                <copy todir="${binaries-dir}">
52
                        <fileset dir="binaries/" includes="**" />
53
                </copy>
54
        </target>
55

    
56
        <target name="debug-yes">
57
                <property name="debug" value="on" />
58
                <property name="debuglevel" value="lines, vars" />
59
        </target>
60

    
61
</project>
62