This repository has been archived by the owner on Apr 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
111 lines (97 loc) · 4.45 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Domain51_PEAR_Channel_Frontend" basedir="." default="make">
<taskdef classname="phing.tasks.ext.d51PearPkg2Task" name="d51pearpkg2" />
<property name="version" value="0.1.2" />
<property name="package_name" value="Domain51_PEAR_Channel_Frontend" />
<target name="clean">
<delete dir="./build/package" />
<delete dir="./build/export" />
<delete file="./${package_name}-${version}.tgz" />
<mkdir dir="./build/package" />
</target>
<target name="export" depends="clean">
<echo msg="Exporting SVN files" />
<exec command="svn export ./src ./build/export" />
<copy todir="./build/package">
<filterchain>
<replacetokens begintoken="@@" endtoken="@@">
<token key="VERSION" value="${version}" />
</replacetokens>
</filterchain>
<fileset dir="./build/export">
<include name="Domain51*/**" />
</fileset>
</copy>
</target>
<target name="build" depends="export">
<d51pearpkg2 dir="./build/package" baseinstalldir="/">
<name>${package_name}</name>
<summary>A rewrite of Crtx_PEAR_Channel_Frontend</summary>
<channel>pear.domain51.com</channel>
<description indentions_to_remove="16">
<!-- Don't exceed this width -->
This package provides a rewrite of Davey
Shafik's excellent Crtx_PEAR_Channel_Frontend
package. This package goes beyond Davey's
implementation by offerring templates to
control the output and abstracting the
database interaction into another package,
Domain51_PEAR_Channel.
</description>
<lead user="tswicegood" name="Travis Swicegood" email="[email protected]" />
<license>LGPL</license>
<version release="${version}" api="1.0" />
<stability release="alpha" api="alpha" />
<changelog version="0.1.2" date="2007-10-20">
<!-- Don't exceed this width -->
Add dependency to Domain51_Template
</changelog>
<changelog version="0.1.1" date="2007-08-22">
<!-- Don't exceed this width -->
* Reverse order of downloads so most recent is
displayed first on downloads page
* Reverse order of releases on package page so
the most recent is displayed first, and only
show the latest releases at each stability
level.
</changelog>
<changelog version="0.1" date="@@DATE@@">
This is the initial alpha release of this package
</changelog>
<dependencies>
<package name="Domain51_PEAR_Channel"
channel="pear.domain51.com"
minimum_version="0.1.1" />
<package name="Crtx_PEAR_Channel_Frontend"
channel="pear.crtx.org"
recommended_version="0.3.1" />
<package name="Domain51_Template"
channel="pear.domain51.com"
minimum_version="0.1" />
</dependencies>
</d51pearpkg2>
</target>
<target name="make" depends="build">
<echo msg="Creating PEAR archive file for ${package_name}" />
<mkdir dir="./build/package/${package_name}-${version}" />
<copy todir="./build/package/${package_name}-${version}">
<fileset dir="./build/package">
<include name="Domain51/**/**" />
</fileset>
</copy>
<delete dir="./build/package/Domain51" />
<tar compression="gzip" destfile="${package_name}-${version}.tgz" basedir="./build/package" />
</target>
<target name="docs" depends="export">
<echo msg="Creating documentation" />
<phpdoc title="${package_name} Docs"
destdir="./apidocs"
sourcecode="./build"
output="HTML:frames:DOM/earthli"
>
<fileset dir="./build/export">
<include name="**" />
</fileset>
</phpdoc>
</target>
</project>