From the directory with the WORKSPACE
file I'm building a java target in bazel that should leave all the symlinks:
bazel build --symlink_prefix=bazel --experimental_convenience_symlinks=ignore //path/to/dir:JavaTarget
but it won't create the symlinks. I've removed the .bazelrc
file and set the current and parent directories to chmod 777
. I can't figure out why it isn't creating the links.
The documentation for --experimental_convenience_symlinks=ignore
says:
"ignore: Symlinks will be left alone"
https://bazel.build/reference/command-line-reference#flag--experimental_convenience_symlinks
But the source code says something more specific:
/** Will not create or clean up any symlinks. */
IGNORE,
So try not specifying --experimental_convenience_symlinks
to leave it at the default value of normal
.