-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[core] Fix ycsb.sh and ycsb.bat missing core dependencies #908
[core] Fix ycsb.sh and ycsb.bat missing core dependencies #908
Conversation
@busbey - Sorry to keep bugging you with reviews. Not sure who else would know how this should work. If there is someone else to ping let me know. |
sorry I lost track of this one.
Might be time to bring in some additional project maintainers. I don't think adding binding-parent to be the core's parent is the right way to do this. I'm trying to grok the underlying problem reading a few of the referenced problems. Is it just when using a source checkout and a binding other than the built-in dummy one? |
I'm seeing this issue with a source checkout. |
I added something like this to ycsb.sh where the class path is constructed for the source case and it seems to work. not sure what the best thing is.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer noahdesu's approach.
fe138f9
to
55311a7
Compare
@busbey so I had a second look at this. It is simpler to copy the dependencies for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds much better!
Could we put the copy into a profile that we activate when we do the source build from the shell scripts? That way folks doing normal maven builds won't have a spurious jar copy.
@busbey yea that sounds reasonable. I'll update the PR. |
@risdenk Still want this in v13? |
55311a7
to
61c646c
Compare
@manolama up to you. I'm done making changes now unless there are required changes from reviews. @busbey Can you take a look at the latest changes? I don't have a Windows machine to test on right now. It works on my Mac. I switched from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these look reasonable. if you'd like me to test on a windows machine, I can probably do that by the end of the week.
@busbey that would be great. The tests I ran:
This will make sure that basic works and builds correctly. Then check that another binding runs without getting a classpath error. |
confirmed this didn't get any classpath trouble on Windows 10 Home
|
Fixes #877.
I don't know if this is the best way to solve this. Basically the core module's parent was root before. I made it binding parent so that it will pickup the necessary assembly plugin and create the lib directory. I'm not really familiar with Maven module parents and dependencies.