diff options
author | Kristina Chodorow <kchodorow@google.com> | 2015-04-06 15:54:03 +0000 |
---|---|---|
committer | John Field <jfield@google.com> | 2015-04-06 18:48:41 +0000 |
commit | 06f446a697d9f0eefad3b5e5bf070a751e3c5efc (patch) | |
tree | 87c4129b95a28fffe55d8cc0ee80018b51e4a0a9 /site/docs/install.md | |
parent | 9cc361cbab0427a27e39f92596083ebf5e20847e (diff) |
Update getting started instructions with .bazelrc strategy
--
MOS_MIGRATED_REVID=90418845
Diffstat (limited to 'site/docs/install.md')
-rw-r--r-- | site/docs/install.md | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/site/docs/install.md b/site/docs/install.md index ac93ad5cc5..f954e6cfcb 100644 --- a/site/docs/install.md +++ b/site/docs/install.md @@ -134,30 +134,4 @@ $ export PATH="$PATH:$HOME/bazel/output/bazel" You can also add this command to your `~/.bashrc` file. -You must run the Bazel from within a directory that is properly configured for -use with the application. We call this directory a _workspace directory_. -Bazel provides a default workspace directory with sample `BUILD` files and -source code at `base_workspace` in the Bazel home directory. This directory -contains files and subdirectories that must be present in order for Bazel to -work. If you want to build from source outside the default workspace directory, -copy the entire `base_workspace` directory to the new location before adding -your `BUILD` and source files. - -To run Bazel and build a sample Java application: - -``` -$ cp -R $HOME/bazel/base_workspace $HOME/my_workspace -$ cd $HOME/my_workspace -$ bazel build //examples/java-native/src/main/java/com/example/myproject:hello-world -``` - -The build output is located in -`$HOME/my_workspace/bazel-bin/examples/java-native/src/main/java/com/example/myproject/`. - -To run the sample application: - -``` -$ $HOME/my_workspace/bazel-bin/examples/java-native/src/main/java/com/example/myproject/hello-world -``` - For more information, see [Getting started](getting-started.md). |