1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
---
layout: default
title: bootstrap
summary: Interactive gogo shell
---
## Description
{{page.summary}}
## Synopsis
## Options
## Examples
/**
* start a local framework
*/
interface BootstrapOptions extends Options {
}
public void _bootstrap(BootstrapOptions options) throws Exception {
Workspace ws = getWorkspace(getBase());
File buildDir = ws.getBuildDir();
File bndFile = IO.getFile(buildDir, "bnd.bnd");
if ( !bndFile.isFile()) {
error("No bnd.bnd file found in cnf directory %s", bndFile);
return;
}
Run run = new Run(ws, buildDir, bndFile);
run.runLocal();
getInfo(run);
}
|