You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2019/06/26 06:18:05 UTC
[royale-typedefs] branch develop updated: Add to Ant and Maven
build missing url.js
This is an automated email from the ASF dual-hosted git repository.
piotrz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-typedefs.git
The following commit(s) were added to refs/heads/develop by this push:
new 952664e Add to Ant and Maven build missing url.js
952664e is described below
commit 952664e244c75f9700e7d9c14bd74283c5a75070
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Wed Jun 26 08:17:53 2019 +0200
Add to Ant and Maven build missing url.js
---
js/build.xml | 6 ++++++
js/pom.xml | 15 +++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/js/build.xml b/js/build.xml
index 2d6c1bb..ebaa234 100644
--- a/js/build.xml
+++ b/js/build.xml
@@ -113,6 +113,7 @@
<get src="https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/gecko_dom.js" dest="${basedir}/target/downloads/browser/gecko_dom.js" ignoreerrors="true" skipexisting="false"/>
<get src="https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/w3c_dom2.js" dest="${basedir}/target/downloads/browser/w3c_dom2.js" ignoreerrors="true" skipexisting="false"/>
<get src="https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/html5.js" dest="${basedir}/target/downloads/browser/html5.js" ignoreerrors="true" skipexisting="false"/>
+ <get src="https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/url.js" dest="${basedir}/target/downloads/browser/url.js" ignoreerrors="true" skipexisting="false"/>
<antcall target="get-from-cache-if-needed" >
<param name="srcFile" value="svg.js" />
<param name="destFile" value="svg.js" />
@@ -153,6 +154,11 @@
<param name="destFile" value="html5.js" />
<param name="destDir" value="${basedir}/target/downloads/browser" />
</antcall>
+ <antcall target="get-from-cache-if-needed" >
+ <param name="srcFile" value="url.js" />
+ <param name="destFile" value="url.js" />
+ <param name="destDir" value="${basedir}/target/downloads/browser" />
+ </antcall>
<antcall target="fail-if-not-found" >
<param name="destFile" value="svg.js" />
<param name="destDir" value="${basedir}/target/downloads" />
diff --git a/js/pom.xml b/js/pom.xml
index bd41d3f..de8926c 100644
--- a/js/pom.xml
+++ b/js/pom.xml
@@ -180,6 +180,20 @@
<overwrite>true</overwrite>
</configuration>
</execution>
+ <execution>
+ <id>get-url</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>wget</goal>
+ </goals>
+ <configuration>
+ <url>https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/externs/browser/url.js</url>
+ <outputFileName>url.js</outputFileName>
+ <outputDirectory>${project.build.directory}/downloads/browser</outputDirectory>
+ <skipCache>true</skipCache>
+ <overwrite>true</overwrite>
+ </configuration>
+ </execution>
</executions>
</plugin>
@@ -215,6 +229,7 @@
<include>browser/webgl.js</include>
<include>browser/webstorage.js</include>
<include>browser/whatwg_encoding.js</include>
+ <include>browser/url.js</include>
<include>es6_collections.js</include>
</includes>
<excludes>