src/Application.js
function initMembers(rootPath) {

    this._rootPath = rootPath;
    ShellJS.mkdir(this._rootPath);

    this._appPath = this._rootPath + Path.sep + "app";
    ShellJS.mkdir(this._appPath);

    this._logPath = Path.join(OS.tmpdir(), "crosswalk-app-tools-" + this._packageId);
    ShellJS.mkdir(this._logPath);

    // Packages end up in working dir
    this._pkgPath = process.cwd();

    this._prjPath = this._rootPath + Path.sep + "prj";
    ShellJS.mkdir(this._prjPath);
}
function initMembers(rootPath) {

    this._rootPath = rootPath;
    ShellJS.mkdir(this._rootPath);

    this._appPath = this._rootPath + Path.sep + "app";
    ShellJS.mkdir(this._appPath);

    this._logPath = Path.join(OS.tmpdir(), "crosswalk-app-tools-" + this._packageId);
    ShellJS.mkdir(this._logPath);

    // Packages end up in working dir
    this._pkgPath = process.cwd();

    this._prjPath = this._rootPath + Path.sep + "prj";
    ShellJS.mkdir(this._prjPath);
}
function initMembers ( rootPath ) { this . _rootPath = rootPath ; ShellJS . mkdir ( this . _rootPath ) ; this . _appPath = this . _rootPath + Path . sep + "app" ; ShellJS . mkdir ( this . _appPath ) ; this . _logPath = Path . join ( OS . tmpdir ( ) , "crosswalk-app-tools-" + this . _packageId ) ; ShellJS . mkdir ( this . _logPath ) ; // Packages end up in working dir this . _pkgPath = process . cwd ( ) ; this . _prjPath = this . _rootPath + Path . sep + "prj" ; ShellJS . mkdir ( this . _prjPath ) ; }
Initialize paths.
@param {String} rootPath Root path inside the project
Initialize paths .