@@ -112,7 +112,7 @@ http://bugs.adobe.com/jira/browse/SDK-20449
112
112
<target name =" checkBuildServer" description =" Checks if this is the build server" >
113
113
<condition property =" isBuildServer" value =" false" >
114
114
<and >
115
- <isset property =" env.SVN_REVISION" />
115
+ <!-- < isset property="env.SVN_REVISION"/> -- >
116
116
<isset property =" env.BUILD_NUMBER" />
117
117
</and >
118
118
</condition >
@@ -121,14 +121,14 @@ http://bugs.adobe.com/jira/browse/SDK-20449
121
121
<target name =" populateBuildVersion" description =" Creates an updated BuildVersion.as"
122
122
depends =" checkBuildServer" if =" isBuildServer" >
123
123
124
- <echo >Revision Number: ${ env.SVN_REVISION } </echo >
124
+ <!-- < echo>Revision Number: ${env.SVN_REVISION}</echo> -- >
125
125
<echo >Build Number: ${ env.BUILD_NUMBER } </echo >
126
126
127
127
<copy file =" ${ classesDir } /com/pblabs/engine/version/BuildVersion.as.templ"
128
128
tofile =" ${ classesDir } /com/pblabs/engine/version/BuildVersion.as" overwrite =" true" />
129
129
130
130
<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 } )" />
132
132
</target >
133
133
134
134
<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
139
139
<target name =" clean" description =" Delete build artifacts." depends =" cleanDocs,cleanLessons" >
140
140
<delete file =" ${ binDir } /PBEngine.swc" />
141
141
<delete includeemptydirs =" false" quiet =" true" >
142
- <fileset dir =" ${ rootDir } " includes =" PushButtonEngine-r *.zip" ></fileset >
142
+ <fileset dir =" ${ rootDir } " includes =" PushButtonEngine-*.zip" ></fileset >
143
143
</delete >
144
144
</target >
145
145
@@ -176,9 +176,9 @@ http://bugs.adobe.com/jira/browse/SDK-20449
176
176
<target name =" generateDocs" description =" Generates docs" depends =" cleanDocs,identifyClasses" >
177
177
<!-- Get the current revision. -->
178
178
<typedef resource =" org/tigris/subversion/svnant/svnantlib.xml" classpathref =" localClasspath" />
179
- <svn >
179
+ <!-- < svn>
180
180
<status path="." revisionProperty="svn.revision"/>
181
- </svn >
181
+ </svn>-->
182
182
183
183
<echo >Generating documentation for '${ docsDir } '...</echo >
184
184
@@ -287,10 +287,10 @@ http://bugs.adobe.com/jira/browse/SDK-20449
287
287
288
288
<!-- Get the current revision. -->
289
289
<typedef resource =" org/tigris/subversion/svnant/svnantlib.xml" classpathref =" localClasspath" />
290
- <svn >
290
+ <!-- < svn>
291
291
<status path="." revisionProperty="svn.revision"/>
292
292
</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>-->
294
294
295
295
<!-- Package it all into a zip into the docs directory. -->
296
296
<delete file =" ${ rootDir } /docs/downloads/Lesson1FlashDevelop.zip" quiet =" true" />
@@ -331,15 +331,15 @@ http://bugs.adobe.com/jira/browse/SDK-20449
331
331
<!-- Build everything from scratch - dependencies do this. -->
332
332
333
333
<!-- 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>
336
336
<status path="." revisionProperty="svn.revision"/>
337
337
</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>-->
339
339
340
340
<!-- 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" />
343
343
</target >
344
344
345
345
<target name =" buildSWF" description =" Build a SWF for a project given a few properties. Used by per-project Ant files." >
0 commit comments