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

[3ca910]: build.xml Maximize Restore History

Download this file

build.xml    88 lines (76 with data), 3.0 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
<!-- ================================================== -->
<!-- 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="CommonControls,ErrorList,InfoViewer" />
<property name="dist.target" value="dist.complete" />
<property name="jedit.plugins.dir" value="${install.dir}" />
<import file="${build.support}/plugin-build.xml" />
<!-- Don't compile the debug plugin here. -->
<selector id="compileFiles">
<filename name="projectviewer/**/*.java" />
</selector>
<!-- {{{ extraFiles selector - extra files to add to the JAR
Normally, we override the 'packageFiles' selector, but here
we are overriding extraFiles to avoid accidentally including things from
the debug plugin. -->
<selector id="extraFiles">
<or>
<filename name="lang_*.properties" />
<filename name="actions.xml" />
<filename name="dockables.xml" />
<filename name="services.xml" />
<filename name="*.props" />
<filename name="docs/LICENSE" />
<filename name="docs/CHANGELOG.txt" />
<filename name="projectviewer/images/**" />
<filename name="projectviewer/*.properties" />
</or>
</selector> <!-- }}} -->
<!-- {{{Add needed plugins to the classpath. -->
<path id="pv.project.class.path">
<pathelement location="${jedit.plugins.dir}/InfoViewer.jar" />
<pathelement location="${jedit.plugins.dir}/ErrorList.jar" />
<pathelement location="${jedit.plugins.dir}/CommonControls.jar" />
</path>
<path id="project.class.path">
<path refid="pv.project.class.path" />
</path>
<!-- }}} -->
<!--{{{ Builds the debug plugin. -->
<target name="build.debug"
description="Builds the PV debug plugin and the test cases.">
<!-- PV must be build first to provide output directories -->
<path id="project.class.path">
<path refid="pv.project.class.path" />
<pathelement location="${jedit.plugins.dir}/ProjectViewer.jar" />
</path>
<jp.javac>
<and>
<filename name="**/*.java" />
<not>
<filename name="projectviewer/**" />
</not>
</and>
</jp.javac>
<jar jarfile="${install.dir}/ProjectViewerDebug.jar">
<fileset dir="${build.classes}">
<include name="pvdebug/**.*" />
</fileset>
<fileset dir="${basedir}/pvdebug">
<include name="*.*" />
<exclude name="*.java" />
</fileset>
</jar>
</target>
<!--}}}-->
</project>