This repository was archived by the owner on Apr 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.xml
190 lines (162 loc) · 7.82 KB
/
build.xml
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<?xml version="1.0" ?>
<!--
This contains the build script for the various PEAR packages contained in this repo.
-->
<project name="Domain51_PEAR" basedir="." default="make">
<includepath classpath="${project.basedir}/src" />
<taskdef classname="phing.tasks.ext.d51PearPkg2Task" name="d51pearpkg2" />
<property name="version" value="0.6.3" />
<target name="export">
<echo msg="Exporting SVN files" />
<delete dir="./build" />
<copy todir="./build/phing">
<fileset dir="./src/phing">
<include name="*/**" />
</fileset>
</copy>
</target>
<target name="build" depends="export">
<d51pearpkg2 dir="./build"
baseinstalldir="/">
<name>Phing_d51PearPkg2Task</name>
<summary>An alternative to phing's default pearpkg2</summary>
<channel>pear.domain51.com</channel>
<description>
<!-- Don't exceed this width -->
This package provides an alternative to phing's
bundled pearpkg2, allowing for a build script
that more closely resembles a real
package.xml2.0 file or using the API that is
available by using PEAR_PackageFileManager2.
</description>
<lead user="tswicegood" name="Travis Swicegood" email="[email protected]" />
<license>LGPL</license>
<version release="${version}" api="1.0" />
<stability release="alpha" api="alpha" />
<dependencies>
<php minimum_version="5.2.0" />
<pear minimum_version="1.6.0" />
<package name="PEAR_PackageFileManager"
channel="pear.php.net"
minimum_version="1.6.0" />
</dependencies>
<changelog version="0.6.3" date="2010-08-30" license="LGPL">
<!-- Don't exceed this width -->
Fixes a few internal issues:
* Fixes an issue where setOptions() fails and
it doesn't complain.
* Update the internal the build.xml file to
work with its new Git home.
* Remove recommended_version against PEAR since
the original implementor in PEAR doesn't have
a clue how that should have really worked.
</changelog>
<changelog version="0.6.2.1" date="2007-10-19" license="LGPL">
Fix issue introduced by previous "fix"
</changelog>
<changelog version="0.6.2" date="2007-10-19" license="LGPL">
<!-- Don't exceed this width -->
Bug fix release.
* default minimum PEAR version to current PEAR
* default minimum PHP version to current PHP
* adds logging output for both
</changelog>
<changelog version="0.6.1" date="2007-09-08" license="LGPL">
Rebuilt release to insure Frontend.php was
included in tarball.
</changelog>
<changelog version="0.6" date="2007-09-01" license="LGPL">
<!-- Don't exceed this width -->
The following changes were made:
* allow setting of "type" attribute at main
package. If not specified, type is php.
* redirects all output from the PEAR package
generator directly to phing logs.
</changelog>
<changelog version="0.5" date="2007-08-22" license="LGPL">
<!-- Don't exceed this width -->
The following changes were made:
* Add in ability to set PHP and PEAR version
dependencies.
* Make PHP minimum version default to the
current PHP version.
* Make PEAR minimum version default to the
current PEAR version
* Rename "exclude_version" to
"exclude_versions" and make it comma separated
so you can specify multiple versions to exclude.
</changelog>
<changelog version="0.4" date="2007-08-09" license="LGPL">
<!-- Don't exceed this width -->
Add in dependency on PEAR_PackageFileManager so
this will work once installed.
</changelog>
<changelog version="0.3" date="2007-08-04" license="LGPL">
<!-- Don't exceed this width -->
Adds new Release and Replacement objects. Both
still need tweaking, but basic functionality is
there.
</changelog>
<changelog version="0.2.2" date="2007-07-19" license="LGPL">
<!-- Don't exceed this width -->
Adds new Description object to allow for more
flexibility and removes the hackish means of
removing leading spaces within the
<description> element. Two new attributes
have been added:
* "indention_type" which should be either tab
or space. This defaults to space, and any
value other than "tab" will result in spaces
being used.
* "indentions_to_remove" which specifies the
number of tabs or spaces to remove.
</changelog>
<changelog version="0.2.1" date="2007-07-19" license="LGPL">
Fixes type in dir_roles generation that kept
them from properly being added.
</changelog>
<changelog version="0.2" date="2007-07-06" license="LGPL">
Release 0.2 adds in the following undocumented
features:
* <dependencies> element for handling basic
dependencies (see Domain51_Cache for usage
examples)
* <changelog> element for handling changelog
entries
* <notes> element now not required if a
<changelog> element with the same version
is present.
* <notes> only strip off preceding soft and
hard tabs. Soft-tabs are assumed to be 4
spaces.
</changelog>
<changelog version="0.1" date="2007-06-27" license="LGPL">
Initial release of package
</changelog>
</d51pearpkg2>
</target>
<target name="make" depends="build">
<echo msg="Creating PEAR archive file for PHP_Callback" />
<mkdir dir="./build/Phing_d51PearPkg2Task-${version}" />
<copy todir="./build/Phing_d51PearPkg2Task-${version}">
<fileset dir="./build">
<include name="phing*/**" />
</fileset>
</copy>
<delete dir="./build/phing" />
<delete file="Phing_d51PearPkg2Task-${version}.tgz" />
<tar compression="gzip" destfile="Phing_d51PearPkg2Task-${version}.tgz" basedir="./build" />
</target>
<target name="docs" depends="export">
<echo msg="Creating documentation" />
<phpdoc title="Phing_d51PearPkg2Task Docs"
destdir="./apidocs"
sourcecode="./build"
output="HTML:frames:DOM/earthli"
>
<fileset dir="./build">
<include name="**" />
</fileset>
</phpdoc>
</target>
</project>