You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2019/01/11 08:36:00 UTC

[jira] [Comment Edited] (FLINK-11305) Allow developer to test flink without building the whole flink project

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

Chesnay Schepler edited comment on FLINK-11305 at 1/11/19 8:35 AM:
-------------------------------------------------------------------

Why aren't you just building the modified module and flink-dist? I.e. {{mvn clean package -DskipTests -pl <changed-module>,flink-dist}}?


was (Author: zentol):
Why aren't you just building the modified module and flink-dist? I.e. `mvn clean package -DskipTests -pl <changed-module>,flink-dist`?

> Allow developer to test flink without building the whole flink project
> ----------------------------------------------------------------------
>
>                 Key: FLINK-11305
>                 URL: https://issues.apache.org/jira/browse/FLINK-11305
>             Project: Flink
>          Issue Type: Improvement
>    Affects Versions: 1.7.1
>            Reporter: Jeff Zhang
>            Assignee: Jeff Zhang
>            Priority: Major
>
> As a flink developer, each time I make some changes in flink, I would like to test it in end-to-end scenario instead of just doing it in unit test. Usually I use scala-shell to do that. But in order to use the latest code in scala-shell, I have to build the whole flink project, because scala-shell depends on the flink-dist jar. And building the whole flink project takes very long time. It is very inefficient for me. This is what I did now
> {code:java}
> mvn clean package -DskipTests -pl flink-dist am{code}
>  
> And here's what I wish if I make some changes in flink-scala-shell, I'd like to test it in scala-shell.
> {code:java}
> mvn clean package -DskipTests -pl flink-dist,flink-scala-shell{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)