Skip to content

Commit

Permalink
travis playerglobal dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jindrapetrik committed Jul 3, 2022
1 parent d1ae0e4 commit 01fd2b7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ dist.lib.dirname = lib
javadoc.dir = javadoc

ant.lib.dir = antlib
adobe.playerglobal.pages.url = https://web.archive.org/web/20220401020702/https://www.adobe.com/support/flashplayer/debug_downloads.html
adobe.playerglobal.path = travis/tools/playerglobal32_0.swc
9 changes: 1 addition & 8 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -875,14 +875,7 @@
</target>

<target name="download-playerglobal" depends="-get-playerglobal-home">
<tempfile property="adobe.temp.file" prefix="adobepages" suffix=".html" deleteonexit="true" />
<get src="${adobe.playerglobal.pages.url}" dest="${adobe.temp.file}" />
<replaceregexp flags="s" file="${adobe.temp.file}" match=".*&lt;a href=&quot;([^&quot;]+)&quot;&gt;&lt;img[^&gt;]*/&gt;Download the playerglobal\.swc to target the latest version APIs&lt;/a&gt;.*" replace="\1" />
<loadfile srcfile="${adobe.temp.file}" property="playerglobal.url" />
<replaceregexp file="${adobe.temp.file}" match=".*/([^/]+\.swc)$" replace="\1" />
<loadfile srcfile="${adobe.temp.file}" property="playerglobal.filename" />
<get src="${playerglobal.url}" dest="${playerglobal.homedir}/${playerglobal.filename}" />
<delete file="${adobe.temp.file}"/>
<copy src="${adobe.playerglobal.path}" todir="${playerglobal.homedir}"/>
</target>
<target name="fix-src-endoflines">
<fixcrlf srcdir="${src.dir}" includes="**/*.java" />
Expand Down
Binary file added travis/tools/playerglobal32_0.swc
Binary file not shown.

0 comments on commit 01fd2b7

Please sign in to comment.