|
76 | 76 | <taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpath="${lib.dir}/ant-googlecode-0.0.2.jar" name="gcupload"/>
|
77 | 77 |
|
78 | 78 | <!-- A hack because svnant does not respect Ant's properties can't be overwritten rule. -->
|
79 |
| - <property name="version" value="${sRevisionVersion}" /> |
80 |
| - <property name="build.version" value="${sRevisionVersion}" /> |
| 79 | + <property name="version" value="${sVersionRevision}" /> |
| 80 | + <property name="build.version" value="${sVersionRevision}" /> |
81 | 81 |
|
82 | 82 | <property name="build.dist.dir" location="${build.dir}/${ant.project.name}-${version}"/>
|
83 | 83 | <property name="build.dist.zip" location="${build.dir}/${ant.project.name}-${version}.zip"/>
|
|
253 | 253 | </exec>
|
254 | 254 | </target>
|
255 | 255 |
|
256 |
| - <target name="upload" depends="init"> |
257 |
| - <gcupload projectname="${ant.project.name}" |
258 |
| - userName="${gc.username}" |
259 |
| - password="${gc.password}" |
260 |
| - filename="${build.dist.zip}" |
261 |
| - targetfilename="${build.dist.zip}" |
262 |
| - summary="${ant.project.name} distribution" |
263 |
| - labels="Featured, Type-Package, OpSys-All" /> |
264 |
| - |
265 |
| - <!-- hacky, but need both path to file and filename --> |
266 |
| - <path id="file.deb"> |
267 |
| - <fileset dir="${target.dir}" includes="*.deb" /> |
268 |
| - </path> |
269 |
| - <property name="file.deb.path" refid="file.deb" /> |
270 |
| - <pathconvert property="file.deb.target" targetos="unix"> |
271 |
| - <path> |
272 |
| - <fileset dir="${target.dir}" includes="*.deb" /> |
273 |
| - </path> |
274 |
| - <mapper type="flatten"/> |
275 |
| - </pathconvert> |
276 |
| - |
277 |
| - <gcupload projectname="${ant.project.name}" |
278 |
| - userName="${gc.username}" |
279 |
| - password="${gc.password}" |
280 |
| - filename="${file.deb.path}" |
281 |
| - targetfilename="${file.deb.target}" |
282 |
| - summary="${ant.project.name} debian distribution" |
283 |
| - labels="Featured, Type-Installer, OpSys-Linux, Debian" /> |
284 |
| - </target> |
285 |
| - |
286 | 256 | <target name=".eclipse" description="Generate eclipse project metadata">
|
287 | 257 | <sweetenedClasspath file=".classpath">
|
288 | 258 | <sweetenedBits refid="unit.classpath" />
|
|
0 commit comments