| // ******************************************************************************* |
| // * Copyright (c) 2016 Gigatronik Ingolstadt GmbH |
| // * All rights reserved. This program and the accompanying materials |
| // * are made available under the terms of the Eclipse Public License v1.0 |
| // * which accompanies this distribution, and is available at |
| // * http://www.eclipse.org/legal/epl-v10.html |
| // * |
| // * Contributors: |
| // * Dennis Schroeder - initial implementation |
| // ******************************************************************************* |
| var path = require('path'); |
| var _root = path.resolve(__dirname, '..'); |
| function root(args) { |
| args = Array.prototype.slice.call(arguments, 0); |
| return path.join.apply(path, [_root].concat(args)); |
| } |
| exports.root = root; |