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 0
/
Copy pathbuild.xml
81 lines (69 loc) · 3.09 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Domain51_Loader" basedir="." default="make">
<includepath classpath="../../Phing_d51PearPkg2Task/trunk/src" />
<taskdef classname="phing.tasks.ext.d51PearPkg2Task" name="d51pearpkg2" />
<property name="version" value="0.1" />
<target name="clean">
<delete dir="./build/package" />
<delete dir="./build/export" />
<delete dir="./build/tests" />
<delete file="./Domain51_Loader-${version}.tgz" />
<mkdir dir="./build/package" />
</target>
<target name="export" depends="clean">
<echo msg="Exporting SVN files" />
<exec command="svn export ./src ./build/export" />
<exec command="svn export ./tests ./build/tests" />
<copy todir="./build/package">
<fileset dir="./build/export">
<include name="Domain51*/**" />
</fileset>
</copy>
</target>
<target name="build" depends="export">
<d51pearpkg2 dir="./build/package" baseinstalldir="/">
<name>Domain51_Loader</name>
<summary>Provides a generic class loader that hooks into SPL's autoload functionality</summary>
<channel>pear.domain51.com</channel>
<description indentions_to_remove="16">
<!-- Don't exceed this width -->
This packages provides a simple, fully-tested
class loader that automatically hooks itself
into SPL's autoload functionality while
playing well with existing __autoload()
functions.
</description>
<lead user="tswicegood" name="Travis Swicegood" email="[email protected]" />
<license>LGPL</license>
<version release="${version}" api="1.0" />
<stability release="alpha" api="alpha" />
<dirroles key="tests">test</dirroles>
<changelog version="0.1" date="2007-07-16">
This is the initial release of this package
</changelog>
</d51pearpkg2>
</target>
<target name="make" depends="build">
<echo msg="Creating PEAR archive file for Domain51_Loader" />
<mkdir dir="./build/package/Domain51_Loader-${version}" />
<copy todir="./build/package/Domain51_Loader-${version}">
<fileset dir="./build/package">
<include name="Domain51/**/**" />
</fileset>
</copy>
<delete dir="./build/package/Domain51" />
<tar compression="gzip" destfile="Domain51_Loader-${version}.tgz" basedir="./build/package" />
</target>
<target name="docs" depends="export">
<echo msg="Creating documentation" />
<phpdoc title="Domain51_Loader Docs"
destdir="./apidocs"
sourcecode="./build"
output="HTML:frames:DOM/earthli"
>
<fileset dir="./build/export">
<include name="**" />
</fileset>
</phpdoc>
</target>
</project>