Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[f373fd]: plugin_build.xml Maximize Restore History

Download this file

plugin_build.xml    81 lines (68 with data), 2.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0"?>
<!--
This is an Apache Ant build file to build the SQL script plugin
for distribution.
-->
<project name="plugin-sqlbookmark" default="build" basedir=".">
<property name="p_plugin.work_dir" value="build"/>
<property name="p_plugin.core_libs_dir" value="../.."/>
<property name="p_plugin.dist_dir" value="dist"/>
<target name="init">
<tstamp/>
<property name="internal_name" value="sqlbookmark"/>
<property name="version" value="0.42"/>
<property name="debug" value="on"/>
<property name="optimize" value="off"/>
<property name="deprecation" value="on"/>
<echo message="---------------- ${internal_name} ${version} ----------------"/>
<property environment="env"/>
</target>
<!--
==================================================================
Compile the plugin.
No parameters.
==================================================================
-->
<target name="build" depends="init">
<property name="obj_dir" value="${p_plugin.work_dir}/obj"/>
<mkdir dir="${obj_dir}"/>
<javac srcdir="src"
destdir="${obj_dir}"
deprecation="${deprecation}"
debug="${debug}"
optimize="${optimize}"
includeJavaRuntime="yes">
<classpath>
<fileset dir="${p_plugin.core_libs_dir}">
<include name="**/*.*"/>
</fileset>
</classpath>
</javac>
<copy todir="${obj_dir}" >
<fileset dir="src" >
<include name="**/*.gif"/>
<include name="**/*.jpg"/>
<include name="**/*.jpeg"/>
<include name="**/*.xml"/>
<include name="**/*.properties"/>
</fileset>
</copy>
<jar jarfile="${p_plugin.dist_dir}/${internal_name}.jar" compress="false">
<fileset dir="${obj_dir}">
<include name="**/*.*"/>
</fileset>
</jar>
<copy todir="${p_plugin.dist_dir}/${internal_name}" >
<fileset dir="doc" >
<include name="*.*"/>
</fileset>
</copy>
<jar jarfile="${p_plugin.dist_dir}/${internal_name}/src.jar" compress="false">
<fileset dir=".">
<include name="src/**/*.*"/>
<include name="doc/**/*.*"/>
<include name="plugin_build.xml"/>
</fileset>
</jar>
</target>
</project>