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

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

Fixed with 4d8cbec4ffca033f5602a53205d65e535ffc5f97. Discuss for using the 
class path can continue in FLINK-3454. We need to build a jar file during the 
test to load the classes in the shell.

> 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: Sub-task
>          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 when executing with Intellij. This is due to its working directory 
> being expected in "flink-scala-shell/target" when it is in fact 
> "flink-scala-shell". When executed with Maven, this works fine because the 
> Shade plugin changes the basedir from the project root to the /target 
> folder*. 
> As per [~till.rohrmann] and [~greghogan] suggestions we could simply add 
> flink-ml as a test dependency and look for the jar path in the classpath.
> \* Because we have the dependencyReducedPomLocation set to /target/.



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

Reply via email to