[
https://issues.apache.org/jira/browse/FLINK-3839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15326513#comment-15326513
]
Ken Krugler commented on FLINK-3839:
------------------------------------
Hi Robert,
>From my email on this...
bq. But this doesn’t seem to work. I believe it’s because JDK tools do the
expansion before creating the URLs used by the classloader, but Flink code
doesn’t do any such special processing, and just creates URLs - see
ProgramOptions.java, via classpaths.add(new URL(path));
So take a look at ProgramOptions.java as a place to start.
> Support wildcards in classpath parameters
> -----------------------------------------
>
> Key: FLINK-3839
> URL: https://issues.apache.org/jira/browse/FLINK-3839
> Project: Flink
> Issue Type: Improvement
> Reporter: Ken Krugler
> Assignee: Robert Thorman
> Priority: Minor
>
> Currently you can only specify a single explict jar with the CLI --classpath
> file://<path to jar> parameter.Java (since 1.6) has allowed you to use -cp
> <path to directory>/* as a way of adding every file that ends in .jar in a
> directory.
> This would simplify things, e.g. when running on EMR you have to add roughly
> 120 jars explicitly, but these are all located in just two directories.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)