[ 
https://issues.apache.org/jira/browse/FLINK-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312254#comment-15312254
 ] 

Maximilian Michels commented on FLINK-4009:
-------------------------------------------

Yes, it is. I was running the test from IntelliJ. The baseDir is set to the 
project directory there. Running the test there didn't work. However, in the 
builds the Maven Shade plugin changes it to /target and then the path works 
fine.

I created a patch to look in both variants of the basedir. However, I think 
Till's solution to use the classpath is much better.

> Scala Shell fails to find library for inclusion in test
> -------------------------------------------------------
>
>                 Key: FLINK-4009
>                 URL: https://issues.apache.org/jira/browse/FLINK-4009
>             Project: Flink
>          Issue Type: Test
>          Components: Scala Shell, Tests
>    Affects Versions: 1.1.0
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>              Labels: test-stability
>             Fix For: 1.1.0
>
>
> The Scala Shell test fails to find the flink-ml library jar in the target 
> folder. This is due to its working directory being expected in 
> "flink-scala-shell/target" when it is in fact "flink-scala-shell". I'm a bit 
> puzzled why that could have changed recently. The last incident I recall 
> where we had to change paths was when we introduced shading of all artifacts 
> to produce effective poms (via the force-shading module). I'm assuming the 
> change of paths has to do with switching from Failsafe to Surefire in 
> FLINK-3909.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to