Skip to content

Commit d16683f

Browse files
committed
Removing svn build info from the build script.
1 parent dc2d347 commit d16683f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

build/build.xml

+13-13
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ http://bugs.adobe.com/jira/browse/SDK-20449
112112
<target name="checkBuildServer" description="Checks if this is the build server">
113113
<condition property="isBuildServer" value="false">
114114
<and>
115-
<isset property="env.SVN_REVISION"/>
115+
<!--<isset property="env.SVN_REVISION"/>-->
116116
<isset property="env.BUILD_NUMBER"/>
117117
</and>
118118
</condition>
@@ -121,14 +121,14 @@ http://bugs.adobe.com/jira/browse/SDK-20449
121121
<target name="populateBuildVersion" description="Creates an updated BuildVersion.as"
122122
depends="checkBuildServer" if="isBuildServer">
123123

124-
<echo>Revision Number: ${env.SVN_REVISION}</echo>
124+
<!--<echo>Revision Number: ${env.SVN_REVISION}</echo>-->
125125
<echo>Build Number: ${env.BUILD_NUMBER}</echo>
126126

127127
<copy file="${classesDir}/com/pblabs/engine/version/BuildVersion.as.templ"
128128
tofile="${classesDir}/com/pblabs/engine/version/BuildVersion.as" overwrite="true" />
129129

130130
<replace file="${classesDir}/com/pblabs/engine/version/BuildVersion.as"
131-
token="@buildNumber@" value="r${env.SVN_REVISION} (ZaaBot build #${env.BUILD_NUMBER})" />
131+
token="@buildNumber@" value="(ZaaBot build #${env.BUILD_NUMBER})" />
132132
</target>
133133

134134
<target name="compile" description="Creates SWC and API docs." unless="isUpToDate" depends="printUpToDate,ensureValidEnvironment">
@@ -139,7 +139,7 @@ http://bugs.adobe.com/jira/browse/SDK-20449
139139
<target name="clean" description="Delete build artifacts." depends="cleanDocs,cleanLessons">
140140
<delete file="${binDir}/PBEngine.swc"/>
141141
<delete includeemptydirs="false" quiet="true">
142-
<fileset dir="${rootDir}" includes="PushButtonEngine-r*.zip"></fileset>
142+
<fileset dir="${rootDir}" includes="PushButtonEngine-*.zip"></fileset>
143143
</delete>
144144
</target>
145145

@@ -176,9 +176,9 @@ http://bugs.adobe.com/jira/browse/SDK-20449
176176
<target name="generateDocs" description="Generates docs" depends="cleanDocs,identifyClasses">
177177
<!-- Get the current revision. -->
178178
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="localClasspath" />
179-
<svn>
179+
<!--<svn>
180180
<status path="." revisionProperty="svn.revision"/>
181-
</svn>
181+
</svn>-->
182182

183183
<echo>Generating documentation for '${docsDir}'...</echo>
184184

@@ -287,10 +287,10 @@ http://bugs.adobe.com/jira/browse/SDK-20449
287287

288288
<!-- Get the current revision. -->
289289
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="localClasspath" />
290-
<svn>
290+
<!--<svn>
291291
<status path="." revisionProperty="svn.revision"/>
292292
</svn>
293-
<echo>Packaging version ${svn.revision} of PBEngine SDK from repo</echo>
293+
<echo>Packaging version ${svn.revision} of PBEngine SDK from repo</echo>-->
294294

295295
<!-- Package it all into a zip into the docs directory. -->
296296
<delete file="${rootDir}/docs/downloads/Lesson1FlashDevelop.zip" quiet="true"/>
@@ -331,15 +331,15 @@ http://bugs.adobe.com/jira/browse/SDK-20449
331331
<!-- Build everything from scratch - dependencies do this. -->
332332

333333
<!-- Get the current revision. -->
334-
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="localClasspath" />
335-
<svn>
334+
<!--<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="localClasspath" />-->
335+
<!--<svn>
336336
<status path="." revisionProperty="svn.revision"/>
337337
</svn>
338-
<echo>Packaging version ${svn.revision} of PBEngine SDK from repo</echo>
338+
<echo>Packaging version ${svn.revision} of PBEngine SDK from repo</echo>-->
339339

340340
<!-- Package it all into a zip with appropriate name. -->
341-
<delete file="${rootDir}/PushButtonEngine-r${svn.revision}.zip" quiet="true"/>
342-
<zip destfile="${rootDir}/PushButtonEngine-r${svn.revision}.zip" basedir="${rootDir}" excludes="*svn*,PushButtonEngine-r*.zip,build.properties,build/testrun*,builds/*,builds"/>
341+
<delete file="${rootDir}/PushButtonEngine-b${env.BUILD_NUMBER}.zip" quiet="true"/>
342+
<zip destfile="${rootDir}/PushButtonEngine-b${env.BUILD_NUMBER}.zip" basedir="${rootDir}" excludes="*svn*,PushButtonEngine-r*.zip,build.properties,build/testrun*,builds/*,builds"/>
343343
</target>
344344

345345
<target name="buildSWF" description="Build a SWF for a project given a few properties. Used by per-project Ant files.">

0 commit comments

Comments
 (0)