olingo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kobl...@apache.org
Subject [39/41] olingo-odata4-js git commit: [OLINGO-541] Move the odatajs branch one directory up
Date Mon, 23 Feb 2015 10:11:46 GMT
http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/demo/tester.html
----------------------------------------------------------------------
diff --git a/odatajs/demo/tester.html b/odatajs/demo/tester.html
deleted file mode 100644
index e4e0832..0000000
--- a/odatajs/demo/tester.html
+++ /dev/null
@@ -1,235 +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.
- */
- -->
-<html>
-    <head>
-        <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
-        <title>datajs startup perf test</title>
-        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
-        <script type="text/javascript" src="./../build/lib/odatajs-latest.js"></script>
-        <script type="text/javascript" src="./scripts/tools.js" ></script>
-        <style type="text/css">
-            .code{font-family:"Courier New",monospace;font-size:13px;line-height:18px;}
-            .code ul{list-style:none;margin:0 0 0 1.5em;padding:0;}
-            .code li{position:relative;}
-            .code.json li:after{content:',';}
-            .code.json li:last-child:after{content:'';}
-            .code span{white-space:nowrap;padding:2px 1px;}
-            .code .property{font-weight:bold;color:#000000;}
-            .code .null{color:#9d261d;}
-            .code .boolean{color:#760a85;}
-            .code .numeric{color:#0076cb;}
-            .code .string{color:#247230;}
-            .code .deffered{color:#666666;font-size:0.9em;}
-            .code .toggle{position:absolute;left:-1em;cursor:pointer;}
-            .code .tag{color:#003283;}
-            .code .atn{color:#760a85;}
-            .code .atv{color:#247230;}
-            .code .text{color:#000000;}
-            .code .cdata{color:#008080;}
-            .code .comment,.code .ns{color:#666666;}
-
-            .left {
-                margin-left : 20px;
-                position:relative;
-            }
-
-        </style>
-    </head>   
-    <body>
-        <table><tr><td valign="top" width="150px">
-            Metadata<br>
-            <input type="radio" id="inMetadata1" name="inMetadata" value="none"/>                       
-            <label for="inMetadata1">none</label><br>
-
-            <input type="radio" id="inMetadata2" name="inMetadata" value="minimal" checked="checked"/>  
-            <label for="inMetadata2">minimal<br>
-            <div class="left">                                   
-                <input type="checkbox" id="inMinimalToFull">                                   
-                <label for="inMinimalToFull" id="lblInMinimalToFull">minimal to full</label><br>
-            </div>
-
-            <input type="radio" id="inMetadata3" name="inMetadata" value="full"><label for="inMetadata3">full</label>
-            <br>
-            Recognize Dates<br>
-            <input type="checkbox" id="inRecognizeDates"><label for="check1">yes/no</label><br>
-
-        </td><td>
-            <div id="buttons"></div>
-        </td><td>
-            <button id="btnMetaData">MetaData</button><br/>
-            <button id="btnPOST_entry_food">POST food entry</button><br/>
-            <button id="btnPOST_entry_categorie">POST categorie entry</button><br/>
-        </td></tr></table>
-        <div id='resultsArea' data-type="json">
-        </div>
-        <script>
-            // Config
-            var config = [
-                { name: 'Feed', url: 'http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods'},
-                { name: 'Entry', url: 'http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)'},
-                { name: 'Collection of Complex', url: 'http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Providers'},
-                { name: 'Collection of Simple', url: 'http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/AlternativeNames'},
-                { name: 'Complex property', url: 'http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Packaging'},
-                { name: 'Simple property', url: 'http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods(0)/Name'},
-            ];
-
-            // UI Stuff
-            var createButtonClickHandler = function(nr) {
-                return function() { buttonClick(nr);};
-            };
-
-            var buttonRoot = $('#buttons');
-            $("input[name*='inMetadata'").click( function() {
-                var metadata = $("input[name*='inMetadata']:checked").val();
-                if (metadata === "minimal") {
-                    $("#lblInMinimalToFull").css('color', '#000000');
-                    $("#inMinimalToFull").removeAttr('disabled');
-                } else {
-                    $("#lblInMinimalToFull").css('color', '#999999');
-                    $("#inMinimalToFull").attr('disabled','disabled');
-                }
-            });
-
-            for (var i = 0; i < config.length; i++) {
-                var button = $('<button id="btnArray">'+config[i].name+'</button><br/>"');
-                button.click( createButtonClickHandler(i));
-                buttonRoot.append(button);
-            }
-
-            // Testing 
-            function buttonClick(configNr) {
-                var metadata = $("input[name*='inMetadata']:checked").val();
-                var recognizeDates  = $("#inRecognizeDates").is(":checked") ? true : false;
-                var inMinimalToFull = $("#inMinimalToFull").is(":checked")  ? true : false;
-
-                var requestUri = {
-                    requestUri : config[configNr].url
-                };
-
-                requestUri.recognizeDates = recognizeDates;
-
-                var metaDatasuccess = function(metadata){
-                    odatajs.oData.read(requestUri, success, errorFunc, null, null, metadata);
-                };
-
-                if ( metadata === 'full') {
-                    requestUri.headers =  { Accept : 'application/json;odata.metadata=full' };
-                    odatajs.oData.read(requestUri, success, errorFunc);
-                } else if ( metadata === 'minimal') {
-                    requestUri.headers =  { Accept : 'application/json;odata.metadata=minimal' };
-                    if (inMinimalToFull) {
-                        getMetaData(metaDatasuccess);
-                    } else {
-                        odatajs.oData.read(requestUri, success, errorFunc);   
-                    }
-                } else {
-                    requestUri.headers =  { Accept : 'application/json;odata.metadata=none' };
-                    odatajs.oData.read(requestUri, success, errorFunc);
-                }
-            }
-
-            function show(data) {
-                $('#resultsArea').empty();
-                var code = $('<code data-type="json"></code>').text(JSON.stringify(data));
-                $('#resultsArea').append(code);
-                $('code[data-type]').prettify();
-            }
-            function success(data) {
-                show(data);
-            }
-
-            function errorFunc(err) {
-                $('#resultsArea').empty();
-                $("#resultsArea").text(JSON.stringify(err));
-            }
-
-            function getMetaData(metaDatasuccess) {
-                var oHeaders = {
-                    'Accept': 'text/html,application/xhtml+xml,application/xml,application/json;odata.metadata=full',
-                    "Odata-Version": "4.0",
-                    "OData-MaxVersion": "4.0",
-                    "Prefer": "odata.allow-entityreferences"
-                };
-                var metadataRequest =
-                {
-                    headers: oHeaders,
-                    requestUri: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata", 
-                    data: null,
-                };
-                odatajs.oData.read(metadataRequest, metaDatasuccess, errorFunc,odatajs.oData.metadataHandler);
-            }
-
-            /*******Special buttons***********/           
-
-            $('#btnMetaData').on("click", function(){
-                var oHeaders = {
-                    'Accept': 'text/html,application/xhtml+xml,application/xml,application/json;odata.metadata=full',
-                    "Odata-Version": "4.0",
-                    "OData-MaxVersion": "4.0",
-                    "Prefer": "odata.allow-entityreferences"
-                };
-                var metadataRequest =
-                {
-                    headers: oHeaders,
-                    requestUri: "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata", 
-                    data: null,
-                };
-
-                odatajs.oData.read(metadataRequest, success, errorFunc,odatajs.oData.metadataHandler);
-            });
-
-            $('#btnPOST_entry_food').on("click", function(){
-                var requestUri = {
-                    requestUri : 'http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Foods',
-                    method: 'POST',
-                    headers : { Accept : 'application/json' },
-                    recognizeDates : true,
-                    data : {
-                        "@odata.type": "#DataJS.Tests.V4.Food",
-                        "@odata.context": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Foods/$entity",
-                        FoodID: 111,
-                        Name: "flour1"
-                    }
-                };
-                odatajs.oData.read(requestUri, success, errorFunc);
-            });
-            $('#btnPOST_entry_categorie').on("click", function(){
-
-                var requestUri = {
-                    requestUri : 'http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/Categories',
-                    method: 'POST',
-                    headers : { Accept : 'application/json' },
-                    recognizeDates : true,
-                    data : {
-                        "@odata.type": "#DataJS.Tests.V4.Category",
-                        "@odata.context": "http://localhost:4002/tests/endpoints/FoodStoreDataServiceV4.svc/$metadata#Categories/$entity",
-                        CategoryID: 111,
-                        Name: "cat111"
-                    }
-                };
-                odatajs.oData.read(requestUri, success, errorFunc);
-            });
-
-
-
-        </script>
-    </body>
-</html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/banner.txt
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/banner.txt b/odatajs/grunt-config/banner.txt
deleted file mode 100644
index 042f3ce..0000000
--- a/odatajs/grunt-config/banner.txt
+++ /dev/null
@@ -1,18 +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.
- */

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/custom-tasks/rat.js
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/custom-tasks/rat.js b/odatajs/grunt-config/custom-tasks/rat.js
deleted file mode 100644
index 5c758af..0000000
--- a/odatajs/grunt-config/custom-tasks/rat.js
+++ /dev/null
@@ -1,23 +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.
- */
- 
-//rat is written as like a npm module so include the /rat/tasks folder
-module.exports = function(grunt) {
-  require('./rat/tasks/rat.js')(grunt);
-};

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/custom-tasks/rat/.gitignore
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/custom-tasks/rat/.gitignore b/odatajs/grunt-config/custom-tasks/rat/.gitignore
deleted file mode 100644
index 3a8704d..0000000
--- a/odatajs/grunt-config/custom-tasks/rat/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-node_modules
-extern-tools/*
-!extern-tools/info.md
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/custom-tasks/rat/extern-tools/info.md
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/custom-tasks/rat/extern-tools/info.md b/odatajs/grunt-config/custom-tasks/rat/extern-tools/info.md
deleted file mode 100644
index f48049e..0000000
--- a/odatajs/grunt-config/custom-tasks/rat/extern-tools/info.md
+++ /dev/null
@@ -1,22 +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.
- */
-Place apache-rat-0.11.jar from http://creadur.apache.org/rat/download_rat.cgi
-in ./apache-rat-0.11/apache-rat-0.11.jar.
-
-See ./../readme.md for details
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/custom-tasks/rat/package.json
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/custom-tasks/rat/package.json b/odatajs/grunt-config/custom-tasks/rat/package.json
deleted file mode 100644
index 0c374c7..0000000
--- a/odatajs/grunt-config/custom-tasks/rat/package.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
-  "name": "grunt-rat",
-  "version": "0.0.1",
-  "description": "Run Apache Rat(release audit tool)",
-  "license": "Apache",
-  "author": {
-    "name": "Sven Kobler-Morris",
-    "email": "koblers@apache.org"
-  },
-  "files": [
-    "tasks"
-  ],
-  "dependencies": {
-    "chalk": "~0.4.0"
-  },
-  "devDependencies": {
-    "async": "^0.9.0",
-    "grunt": "~0.4.0",
-    "xml2js": "^0.4.4"
-  },
-  "peerDependencies": {
-    "grunt": "~0.4.0"
-  },
-  "engines": {
-    "node": ">=0.8.0"
-  }
-}

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/custom-tasks/rat/readme.md
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/custom-tasks/rat/readme.md b/odatajs/grunt-config/custom-tasks/rat/readme.md
deleted file mode 100644
index fd2795c..0000000
--- a/odatajs/grunt-config/custom-tasks/rat/readme.md
+++ /dev/null
@@ -1,23 +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.
- */
-Download "apache-rat-0.11-bin.zip" from http://creadur.apache.org/rat/download_rat.cgi and unpack it to 
-"extern-tools/apache-rat-0.11"
-
-"apache-rat-0.11.jar" must be located in ./extern-tools/apache-rat-0.11/apache-rat-0.11.jar
-( full path from git root /odatajs/grunt-config/custom-tasks/rat/extern-tools/apache-rat-0.11/apache-rat-0.11.jar)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/custom-tasks/rat/tasks/rat.js
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/custom-tasks/rat/tasks/rat.js b/odatajs/grunt-config/custom-tasks/rat/tasks/rat.js
deleted file mode 100644
index 287f1a4..0000000
--- a/odatajs/grunt-config/custom-tasks/rat/tasks/rat.js
+++ /dev/null
@@ -1,154 +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.
- */
-
-module.exports = function (grunt) {
-  grunt.registerMultiTask('rat', 'Run Apache Rat', function () {
-    var async = require("async");
-    var chalk = require('chalk');
-    var childProcess = require('child_process');
-    var path = require('path');
-    var fs = require('fs');
-    var xml2js = require('xml2js');
-
-    var globalCB = this.async();
-    
-    var ratJarFile =  path.resolve(__dirname,'./../extern-tools/apache-rat-0.11/apache-rat-0.11.jar');
-    var options = this.options({ xml : true, dest : './build/tmp'});
-
-    //check output directory
-    if(!fs.existsSync(options.dest)){
-      grunt.file.mkdir(options.dest,0766);
-    }
-    
-    //collect directories which should be checked
-    var checkDirs = [];
-    for(var i = 0; i < this.files.length; i++) {
-      for(var ii = 0; ii < this.files[i].src.length; ii++) {
-        var checkDir = {
-          dir : this.files[i].src[ii],
-          options : {
-            xml : options.xml,
-            dest : options.dest,
-            tag : this.files[i].options.tag,
-            exclude : options.exclude || this.files[i].options.exclude
-          }
-        };
-        checkDirs.push(checkDir);
-      }
-    }
-
-    var processDirectory = function processDirectory(data,cb) {
-      var checkDir = data.dir; 
-      var options = data.options;
-      var outPutFile = options.dest + '/'+ 'rat_' + (options.tag ? options.tag:'') + (options.xml ? '.xml' : '.txt');
-      
-      //sample command java -jar apache-rat-0.10.jar -x -d ./src > ./build/tmp/rat.txt
-      var cmd = 'java -jar ' + ratJarFile+ ' ';
-      cmd += options.xml ? ' -x' : '';
-      cmd += ' --force -d ' + checkDir;
-      //cmd += ' -E ./grunt-config/custom-tasks/rat/.rat-excludes'
-      if (options.exclude)  {
-        for (var i = 0;  i< options.exclude.length; i ++) {
-          cmd += ' -e '+ options.exclude[i];
-        }
-      }
-      cmd +=  ' > ' + outPutFile;
-
-      grunt.verbose.writeln('Command:', chalk.yellow(cmd));
-      var cp = childProcess.exec(cmd, options.execOptions, function (error, stdout, stderr) {
-        if (error) {
-          grunt.fail.warn('rat --> ' + error, 1); //exit grunt with error code 1
-        }
-        checkOutFile(outPutFile,data,cb);
-      });
-    };
-
-    var checkOutFile = function(outFile,data,cb) {
-      //check out files
-      if (path.extname(outFile) !== '.xml') {
-        grunt.log.writeln(chalk.yellow('\nrat --> ' + 'No XML output: ('+outFile+') skipped!\n')); 
-        cb();
-        return;
-      }
-
-      var xml = grunt.file.read(outFile);
-      var parser = new xml2js.Parser();
-
-      parser.parseString(xml, function (err, result) {
-          if (err) {
-            grunt.fail.warn('rat --> XML parse error: ' + err, 1); 
-          }
-          
-          if (checkRatLogFile(result)) {
-            grunt.fail.warn('rat --> check license error:  ' + 'Missing or Invalied license header detected ( see "'+outFile+'")', 1);
-          }
-          
-          grunt.log.ok('rat --> check on ' + data.dir + ' ok -> see'  + outFile);
-      });
-      cb();
-    };
-
-    var checkRatLogFile = function(result) {
-      var list = result['rat-report']['resource'];
-      for (var i = 0; i < list.length; i++ ){
-        var item = list[i];
-
-        var headerType = list[i]['header-type'];
-        var attr = headerType[0]['$'];
-        if (attr.name.trim() !== 'AL') {
-          return true;
-        }
-      }
-      return false;
-    };
-
-    var captureOutput = function (child, output) {
-      if (grunt.option('color') === false) {
-        child.on('data', function (data) {
-          output.write(chalk.stripColor(data));
-        });
-      } else {
-        child.pipe(output);
-      }
-    };
-
-    //files
-    async.each(checkDirs,
-      function (checkDir,cb) {
-        processDirectory(checkDir,cb);
-      },
-      function(err) {
-        grunt.log.ok('rat --> finished');
-        globalCB();
-      }
-    );
-
-    
-  /*
-    captureOutput(cp.stdout, process.stdout);
-      captureOutput(cp.stderr, process.stderr);
-
-    if (options.stdin) {
-      process.stdin.resume();
-      process.stdin.setEncoding('utf8');
-      process.stdin.pipe(cp.stdin);
-    }*/
-  });
-};
-

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/custom-tasks/sign.js
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/custom-tasks/sign.js b/odatajs/grunt-config/custom-tasks/sign.js
deleted file mode 100644
index 86e0d04..0000000
--- a/odatajs/grunt-config/custom-tasks/sign.js
+++ /dev/null
@@ -1,141 +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.
- */
- 
-module.exports = function(grunt) {
-
-    grunt.registerMultiTask('sign', function() {
-        var self = this;
-
-        var path = require('path');
-        var fs = require( 'fs' );
-        var chalk = require('./rat/node_modules/chalk');
-        
-        var globalDone = this.async();
-        
-        var options = this.options({ types : [] });
-        var workLoad = [];
-        var writeToLogOk = function(data) { grunt.log.ok(data.toString()); };
-        
-        // fill workLoad
-        for(var i = 0; i < this.files.length; i++) {
-          for(var ii = 0; ii < this.files[i].src.length; ii++) {
-            for (var iii = 0; iii < options.types.length; iii++) {
-                workLoad.push({
-                    src :this.files[i].src[ii],
-                    type: options.types[iii]
-                });
-            }
-          }
-        }
-        
-        function process() {
-            if(workLoad.length <= 0) {
-                globalDone();
-                return;
-            }
-
-            var workItem = workLoad.pop();
-            // make source file releative to cwd, since cwd is used as workdir from spawn
-            var fileName =  path.relative(self.data.cwd,workItem.src);
-            var taskOptions,pipeTo,pipeSrc = 'out';
-            console.log (fileName);
-            if ( workItem.type === 'md5' ) {
-                pipeTo = workItem.src+'.md5';
-
-                grunt.log.writeln(chalk.yellow('Signing ('+workItem.type+') ' + fileName + " ..."));
-                //openssl dgst -md5 odatajs.4.0.0-beta01.nupkg
-                taskOptions = { 
-                    cmd : 'openssl', 
-                    args: ['dgst','-md5',fileName],
-                    opts : { cwd :self.data.cwd }
-                };
-            } else if ( workItem.type === 'sha' ) {  
-                pipeTo = workItem.src+'.sha';
-
-                grunt.log.writeln(chalk.yellow('Signing ('+workItem.type+') ' + fileName + " ..."));
-
-                //gpg --print-md SHA512 odatajs-4.0.0-beta-01-RC02-doc.zip
-                taskOptions = { 
-                    cmd : 'gpg', 
-                    args: ['--print-md','SHA512',fileName],
-                    opts : { cwd :self.data.cwd }
-                };
-            } else if ( workItem.type === 'asc' ) {  
-                pipeTo = undefined; // done by gpg
-
-                grunt.log.writeln(chalk.yellow('Signing ('+workItem.type+') ' + fileName + " ..."));
-                
-                //gpg --armor --detach-sign odatajs-4.0.0-beta-01-RC02-sources.zip
-                taskOptions = { 
-                    cmd : 'gpg', 
-                    args: ['--armor','--detach-sign',fileName],
-                    opts : { cwd :self.data.cwd }
-                };
-            } else if ( workItem.type === 'asc-verify' ) {  
-                pipeTo = 'console';
-                pipeSrc = 'err';
-
-                grunt.log.writeln(chalk.yellow('Verify ('+workItem.type+') ' +fileName+ '.asc' + " ..."));
-                
-                //gpg --verify --detach-sign odatajs-4.0.0-beta-01-RC02-sources.zip.asc 
-                taskOptions = { 
-                    cmd : 'gpg', 
-                    args: ['--verify', fileName+'.asc'],
-                    opts : { cwd :self.data.cwd }
-                };
-            } else { 
-                grunt.fail.warn('Unknown sign type: "'+ workItem.type + '"', 1);
-            }
-
-            //console.log(taskOptions);
-
-            var task = grunt.util.spawn(taskOptions, function done(err,result) {
-                    if (err) {
-                        grunt.fail.warn('Sign: '+err);
-                    }
-                });
-            
-
-            
-            if (pipeTo) {
-                if (pipeTo === 'console') {
-                    if (pipeSrc ==='err') {
-                        task.stderr.on('data', writeToLogOk );
-                    } else {
-                        task.stdout.on('data', writeToLogOk);
-                    }
-                } else {
-                    var outStream = fs.createWriteStream(pipeTo/* ,{flags: 'w'}*/);
-                    var src = (pipeSrc ==='err') ? task.stderr : task.stdout;
-                    src.pipe(outStream, { end: false });
-                }
-            }
-    
-            task.on('close', function (code) {
-                grunt.log.ok('Processed ('+workItem.type+') :' + workItem.src);
-                grunt.log.ok('with code ' + code);
-                process();
-            });
-            
-        }
-
-        process();
-    });
-};
-

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/custom-tasks/toBrowser.js
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/custom-tasks/toBrowser.js b/odatajs/grunt-config/custom-tasks/toBrowser.js
deleted file mode 100644
index 4712a87..0000000
--- a/odatajs/grunt-config/custom-tasks/toBrowser.js
+++ /dev/null
@@ -1,23 +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.
- */
- 
-
-module.exports = function(grunt) {
-  require('./toBrowser/toBrowser.js')(grunt);
-};

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/custom-tasks/toBrowser/toBrowser.js
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/custom-tasks/toBrowser/toBrowser.js b/odatajs/grunt-config/custom-tasks/toBrowser/toBrowser.js
deleted file mode 100644
index ad2e8c8..0000000
--- a/odatajs/grunt-config/custom-tasks/toBrowser/toBrowser.js
+++ /dev/null
@@ -1,98 +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.
- */
- 
-module.exports = function(grunt) {
-
-  var stripHeader = function(input) { 
-    return input.replace(/(\/\*(.|\n|\r)*?\*\/)/i,"");
-  };
-
-  grunt.registerMultiTask('toBrowser', function() {
-      var self = this;
-
-      var path = require('path');
-      var fs = require( 'fs' );
-      
-      var globalDone = this.async();
-      
-      var options = this.options({ });
-      
-      var workLoad = [];
-      var writeToLogOk = function(data) { grunt.log.ok(data.toString()); };
-
-      
-      // fill workLoad
-      for(var i = 0; i < this.files.length; i++) {
-        for(var ii = 0; ii < this.files[i].src.length; ii++) {
-
-
-          var srcFile = this.files[i].src[ii];
-          
-          var srcPath = srcFile.substring(0,srcFile.lastIndexOf('/')+1);
-          var srcName = srcFile.substring(srcFile.lastIndexOf('/')+1,srcFile.length-3);
-
-          //console.log('exists :'+srcPath+srcName+'-browser.js' );
-          tarName = srcName;
-          if (srcName.indexOf('-browser') > 0) {
-            tarName = tarName.substring(0,srcName.indexOf('-browser'));
-            //console.log('new srcName :'+srcName );
-          } else if (grunt.file.exists(srcPath+srcName+'-browser.js')) {
-            //console.log('exists :yes');
-            continue; //skip that file
-          }
-          
-
-          workLoad.push({
-                  srcPath : srcPath,
-                  srcName : srcName,
-                  tarName : tarName
-              });
-
-        }
-      
-        var concat = '{';
-        for(var x = 0; x < workLoad.length; x++) {
-          console.log('workLoad :'+JSON.stringify(workLoad[x] ));
-          var src = grunt.file.read(workLoad[x].srcPath+workLoad[x].srcName+'.js');
-          // remove the first comment
-          src = stripHeader(src);
-        
-          if (x > 0) {
-            concat+= ', ';
-          }
-
-          concat+= '"' + workLoad[x].tarName + '" : ';
-          concat+= 'function(exports, module, require) {';
-          concat+= src +'}';
-        }
-        concat+= '}';
-
-        var tpl = grunt.file.read('./grunt-config/custom-tasks/toBrowser/wrapper-tpl.js');
-        var init = stripHeader(grunt.file.read(options.index));
-
-        tpl = tpl.replace('\'<% initFunction %>\'',init);
-        tpl = tpl.replace('\'<% filesAsFunctionList %>\'',concat);
-
-        grunt.file.write(this.files[i].dest, tpl);
-      }
-
-      globalDone();
-  });
-};
-

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/custom-tasks/toBrowser/wrapper-tpl.js
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/custom-tasks/toBrowser/wrapper-tpl.js b/odatajs/grunt-config/custom-tasks/toBrowser/wrapper-tpl.js
deleted file mode 100644
index 9c335db..0000000
--- a/odatajs/grunt-config/custom-tasks/toBrowser/wrapper-tpl.js
+++ /dev/null
@@ -1,43 +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.
- */
-var init = function(exports, module, require) {
-  '<% initFunction %>'
-};
-
-var datas = '<% filesAsFunctionList %>';
-
-var modules = {};
-
-var require = function(path) {
-    var name = path.substring(path.lastIndexOf('/')+1,path.length-3);
-    if (modules[name]) { return modules[name].exports; }
-
-    modules[name] = { exports : {}};
-    console.log(name);
-    if (name === 'sou') {
-      var i = 0;
-    }
-    datas[name].call(this,modules[name].exports,modules[name],require);
-    return modules[name].exports;
-  };
-
-window.odatajs = {};
-init.call(this,window.odatajs,window.odatajs,require);
-
-

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/nugetpack.nuspec
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/nugetpack.nuspec b/odatajs/grunt-config/nugetpack.nuspec
deleted file mode 100644
index 10129b4..0000000
--- a/odatajs/grunt-config/nugetpack.nuspec
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-  <metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
-    <title>Olingo OData Client for JavaScript</title>
-    <id>odatajs</id>
-    <tags>restful api open protocol odata client javascript</tags>
-    <version>4.0.0-beta01</version>
-    <authors>Apache Olingo (Challen He, Kobler-Morris Sven)</authors>
-    <owners>Apache Olingo</owners>
-    <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
-    <copyright>Copyright 2014 The Apache Software Foundation</copyright>
-    <projectUrl>http://olingo.apache.org/</projectUrl>
-    <iconUrl>http://olingo.apache.org/img/OlingoOrangeTM.png</iconUrl>
-    <requireLicenseAcceptance>true</requireLicenseAcceptance>
-    <summary>JavaScript library to easily interact with OData V4 service.</summary>
-    <description>Olingo OData Client for JavaScript (odatajs) is a lightweight cross-browser JavaScript library that enables web browser to consume and interact with OData V4 service.</description>
-    <releaseNotes>
-      This odatajs library for OData V4 is a new version based on datajs(http://datajs.codeplex.com/) which is for OData V3.
-    </releaseNotes>
-  </metadata>
-  <files>
-    <file src="..\LICENS*E" target="odatajs\" />
-    <file src="..\NOTIC*E" target="odatajs\" />
-    <file src="..\DEPENDENCIE*S" target="odatajs\" />
-    <file src="..\build\lib\*" target="odatajs\" />
-  </files>
-</package>

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/rat.js
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/rat.js b/odatajs/grunt-config/rat.js
deleted file mode 100644
index 30e31d3..0000000
--- a/odatajs/grunt-config/rat.js
+++ /dev/null
@@ -1,65 +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.
- */
-module.exports = function(grunt) {
-  
-  
-  grunt.config('rat', {
-    dist:  { 
-      options: { 
-        dest : './build/tmp', 
-        exclude: [
-          "node_modules","extern-tools",".gitignore",
-          "DEPENDENCIES","LICENSE","NOTICE",
-          "JSLib.sln","package.json", "mocha.opts"
-        ] },
-      files: [
-        /*{ src: ['./../dist/<%= artifactname %>/doc'], options:{ tag:"dist-doc"}},generated*/
-        /*{ src: ['./../dist/<%= artifactname %>/lib'], options:{ tag:"dist-lib"}},very slow*/
-        { src: ['./../dist/<%= artifactname %>/sources'], options:{ tag:"dist-src"}},
-      ]
-    },
-    "manual-dist":  { 
-      options: { xml:false, 
-        dest : './build/tmp', 
-        exclude: [
-          "node_modules","extern-tools",".gitignore",
-          "DEPENDENCIES","LICENSE","NOTICE",
-          "JSLib.sln","package.json", "mocha.opts"
-        ] },
-      files: [
-        /*{ src: ['./../dist/<%= artifactname %>/doc'], options:{ tag:"dist-doc"}},generated*/
-        /*{ src: ['./../dist/<%= artifactname %>/lib'], options:{ tag:"dist-lib"}},very slow*/
-        { src: ['./../dist/<%= artifactname %>/sources'], options:{ tag:"dist-src"}},
-      ]
-    },
-    manual:  {  // with txt output
-      options: { xml:false, 
-        dest : './build/tmp', 
-        exclude: ["node_modules","extern-tools",".gitignore"] },
-      files: [
-        { src: ['./src'], options:{ tag:"src"}},
-        { src: ['./tests'], options:{ tag:"tests"}},
-        { src: ['./demo'], options:{ tag:"demo"}},
-        { src: ['./grunt-config'], options:{ tag:"grunt-config" }}
-      ]
-    },
-  });
-
-  
-};
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/release.js
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/release.js b/odatajs/grunt-config/release.js
deleted file mode 100644
index b808224..0000000
--- a/odatajs/grunt-config/release.js
+++ /dev/null
@@ -1,178 +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.
- */
-module.exports = function(grunt) {
-
-  function endsWith(hay, needle) {
-    return hay.indexOf(needle, hay.length - needle.length) !== -1;
-  }
-
-  function startsWith(hay, needle) {
-    return hay.indexOf(needle) === 0;
-  }
-
-  function contains(hay, needle) {
-    return hay.indexOf(needle) > -1;
-  }
-
-   
-
-  // clean
-  grunt.config.merge( { 
-    'npm-clean': {
-      'release-dist': {
-        options: { force: true },
-        src: [ "./../dist/<%= artifactname %>*"]
-      }
-    }
-  });
-
-  grunt.loadNpmTasks("grunt-contrib-clean");
-
-  // doc
-  grunt.config.merge( { 
-    'jsdoc' : { // generate documentation
-      "release-doc-src" : {
-        src: ['src/**/*.js'], 
-        options: {
-          destination: './../dist/<%= artifactname %>/doc',
-          verbose : false 
-        }
-      },
-    },
-  });
-
-  // copy
-  grunt.config.merge( { 
-    "copy" : {
-      "release-lib" : {
-        files: [
-          { expand: true, cwd: 'build/lib', src: ['<%= artifactname %>*.*'], dest: './../dist/<%= artifactname %>/lib/lib', filter: 'isFile'},
-          { expand: true, src :'LICENSE',dest: './../dist/<%= artifactname %>/lib', filter: 'isFile' },
-          { expand: true, src :'NOTICE',dest: './../dist/<%= artifactname %>/lib', filter: 'isFile' },
-          { expand: true, src :'DEPENDENCIES',dest: './../dist/<%= artifactname %>/lib', filter: 'isFile' },
-          { expand: true, src :'README.md',dest: './../dist/<%= artifactname %>/lib', filter: 'isFile' }
-        ]
-      },
-      "release-nuget": {
-          files: [
-              { expand: true, cwd: 'build', src: ['odatajs.4.0.0-beta01.nupkg'], dest: './../dist/<%= artifactname %>', filter: 'isFile' },
-          ]
-      },
-      "release-doc" : {
-        files: [
-            { expand: true, cwd: 'build/doc-src', src: ['**'], dest: './../dist/<%= artifactname %>/doc/doc', filter: 'isFile'},
-            { expand: true, src :'LICENSE',dest: './../dist/<%= artifactname %>/doc', filter: 'isFile' },
-            { expand: true, src :'NOTICE',dest: './../dist/<%= artifactname %>/doc', filter: 'isFile' },
-            { expand: true, src :'DEPENDENCIES',dest: './../dist/<%= artifactname %>/doc', filter: 'isFile' },
-            { expand: true, src :'README.md',dest: './../dist/<%= artifactname %>/doc', filter: 'isFile' }
-          ]
-      },
-      "release-sources" : {
-        files: [
-            { expand: true, src :'LICENSE',dest: './../dist/<%= artifactname %>/sources', filter: 'isFile' },
-            { expand: true, src :'NOTICE',dest: './../dist/<%= artifactname %>/sources', filter: 'isFile' },
-            { expand: true, src :'DEPENDENCIES',dest: './../dist/<%= artifactname %>/sources', filter: 'isFile' },
-            { dot: true, expand: true, cwd: './', src: ['**'], dest: './../dist/<%= artifactname %>/sources/odatajs',
-            filter: function(srcPath)  {
-              // no node_modules
-              if (srcPath === 'node_modules' || contains(srcPath, 'node_modules\\')|| contains(srcPath, 'node_modules/')) {
-                return false; 
-              }
-              if (srcPath === 'extern-tools' || contains(srcPath, 'extern-tools\\')|| contains(srcPath, 'extern-tools/')) {
-                return false; 
-              }
-
-              if (contains(srcPath, 'demo\\scripts\\datajs-') || 
-                  contains(srcPath, 'demo/scripts/datajs-')) {
-                return false; 
-              }
-              if (contains(srcPath, 'demo\\scripts\\odatajs-') || 
-                  contains(srcPath, 'demo/scripts/odatajs-')) {
-                return false; 
-              }
-
-              // no c# files
-              if (srcPath === 'obj' || contains(srcPath, 'obj')|| contains(srcPath, 'obj')) {
-                return false; 
-              }
-
-              if (srcPath === 'bin' || contains(srcPath, 'bin')|| contains(srcPath, 'bin')) {
-                return false; 
-              }
-
-              if (srcPath === 'packages' || contains(srcPath, 'packages')|| contains(srcPath, 'packages')) {
-                return false; 
-              }
-
-              // no build retults
-              if (srcPath === 'build' || contains(srcPath, 'build')|| contains(srcPath, 'build')) {
-                return false; 
-              }
-
-              if (endsWith(srcPath, '.gitignore')) {
-                return false; 
-              }
-              if (endsWith(srcPath, 'localgrunt.config')) {
-                return false; 
-              }
-              if (endsWith(srcPath, 'JSLib.suo')) {
-                return false; 
-              }
-              if (endsWith(srcPath, 'JSLib.csproj.user')) {
-                return false; 
-              }
-              
-              console.log(' + ' + srcPath);
-              return true;
-            }},
-          ]
-      },
-    }
-  });
-
-  grunt.loadNpmTasks("grunt-contrib-copy");
-  
-
-
-
-  // zip
-  grunt.config.merge( { 
-    compress: { // build the zip files for the release 
-      'release-lib': { // just the lib
-        options: {archive: './../dist/<%= artifactname %>/<%= artifactname %>-lib.zip'},
-        files: [{expand: true, cwd: './../dist/<%= artifactname %>/lib', src: ['**'],  dest: '/'}]
-      },
-      'release-doc': { // just the documentation
-        options: {archive: './../dist/<%= artifactname %>/<%= artifactname %>-doc.zip'},
-        files: [{expand: true, cwd: './../dist/<%= artifactname %>/doc', src: ['**'], dest: '/'}]
-      },
-      'release-sources' :  { // the full repository with out the git stuff
-        options: { archive: './../dist/<%= artifactname %>/<%= artifactname %>-sources.zip'},
-        files: [
-          {expand: true, cwd: './../dist/<%= artifactname %>/sources', src: ['**'], dest: '/'},
-        ]
-      }
-    },
-  });
-
-
-  grunt.loadNpmTasks('grunt-contrib-compress');
- 
-};
-

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/grunt-config/sign.js
----------------------------------------------------------------------
diff --git a/odatajs/grunt-config/sign.js b/odatajs/grunt-config/sign.js
deleted file mode 100644
index f5bc129..0000000
--- a/odatajs/grunt-config/sign.js
+++ /dev/null
@@ -1,61 +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.
- */
-module.exports = function(grunt) {
-
-  
-  //sign
-  grunt.config.merge( { 
-    'sign' : {
-      'release' : {
-        options: { types : ['md5', 'sha']},
-        expand : true,
-        cwd : './../dist/<%= artifactname %>/',
-        src : [ 
-          '<%= artifactname %>-lib.zip',
-          'odatajs.4.0.0-beta01.nupkg',
-          '<%= artifactname %>-doc.zip',
-          '<%= artifactname %>-sources.zip'
-        ]
-      },
-      'asc' : {
-        options: { types : ['asc']},
-        expand : true,
-        cwd : './../dist/<%= artifactname %>/',
-        src : [ 
-          '<%= artifactname %>-lib.zip',
-          'odatajs.4.0.0-beta01.nupkg',
-          '<%= artifactname %>-doc.zip',
-          '<%= artifactname %>-sources.zip'
-        ]
-      },
-      'asc-verify' : {
-        options: { types : ['asc-verify']},
-        expand : true,
-        cwd : './../dist/<%= artifactname %>/',
-        src : [ 
-          '<%= artifactname %>-lib.zip',
-          'odatajs.4.0.0-beta01.nupkg',
-          '<%= artifactname %>-doc.zip',
-          '<%= artifactname %>-sources.zip'
-        ]
-      }
-    },
-  });
-};
-

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/package.json
----------------------------------------------------------------------
diff --git a/odatajs/package.json b/odatajs/package.json
deleted file mode 100644
index 6c782bf..0000000
--- a/odatajs/package.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
-  "name": "odatajs",
-  "version": "4.0.0",
-  "postfix": "beta-01",
-  "releaseCandidate": "",
-  "title": "Olingo OData Client for JavaScript",
-  "description": "the Olingo OData Client for JavaScript library is a new cross-browser JavaScript library that enables data-centric web applications by leveraging modern protocols such as JSON and OData and HTML5-enabled browser features. It's designed to be small, fast and easy to use.",
-  "homepage": "http://olingo.apache.org",
-  "main": "index-node.js",
-  "main-browser": "index.js",
-  "repository": {
-    "type": "git",
-    "url": "http://git-wip-us.apache.org/repos/asf/olingo-odata4-js.git"
-  },
-  "engines": {
-    "node": ">= 0.10.0"
-  },
-  "contributors": [
-    {
-      "name": "Bing Li",
-      "email": "bingl@apache.org"
-    },
-    {
-      "name": "Sven Kobler-Morris",
-      "email": "koblers@apache.org"
-    },
-    {
-      "name": "Challen He",
-      "email": "challenh@apache.org"
-    }
-  ],
-  "scripts": {
-    "preinstall": "npm --prefix ./grunt-config/custom-tasks/rat install"
-  },
-  "devDependencies": {
-    "grunt": "^0.4.5",
-    "grunt-connect-proxy": "^0.1.10",
-    "grunt-contrib-clean": "^0.6.0",
-    "grunt-contrib-compress": "^0.10.0",
-    "grunt-contrib-copy": "^0.5.0",
-    "grunt-contrib-uglify": "^0.4.0",
-    "grunt-curl": "^2.0.2",
-    "grunt-jsdoc": "^0.5.6",
-    "grunt-nuget": "^0.1.3",
-    "xmldom": "^0.1.19"
-  }
-}

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/packages.config
----------------------------------------------------------------------
diff --git a/odatajs/packages.config b/odatajs/packages.config
deleted file mode 100644
index 9e7480b..0000000
--- a/odatajs/packages.config
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packages>
-  <package id="Microsoft.OData.Client" version="6.5.0" targetFramework="net40" />
-  <package id="Microsoft.OData.Core" version="6.5.0" targetFramework="net40" />
-  <package id="Microsoft.OData.Edm" version="6.5.0" targetFramework="net40" />
-  <package id="Microsoft.Spatial" version="6.5.0" targetFramework="net40" />
-</packages>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/src/index-browser.js
----------------------------------------------------------------------
diff --git a/odatajs/src/index-browser.js b/odatajs/src/index-browser.js
deleted file mode 100644
index 6301acf..0000000
--- a/odatajs/src/index-browser.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/*1
- * 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.
- */
-
-// version information 
-exports.version = { major: 4, minor: 0, build: 0 };
-
-// core stuff, always needed
-exports.deferred = require('./lib/deferred.js');
-exports.utils = require('./lib/utils.js');
-
-// only needed for xml metadata 
-exports.xml = require('./lib/xml.js');
-
-// only need in browser case
-exports.oData = require('./lib/odata.js');
-exports.store = require('./lib/store.js');
-exports.cache = require('./lib/cache.js');
-
-
-

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/src/index-node.js
----------------------------------------------------------------------
diff --git a/odatajs/src/index-node.js b/odatajs/src/index-node.js
deleted file mode 100644
index 85aea5b..0000000
--- a/odatajs/src/index-node.js
+++ /dev/null
@@ -1,47 +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.
- */
-
-var odatajs = {};
-
-odatajs.version = {
-    major: 4,
-    minor: 0,
-    build: 0
-};
-
-// core stuff, alway needed
-odatajs.deferred = require('./lib/deferred.js');
-odatajs.utils = require('./lib/utils.js');
-
-// only neede for xml metadata
-odatajs.xml = require('./lib/xml.js');
-
-// only need in browser case
-odatajs.oData = require('./lib/odata.js');
-odatajs.store = require('./lib/store.js');
-odatajs.cache = require('./lib/cache.js');
-
-if (typeof window !== 'undefined') {
-    //expose to browsers window object
-    window.odatajs = odatajs;
-} else {
-    //expose in commonjs style
-    odatajs.node = "node";
-    module.exports = odatajs;
-}

http://git-wip-us.apache.org/repos/asf/olingo-odata4-js/blob/503b4417/odatajs/src/index.js
----------------------------------------------------------------------
diff --git a/odatajs/src/index.js b/odatajs/src/index.js
deleted file mode 100644
index d939da2..0000000
--- a/odatajs/src/index.js
+++ /dev/null
@@ -1,52 +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.
- */
-
-//console.log('main starting');
-//var a = require('./a.js');
-//var b = require('./b.js');
-//console.log('in main, a.done=%j, b.done=%j', a.done, b.done);
-
-var odatajs = {};
-
-odatajs.version = {
-    major: 4,
-    minor: 0,
-    build: 0
-};
-
-// core stuff, alway needed
-odatajs.deferred = require('./lib/deferred.js');
-odatajs.utils = require('./lib/utils.js');
-
-// only neede for xml metadata
-odatajs.xml = require('./lib/ext/xml.js');
-
-// only need in browser case
-odatajs.oData = require('./lib/odata.js');
-odatajs.store = require('./lib/store.js');
-odatajs.cache = require('./lib/cache.js');
-
-if (typeof window !== 'undefined') {
-    //expose to browsers window object
-    window.odatajs = odatajs;
-} else {
-    //expose in commonjs style
-    odatajs.node = "node";
-    module.exports = odatajs;
-}


Mime
View raw message