Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3rd party directory is not generated #255

Open
smolamarcin opened this issue May 16, 2019 · 1 comment
Open

3rd party directory is not generated #255

smolamarcin opened this issue May 16, 2019 · 1 comment

Comments

@smolamarcin
Copy link

Hello.
First of all, thanks for your project, it's really life-savier.

I think It's a newbie question, but I don't know how to deal with this problem.
I'm using Windows. I would like to generate maven dependencies based on my dependencies.yaml file.
Here are WORKSPACE and dependencies.yaml in my project directory(pom.xml is located here)
https://gist.github.com/smolamarcin/06154fcfdd42c0938370800faac0d55b

I cloned bazel-deps repo, and I'm trying to generate 3rdparty in my project directory, but It's not working. I'm trying to do it with command (from bazel-deps directory):

bazel run //:parse -- generate -r "$MY_PROJECT_WITH_POM_AND_DEPENDENCIES_YAML" -s 3rdparty/workspace.bzl -d dependencies.yaml

The directory is not generated. What I'm doing wrong?

@akashdayal
Copy link

It should be bazel run //:parse generate -- and not bazel run //:parse -- generate. Notice the --

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants