-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[TOQo1n9M] apoc-hadoop dependency is conflicting #3450
Conversation
3340137
to
680a8e2
Compare
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.
Nice, I really like the refactorings you have done too! Just one small question.
return Paths.get( basePath.concat(project) ) | ||
.toFile(); |
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.
Comparing with the old code, there was a slash in the concat method: .concat("/full")
now this will be .concat(full)
. Does that matter?
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.
Yeah, I forgot to mention it.
How it was before wasn't totally right,
because basePath is for example /My/Path/neo4j-apoc-procedures/
.
By doing basePath.concat("/full")
becomes /My/Path/neo4j-apoc-procedures//full
(with a double slash before full).
Then Paths.get(...)
removes the double slash indeed,
but I guess it's better to remove it beforehand.
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.
Ok that makes sense, thanks for explaining
…4j-contrib/neo4j-apoc-procedures#3450) (#347) * [TOQo1n9M] Core part - apoc-hadoop dependency is conflicting 5.x (neo4j-contrib/neo4j-apoc-procedures#3450) * [TOQo1n9M] changed getProjectPath() to isExtendedProject()
…4j-contrib/neo4j-apoc-procedures#3450) (#347) * [TOQo1n9M] Core part - apoc-hadoop dependency is conflicting 5.x (neo4j-contrib/neo4j-apoc-procedures#3450) * [TOQo1n9M] changed getProjectPath() to isExtendedProject()
addExtraDependencies()
in TestContainerUtil