Skip to content

Commit a97640d

Browse files
committed
fixing some bugs around packaging.
1 parent efdf9f0 commit a97640d

File tree

2 files changed

+2
-32
lines changed

2 files changed

+2
-32
lines changed

build.xml

+2-32
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
<taskdef classname="net.bluecow.googlecode.ant.GoogleCodeUploadTask" classpath="${lib.dir}/ant-googlecode-0.0.2.jar" name="gcupload"/>
7777

7878
<!-- 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}" />
8181

8282
<property name="build.dist.dir" location="${build.dir}/${ant.project.name}-${version}"/>
8383
<property name="build.dist.zip" location="${build.dir}/${ant.project.name}-${version}.zip"/>
@@ -253,36 +253,6 @@
253253
</exec>
254254
</target>
255255

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-
286256
<target name=".eclipse" description="Generate eclipse project metadata">
287257
<sweetenedClasspath file=".classpath">
288258
<sweetenedBits refid="unit.classpath" />

lib/sweetened.jar

179 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)