node externs: compiles downloaded externs into SWC, but skips some due to 
errors from externc


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/e6409b27
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/e6409b27
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/e6409b27

Branch: refs/heads/develop
Commit: e6409b279120c7e7fa9835597604de13c2be9727
Parents: 8bfea6d
Author: Josh Tynjala <joshtynj...@apache.org>
Authored: Tue Apr 19 14:30:42 2016 -0700
Committer: Josh Tynjala <joshtynj...@apache.org>
Committed: Tue Apr 19 14:30:42 2016 -0700

----------------------------------------------------------------------
 externs/node/compile-config.xml      | 115 +++++++++++++++++++++++++++++-
 externs/node/externs/node.js         |  30 --------
 externs/node/missing.js              |  30 ++++++++
 externs/node/node-compile-config.xml |  30 +++++++-
 4 files changed, 172 insertions(+), 33 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e6409b27/externs/node/compile-config.xml
----------------------------------------------------------------------
diff --git a/externs/node/compile-config.xml b/externs/node/compile-config.xml
index 66ae820..564ba44 100644
--- a/externs/node/compile-config.xml
+++ b/externs/node/compile-config.xml
@@ -33,11 +33,122 @@
     </compiler>
     
     <include-sources>
+        <path-element>out/as/constants</path-element>
+        <path-element>out/as/classes</path-element>
         <path-element>out/as/functions</path-element>
+        <path-element>out/as/typedefs</path-element>
     </include-sources>
 
     <include-file>
-        <name>externs/node.js</name>
-        <path>externs/node.js</path>
+        <name>externs/missing.js</name>
+        <path>missing.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/assert.js</name>
+        <path>externs/assert.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/buffer.js</name>
+        <path>externs/buffer.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/child_process.js</name>
+        <path>externs/child_process.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/cluster.js</name>
+        <path>externs/cluster.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/crypto.js</name>
+        <path>externs/crypto.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/dgram.js</name>
+        <path>externs/dgram.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/dns.js</name>
+        <path>externs/dns.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/domain.js</name>
+        <path>externs/domain.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/events.js</name>
+        <path>externs/events.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/fs.js</name>
+        <path>externs/fs.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/http.js</name>
+        <path>externs/http.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/https.js</name>
+        <path>externs/https.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/net.js</name>
+        <path>externs/net.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/os.js</name>
+        <path>externs/os.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/path.js</name>
+        <path>externs/path.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/punycode.js</name>
+        <path>externs/punycode.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/querystring.js</name>
+        <path>externs/querystring.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/readline.js</name>
+        <path>externs/readline.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/repl.js</name>
+        <path>externs/repl.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/stream.js</name>
+        <path>externs/stream.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/string_decoder.js</name>
+        <path>externs/string_decoder.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/tls.js</name>
+        <path>externs/tls.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/tty.js</name>
+        <path>externs/tty.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/url.js</name>
+        <path>externs/url.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/util.js</name>
+        <path>externs/util.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/vm.js</name>
+        <path>externs/vm.js</path>
+    </include-file>
+    <include-file>
+        <name>externs/zlib.js</name>
+        <path>externs/zlib.js</path>
     </include-file>
 </flex-config>

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e6409b27/externs/node/externs/node.js
----------------------------------------------------------------------
diff --git a/externs/node/externs/node.js b/externs/node/externs/node.js
deleted file mode 100644
index ebacb75..0000000
--- a/externs/node/externs/node.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- *
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You under the Apache License, Version 2.0
- *  (the "License"); you may not use this file except in compliance with
- *  the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-
-/**
- * @fileoverview Externs for Node.js
- * @see https://nodejs.org/api/
- * @externs
- */
-
-/**
- * @param {string} id
- * @return {*}
- */
-function require(id) {};

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e6409b27/externs/node/missing.js
----------------------------------------------------------------------
diff --git a/externs/node/missing.js b/externs/node/missing.js
new file mode 100644
index 0000000..ebacb75
--- /dev/null
+++ b/externs/node/missing.js
@@ -0,0 +1,30 @@
+/*
+ *
+ *  Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  See the NOTICE file distributed with
+ *  this work for additional information regarding copyright ownership.
+ *  The ASF licenses this file to You under the Apache License, Version 2.0
+ *  (the "License"); you may not use this file except in compliance with
+ *  the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+
+/**
+ * @fileoverview Externs for Node.js
+ * @see https://nodejs.org/api/
+ * @externs
+ */
+
+/**
+ * @param {string} id
+ * @return {*}
+ */
+function require(id) {};

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e6409b27/externs/node/node-compile-config.xml
----------------------------------------------------------------------
diff --git a/externs/node/node-compile-config.xml 
b/externs/node/node-compile-config.xml
index e4f88dc..c0a3e50 100644
--- a/externs/node/node-compile-config.xml
+++ b/externs/node/node-compile-config.xml
@@ -31,7 +31,35 @@
     </compiler>
     
     <external>
-        <path-element>externs/node.js</path-element>
+        <path-element>missing.js</path-element>
+        <path-element>externs/assert.js</path-element>
+        <path-element>externs/buffer.js</path-element>
+        <path-element>externs/child_process.js</path-element>
+        <path-element>externs/cluster.js</path-element>
+        <path-element>externs/crypto.js</path-element>
+        <path-element>externs/dgram.js</path-element>
+        <path-element>externs/dns.js</path-element>
+        <path-element>externs/domain.js</path-element>
+        <path-element>externs/events.js</path-element>
+        <path-element>externs/fs.js</path-element>
+        <!--<path-element>externs/globals.js</path-element>-->
+        <!--<path-element>externs/http.js</path-element>-->
+        <!--<path-element>externs/https.js</path-element>-->
+        <path-element>externs/net.js</path-element>
+        <path-element>externs/os.js</path-element>
+        <path-element>externs/path.js</path-element>
+        <path-element>externs/punycode.js</path-element>
+        <path-element>externs/querystring.js</path-element>
+        <path-element>externs/readline.js</path-element>
+        <path-element>externs/repl.js</path-element>
+        <path-element>externs/stream.js</path-element>
+        <path-element>externs/string_decoder.js</path-element>
+        <path-element>externs/tls.js</path-element>
+        <path-element>externs/tty.js</path-element>
+        <path-element>externs/url.js</path-element>
+        <path-element>externs/util.js</path-element>
+        <path-element>externs/vm.js</path-element>
+        <!--<path-element>externs/zlib.js</path-element>-->
     </external>
     
     <as-root>out/as</as-root>

Reply via email to