Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[fbbf68]: build.xml Maximize Restore History

Download this file

build.xml    99 lines (89 with data), 3.1 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!-- ================================================== -->
<!-- Build file for the Project Viewer plugin -->
<!-- :tabSize=4:indentSize=4:noTabs=false: -->
<!-- :folding=explicit:collapseFolds=1: -->
<!-- ================================================== -->
<project name="ProjectViewer" default="build" basedir=".">
<property file="../build.properties" />
<property file="build.properties" />
<!-- You should set this property in your build.properties to
the location of the jedit "build-support/trunk" project
checked out from jEdit's SVN repository -->
<property name="build.support" value="../build-support" />
<property name="javadoc.packagenames" value="projectviewer.*" />
<property name="plugin.dependencies" value="ErrorList,InfoViewer" />
<property name="dist.target" value="dist.complete" />
<property name="compiler.source" value="1.5" />
<property name="compiler.target" value="1.5" />
<property name="jedit.plugins.dir" value="${install.dir}" />
<import file="${build.support}/plugin-build.xml" />
<!-- By default don't compile the debug plugin. -->
<selector id="compileFiles">
<and>
<filename name="**/*.java" />
<not>
<filename name="pvdebug/**" />
</not>
</and>
</selector>
<!-- Remove the files from the debug plugin from the main
plugin's package. -->
<selector id="extraFiles">
<and>
<or>
<filename name="**/actions.xml" />
<filename name="**/dockables.xml" />
<filename name="**/services.xml" />
<filename name="**/*.props" />
<filename name="**/LICENSE" />
<filename name="**/README" />
<filename name="projectviewer/images/**" />
<filename name="projectviewer/*.properties" />
</or>
<not>
<filename name="pvdebug/**" />
</not>
<not>
<filename name="${build.dir}/**" />
</not>
</and>
</selector>
<!-- {{{Add needed plugins to the classpath. -->
<path id="project.class.path">
<fileset dir="..">
<include name="*.jar" />
<exclude name="ProjectViewer*" />
</fileset>
<pathelement location="${jedit.plugins.dir}/InfoViewer.jar" />
<pathelement location="${jedit.plugins.dir}/ErrorList.jar" />
<pathelement location="${jedit.plugins.dir}/CommonControls.jar" />
</path>
<!-- }}} -->
<!--{{{ Builds the debug plugin. -->
<target name="build.debug"
description="Builds the PV debug plugin and the test cases.">
<path id="project.class.path">
<pathelement location="../ProjectViewer.jar" />
<pathelement location="${jedit.install.dir}/jars/ProjectViewer.jar" />
</path>
<jp.javac>
<and>
<filename name="**/*.java" />
<not>
<filename name="projectviewer/**" />
</not>
</and>
</jp.javac>
<runtarget target="compile" />
<jar jarfile="${debug.target.dir}/ProjectViewerDebug.jar">
<fileset dir="${build.classes}">
<include name="pvdebug/**.*" />
</fileset>
<fileset dir="${basedir}/pvdebug">
<include name="*.*" />
<exclude name="*.java" />
</fileset>
</jar>
</target>
<!--}}}-->
</project>