-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
ND4J tests + Intellij IDEA #5098
Comments
Which Maven properties? |
click the links. they all point to the suspected property
…On Tue, May 8, 2018 at 23:56 Samuel Audet ***@***.***> wrote:
Which Maven properties?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5098 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALru_x8RMMx5WPF_hILrNbbUUzd2IzXaks5twpMjgaJpZM4T3rdf>
.
|
testSourceDirectory? We can't do anything about that unless we don't share the tests.. |
Ok, we should start looking for another IDE then. Because in 2018.x after
any reimport you must manually fix Intellij project
…On Wed, May 9, 2018 at 00:02 Samuel Audet ***@***.***> wrote:
testSourceDirectory? We can't do anything about that unless we don't share
the tests..
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5098 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALru__8-bKwZ5qJ45MsskqZTb_YB2eqeks5twpR_gaJpZM4T3rdf>
.
|
@raver119 what does this look like for you when it fails? |
OK, seems like this is still super-flaky... but I can now run tests with the following is a workaround: Running them directly (i.e., opening more than 1 project) means I get errors related to ND4J initialization (missing native libraries). |
It's getting worse guys, now on top of original issue i can't use test resources in Intellij, if nd4j is open as separate project. We need to get these issues fixed somehow, because it seriously slows down work flow. |
Lines 538 to 551 in 0e66ef0
I think since this is declared in top-level pom.xml, Intellij just can't see it if you open nd4j as separate project. |
@rajeev3983 That'd be a bug in IntelliJ, but we can do some copy/paste there, and if it works, we can leave it like that. It wouldn't hurt other tools. |
Ye, there's definitely something goes on in Intellij, they do some refinements... But since we have no other viable IDEs - we should adopt somehow 😄 |
Lines 403 to 416 in e97090b
This copypasta seems to work fine, nd4j-tests work again in latest Intellij. Is it acceptable workaround for CI/CD compatibility? @saudet @sshepel |
We've switched to profiles to address this issue. |
Intellij IDEA 2018.x has issues with ND4J tests, and it looks like it's not a bug.
https://github.com/deeplearning4j/nd4j/blob/12d63943d76c5152192d979beed03e39d9b1ab82/nd4j-backends/nd4j-backend-impls/pom.xml#L45
https://github.com/deeplearning4j/nd4j/blob/34fec21757695246b8a18a32812054f95b290cb0/nd4j-backends/nd4j-backend-impls/nd4j-native/pom.xml#L114
https://github.com/deeplearning4j/nd4j/blob/2138328469fc07bad0d5eed95112d73d9c445b72/nd4j-backends/nd4j-backend-impls/nd4j-cuda/pom.xml#L23
These maven properties are parsed, and imported into Intellij IDEA modules properties, causing problems with IDE.
@saudet Can we reconsider that somehow?
The text was updated successfully, but these errors were encountered: