diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..de65487e4f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+all:
+ java -jar plovr.jar serve main.json
+build:
+ java -jar plovr.jar build main.json > index.js
diff --git a/main.html b/main.html
new file mode 100755
index 0000000000..720b66ea09
--- /dev/null
+++ b/main.html
@@ -0,0 +1,10 @@
+
+
+ Closure Library + Plovr
+
+
+
+
+
+
+
diff --git a/main.js b/main.js
new file mode 100644
index 0000000000..6d01b1eb61
--- /dev/null
+++ b/main.js
@@ -0,0 +1,12 @@
+
+goog.provide('ol');
+
+goog.require('ol.Map');
+goog.require('goog.dom');
+
+ol.main = function() {
+ goog.dom.getElement('output').innerHTML = 'test';
+}
+
+window['main'] = ol.main;
+// or goog.exportSymbol('main', hello.main);
\ No newline at end of file
diff --git a/main.json b/main.json
new file mode 100644
index 0000000000..7d7a018743
--- /dev/null
+++ b/main.json
@@ -0,0 +1,36 @@
+{
+ "id": "main",
+
+ "inputs": "main.js",
+ "paths": [
+ "."
+ ],
+
+ "externs": [
+ "//google_maps_api_v3.js"
+ ],
+
+ "define": {
+ // "goog.dom.ASSUME_STANDARDS_MODE": true,
+ "goog.DEBUG": true
+ },
+
+ "mode": "ADVANCED",
+ "level": "VERBOSE",
+
+ "checks": {
+ // "accessControls": "ERROR",
+ // "visibility": "ERROR"
+ "checkTypes": "ERROR",
+ "checkRegExp": "ERROR",
+ "checkVars": "ERROR",
+ "deprecated": "ERROR",
+ "fileoverviewTags": "ERROR",
+ "invalidCasts": "ERROR",
+ "missingProperties": "ERROR",
+ "nonStandardJsDocs": "ERROR",
+ "undefinedVars": "ERROR"
+ },
+
+ "jsdoc-html-output-path": "."
+}
diff --git a/src/main.json b/src/main.json
new file mode 100644
index 0000000000..7d7a018743
--- /dev/null
+++ b/src/main.json
@@ -0,0 +1,36 @@
+{
+ "id": "main",
+
+ "inputs": "main.js",
+ "paths": [
+ "."
+ ],
+
+ "externs": [
+ "//google_maps_api_v3.js"
+ ],
+
+ "define": {
+ // "goog.dom.ASSUME_STANDARDS_MODE": true,
+ "goog.DEBUG": true
+ },
+
+ "mode": "ADVANCED",
+ "level": "VERBOSE",
+
+ "checks": {
+ // "accessControls": "ERROR",
+ // "visibility": "ERROR"
+ "checkTypes": "ERROR",
+ "checkRegExp": "ERROR",
+ "checkVars": "ERROR",
+ "deprecated": "ERROR",
+ "fileoverviewTags": "ERROR",
+ "invalidCasts": "ERROR",
+ "missingProperties": "ERROR",
+ "nonStandardJsDocs": "ERROR",
+ "undefinedVars": "ERROR"
+ },
+
+ "jsdoc-html-output-path": "."
+}