[r22189]: pjo / trunk / ant / custom_build.xml Maximize Restore History

Download this file

custom_build.xml    90 lines (78 with data), 3.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
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0"?>
<project name="plugin-release-custom-build" basedir="." default="pf.usage">
<!-- :noTabs=true:tabSize=2: -->
<!-- pf = plugin factory -->
<target name="pf.usage">
<echo>For instructions visit https://sourceforge.net/apps/mediawiki/jedit/index.php?title=Conventions,_procedures#Releasing_a_plugin_part_II
</echo>
</target>
<!-- adjust once -->
<condition property="pf.dir" value="/m/temp/7/pf"
else="c:/temp/30/plugin-factory"><os family="unix"/></condition>
<condition property="prog.svn" value="svn"
else="C:\Program_Files\SlikSvn\bin\svn.exe"><os family="unix"/></condition>
<condition property="prog.git" value="git"
else="C:\Program_Files\Git\bin\git.exe"><os family="unix"/></condition>
<condition property="xsltproc.executable" value="xsltproc"
else="C:\Temp\1\xslt\bin\xsltproc.exe"><os family="unix"/></condition>
<condition property="prog.edit" value="gedit"
else="notepad.exe"><os family="unix"/></condition>
<!-- adjust per plugin release -->
<property name="plugin.name" value="JavascriptSideKick" />
<property name="plugin.version" value="1.0.0" />
<property name="scm.targets.file" value="svn_cl.xml" />
<property name="plugin.tag" value="JavascriptSideKick-1.0.0" />
<!--<property name="plugin.tag" value="trunk" />-->
<!-- don't change this part -->
<property name="plugin.release.custom.build.version" value="4" />
<property name="jedit.svn.url" value="https://jedit.svn.sourceforge.net/svnroot/jedit" />
<property name="jedit.git.url" value="git://jedit.git.sourceforge.net/gitroot/jedit" />
<property name="sandbox.dir" value="${pf.dir}/sandbox" />
<property name="package.targets.file" value="package.xml" />
<!-- see ${pf.dir}/pjo/ant/build.properties.sample for other properties which
may be set -->
<target name="pf.create">
<mkdir dir="${pf.dir}/pjo" />
<mkdir dir="${pf.dir}/build-support" />
<exec executable="${prog.svn}" dir="${pf.dir}/pjo" ><arg line="checkout https://jedit.svn.sourceforge.net/svnroot/jedit/pjo/trunk/ ." /></exec>
<exec executable="${prog.svn}" dir="${pf.dir}/build-support" ><arg line="checkout https://jedit.svn.sourceforge.net/svnroot/jedit/build-support/trunk/ ." /></exec>
</target>
<target name="pf.update" unless="no.pf.update" >
<echo>Updating ${pf.dir}/pjo</echo>
<exec executable="${prog.svn}" dir="${pf.dir}/pjo" ><arg line="update" /></exec>
<echo>Updating ${pf.dir}/build-support</echo>
<exec executable="${prog.svn}" dir="${pf.dir}/build-support" ><arg line="checkout https://jedit.svn.sourceforge.net/svnroot/jedit/build-support/trunk/ ." /></exec>
</target>
<target name="pf.init">
</target>
<presetdef name="ant-pf">
<ant antfile="${pf.dir}/pjo/ant/build.xml" dir="${pf.dir}/pjo/ant" />
</presetdef>
<target name="pf.dynamic" depends="pf.init">
<ant-pf target="${target}" />
</target>
<target name="pf.build" depends="pf.init">
<ant-pf target="build" />
</target>
<target name="pf.call" depends="pf.init">
<ant-pf target="call-plugin" />
</target>
<target name="pf.download" depends="pf.init, pf.update">
<ant-pf target="download" />
</target>
<target name="pf.download-deps" depends="pf.init">
<ant-pf target="download-deps" />
</target>
<target name="pf.package" depends="pf.init">
<ant-pf target="package" />
</target>
<target name="pf.reset" depends="pf.init">
<ant-pf target="reset" />
</target>
<target name="pf.test" depends="pf.init">
<ant-pf target="usage" />
</target>
<target name="pf.view" depends="pf.init">
<ant-pf target="view" />
</target>
</project>