Хранилища Subversion ant

Редакция

Редакция 69 | Только различия | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS

Редакция 69 Редакция 87
1
<commands version="1.0">
1
<commands version="1.0">
2
 <package>
2
 <package>
3
  <summary>Build Package</summary>
3
  <summary>Build Package</summary>
4
  <function>doPackage</function>
4
  <function>doPackage</function>
5
  <shortcut>p</shortcut>
5
  <shortcut>p</shortcut>
6
  <options>
6
  <options>
7
   <nocompress>
7
   <nocompress>
8
    <shortopt>Z</shortopt>
8
    <shortopt>Z</shortopt>
9
    <doc>Do not gzip the package file</doc>
9
    <doc>Do not gzip the package file</doc>
10
   </nocompress>
10
   </nocompress>
11
   <showname>
11
   <showname>
12
    <shortopt>n</shortopt>
12
    <shortopt>n</shortopt>
13
    <doc>Print the name of the packaged file.</doc>
13
    <doc>Print the name of the packaged file.</doc>
14
   </showname>
14
   </showname>
15
  </options>
15
  </options>
16
  <doc>[descfile] [descfile2]
16
  <doc>[descfile] [descfile2]
17
Creates a PEAR package from its description file (usually called
17
Creates a PEAR package from its description file (usually called
18
package.xml).  If a second packagefile is passed in, then
18
package.xml).  If a second packagefile is passed in, then
19
the packager will check to make sure that one is a package.xml
19
the packager will check to make sure that one is a package.xml
20
version 1.0, and the other is a package.xml version 2.0.  The
20
version 1.0, and the other is a package.xml version 2.0.  The
21
package.xml version 1.0 will be saved as &quot;package.xml&quot; in the archive,
21
package.xml version 1.0 will be saved as &quot;package.xml&quot; in the archive,
22
and the other as &quot;package2.xml&quot; in the archive&quot;
22
and the other as &quot;package2.xml&quot; in the archive&quot;
23
</doc>
23
</doc>
24
 </package>
24
 </package>
25
 <package-validate>
25
 <package-validate>
26
  <summary>Validate Package Consistency</summary>
26
  <summary>Validate Package Consistency</summary>
27
  <function>doPackageValidate</function>
27
  <function>doPackageValidate</function>
28
  <shortcut>pv</shortcut>
28
  <shortcut>pv</shortcut>
29
  <options />
29
  <options />
30
  <doc>
30
  <doc>
31
</doc>
31
</doc>
32
 </package-validate>
32
 </package-validate>
33
 <cvsdiff>
33
 <cvsdiff>
34
  <summary>Run a &quot;cvs diff&quot; for all files in a package</summary>
34
  <summary>Run a &quot;cvs diff&quot; for all files in a package</summary>
35
  <function>doCvsDiff</function>
35
  <function>doCvsDiff</function>
36
  <shortcut>cd</shortcut>
36
  <shortcut>cd</shortcut>
37
  <options>
37
  <options>
38
   <quiet>
38
   <quiet>
39
    <shortopt>q</shortopt>
39
    <shortopt>q</shortopt>
40
    <doc>Be quiet</doc>
40
    <doc>Be quiet</doc>
41
   </quiet>
41
   </quiet>
42
   <reallyquiet>
42
   <reallyquiet>
43
    <shortopt>Q</shortopt>
43
    <shortopt>Q</shortopt>
44
    <doc>Be really quiet</doc>
44
    <doc>Be really quiet</doc>
45
   </reallyquiet>
45
   </reallyquiet>
46
   <date>
46
   <date>
47
    <shortopt>D</shortopt>
47
    <shortopt>D</shortopt>
48
    <doc>Diff against revision of DATE</doc>
48
    <doc>Diff against revision of DATE</doc>
49
    <arg>DATE</arg>
49
    <arg>DATE</arg>
50
   </date>
50
   </date>
51
   <release>
51
   <release>
52
    <shortopt>R</shortopt>
52
    <shortopt>R</shortopt>
53
    <doc>Diff against tag for package release REL</doc>
53
    <doc>Diff against tag for package release REL</doc>
54
    <arg>REL</arg>
54
    <arg>REL</arg>
55
   </release>
55
   </release>
56
   <revision>
56
   <revision>
57
    <shortopt>r</shortopt>
57
    <shortopt>r</shortopt>
58
    <doc>Diff against revision REV</doc>
58
    <doc>Diff against revision REV</doc>
59
    <arg>REV</arg>
59
    <arg>REV</arg>
60
   </revision>
60
   </revision>
61
   <context>
61
   <context>
62
    <shortopt>c</shortopt>
62
    <shortopt>c</shortopt>
63
    <doc>Generate context diff</doc>
63
    <doc>Generate context diff</doc>
64
   </context>
64
   </context>
65
   <unified>
65
   <unified>
66
    <shortopt>u</shortopt>
66
    <shortopt>u</shortopt>
67
    <doc>Generate unified diff</doc>
67
    <doc>Generate unified diff</doc>
68
   </unified>
68
   </unified>
69
   <ignore-case>
69
   <ignore-case>
70
    <shortopt>i</shortopt>
70
    <shortopt>i</shortopt>
71
    <doc>Ignore case, consider upper- and lower-case letters equivalent</doc>
71
    <doc>Ignore case, consider upper- and lower-case letters equivalent</doc>
72
   </ignore-case>
72
   </ignore-case>
73
   <ignore-whitespace>
73
   <ignore-whitespace>
74
    <shortopt>b</shortopt>
74
    <shortopt>b</shortopt>
75
    <doc>Ignore changes in amount of white space</doc>
75
    <doc>Ignore changes in amount of white space</doc>
76
   </ignore-whitespace>
76
   </ignore-whitespace>
77
   <ignore-blank-lines>
77
   <ignore-blank-lines>
78
    <shortopt>B</shortopt>
78
    <shortopt>B</shortopt>
79
    <doc>Ignore changes that insert or delete blank lines</doc>
79
    <doc>Ignore changes that insert or delete blank lines</doc>
80
   </ignore-blank-lines>
80
   </ignore-blank-lines>
81
   <brief>
81
   <brief>
82
    <doc>Report only whether the files differ, no details</doc>
82
    <doc>Report only whether the files differ, no details</doc>
83
   </brief>
83
   </brief>
84
   <dry-run>
84
   <dry-run>
85
    <shortopt>n</shortopt>
85
    <shortopt>n</shortopt>
86
    <doc>Don&apos;t do anything, just pretend</doc>
86
    <doc>Don&apos;t do anything, just pretend</doc>
87
   </dry-run>
87
   </dry-run>
88
  </options>
88
  </options>
89
  <doc>&lt;package.xml&gt;
89
  <doc>&lt;package.xml&gt;
90
Compares all the files in a package.  Without any options, this
90
Compares all the files in a package.  Without any options, this
91
command will compare the current code with the last checked-in code.
91
command will compare the current code with the last checked-in code.
92
Using the -r or -R option you may compare the current code with that
92
Using the -r or -R option you may compare the current code with that
93
of a specific release.
93
of a specific release.
94
</doc>
94
</doc>
95
 </cvsdiff>
95
 </cvsdiff>
96
 <cvstag>
96
 <cvstag>
97
  <summary>Set CVS Release Tag</summary>
97
  <summary>Set CVS Release Tag</summary>
98
  <function>doCvsTag</function>
98
  <function>doCvsTag</function>
99
  <shortcut>ct</shortcut>
99
  <shortcut>ct</shortcut>
100
  <options>
100
  <options>
101
   <quiet>
101
   <quiet>
102
    <shortopt>q</shortopt>
102
    <shortopt>q</shortopt>
103
    <doc>Be quiet</doc>
103
    <doc>Be quiet</doc>
104
   </quiet>
104
   </quiet>
105
   <reallyquiet>
105
   <reallyquiet>
106
    <shortopt>Q</shortopt>
106
    <shortopt>Q</shortopt>
107
    <doc>Be really quiet</doc>
107
    <doc>Be really quiet</doc>
108
   </reallyquiet>
108
   </reallyquiet>
109
   <slide>
109
   <slide>
110
    <shortopt>F</shortopt>
110
    <shortopt>F</shortopt>
111
    <doc>Move (slide) tag if it exists</doc>
111
    <doc>Move (slide) tag if it exists</doc>
112
   </slide>
112
   </slide>
113
   <delete>
113
   <delete>
114
    <shortopt>d</shortopt>
114
    <shortopt>d</shortopt>
115
    <doc>Remove tag</doc>
115
    <doc>Remove tag</doc>
116
   </delete>
116
   </delete>
117
   <dry-run>
117
   <dry-run>
118
    <shortopt>n</shortopt>
118
    <shortopt>n</shortopt>
119
    <doc>Don&apos;t do anything, just pretend</doc>
119
    <doc>Don&apos;t do anything, just pretend</doc>
120
   </dry-run>
120
   </dry-run>
121
  </options>
121
  </options>
122
  <doc>&lt;package.xml&gt;
122
  <doc>&lt;package.xml&gt;
123
Sets a CVS tag on all files in a package.  Use this command after you have
123
Sets a CVS tag on all files in a package.  Use this command after you have
124
packaged a distribution tarball with the &quot;package&quot; command to tag what
124
packaged a distribution tarball with the &quot;package&quot; command to tag what
125
revisions of what files were in that release.  If need to fix something
125
revisions of what files were in that release.  If need to fix something
126
after running cvstag once, but before the tarball is released to the public,
126
after running cvstag once, but before the tarball is released to the public,
127
use the &quot;slide&quot; option to move the release tag.
127
use the &quot;slide&quot; option to move the release tag.
128
</doc>
128
</doc>
129
 </cvstag>
129
 </cvstag>
130
 <package-dependencies>
130
 <package-dependencies>
131
  <summary>Show package dependencies</summary>
131
  <summary>Show package dependencies</summary>
132
  <function>doPackageDependencies</function>
132
  <function>doPackageDependencies</function>
133
  <shortcut>pd</shortcut>
133
  <shortcut>pd</shortcut>
134
  <options />
134
  <options />
135
  <doc>
135
  <doc>
136
List all dependencies the package has.</doc>
136
List all dependencies the package has.</doc>
137
 </package-dependencies>
137
 </package-dependencies>
138
 <sign>
138
 <sign>
139
  <summary>Sign a package distribution file</summary>
139
  <summary>Sign a package distribution file</summary>
140
  <function>doSign</function>
140
  <function>doSign</function>
141
  <shortcut>si</shortcut>
141
  <shortcut>si</shortcut>
142
  <options />
142
  <options />
143
  <doc>&lt;package-file&gt;
143
  <doc>&lt;package-file&gt;
144
Signs a package distribution (.tar or .tgz) file with GnuPG.</doc>
144
Signs a package distribution (.tar or .tgz) file with GnuPG.</doc>
145
 </sign>
145
 </sign>
146
 <makerpm>
146
 <makerpm>
147
  <summary>Builds an RPM spec file from a PEAR package</summary>
147
  <summary>Builds an RPM spec file from a PEAR package</summary>
148
  <function>doMakeRPM</function>
148
  <function>doMakeRPM</function>
149
  <shortcut>rpm</shortcut>
149
  <shortcut>rpm</shortcut>
150
  <options>
150
  <options>
151
   <spec-template>
151
   <spec-template>
152
    <shortopt>t</shortopt>
152
    <shortopt>t</shortopt>
153
    <arg>FILE</arg>
153
    <arg>FILE</arg>
154
    <doc>Use FILE as RPM spec file template</doc>
154
    <doc>Use FILE as RPM spec file template</doc>
155
   </spec-template>
155
   </spec-template>
156
   <rpm-pkgname>
156
   <rpm-pkgname>
157
    <shortopt>p</shortopt>
157
    <shortopt>p</shortopt>
158
    <arg>FORMAT</arg>
158
    <arg>FORMAT</arg>
159
    <doc>Use FORMAT as format string for RPM package name, %s is replaced
159
    <doc>Use FORMAT as format string for RPM package name, %s is replaced
160
by the PEAR package name, defaults to &quot;PEAR::%s&quot;.</doc>
160
by the PEAR package name, defaults to &quot;PEAR::%s&quot;.</doc>
161
   </rpm-pkgname>
161
   </rpm-pkgname>
162
  </options>
162
  </options>
163
  <doc>&lt;package-file&gt;
163
  <doc>&lt;package-file&gt;
164
164
165
Creates an RPM .spec file for wrapping a PEAR package inside an RPM
165
Creates an RPM .spec file for wrapping a PEAR package inside an RPM
166
package.  Intended to be used from the SPECS directory, with the PEAR
166
package.  Intended to be used from the SPECS directory, with the PEAR
167
package tarball in the SOURCES directory:
167
package tarball in the SOURCES directory:
168
168
169
$ pear makerpm ../SOURCES/Net_Socket-1.0.tgz
169
$ pear makerpm ../SOURCES/Net_Socket-1.0.tgz
170
Wrote RPM spec file PEAR::Net_Geo-1.0.spec
170
Wrote RPM spec file PEAR::Net_Geo-1.0.spec
171
$ rpm -bb PEAR::Net_Socket-1.0.spec
171
$ rpm -bb PEAR::Net_Socket-1.0.spec
172
...
172
...
173
Wrote: /usr/src/redhat/RPMS/i386/PEAR::Net_Socket-1.0-1.i386.rpm
173
Wrote: /usr/src/redhat/RPMS/i386/PEAR::Net_Socket-1.0-1.i386.rpm
174
</doc>
174
</doc>
175
 </makerpm>
175
 </makerpm>
176
 <convert>
176
 <convert>
177
  <summary>Convert a package.xml 1.0 to package.xml 2.0 format</summary>
177
  <summary>Convert a package.xml 1.0 to package.xml 2.0 format</summary>
178
  <function>doConvert</function>
178
  <function>doConvert</function>
179
  <shortcut>c2</shortcut>
179
  <shortcut>c2</shortcut>
180
  <options>
180
  <options>
181
   <flat>
181
   <flat>
182
    <shortopt>f</shortopt>
182
    <shortopt>f</shortopt>
183
    <doc>do not beautify the filelist.</doc>
183
    <doc>do not beautify the filelist.</doc>
184
   </flat>
184
   </flat>
185
  </options>
185
  </options>
186
  <doc>[descfile] [descfile2]
186
  <doc>[descfile] [descfile2]
187
Converts a package.xml in 1.0 format into a package.xml
187
Converts a package.xml in 1.0 format into a package.xml
188
in 2.0 format.  The new file will be named package2.xml by default,
188
in 2.0 format.  The new file will be named package2.xml by default,
189
and package.xml will be used as the old file by default.
189
and package.xml will be used as the old file by default.
190
This is not the most intelligent conversion, and should only be
190
This is not the most intelligent conversion, and should only be
191
used for automated conversion or learning the format.
191
used for automated conversion or learning the format.
192
</doc>
192
</doc>
193
 </convert>
193
 </convert>
194
</commands>
194
</commands>
195
 
195