Kotlinc does not respect wildcards in classpath


#1

I am using the kotlin compiler from the command line. I'd like to use the same classpath as I use to compile the Java sources in the same project but it seems like kotlinc does not respect the "-cp lib_dir/*" wildcarding of jar files.

Is this deliberate?

I realise I can work around it by specifying each jar individually but I’d prefer not to.


#2

Not deliberate, it's just not implemented yet, see https://youtrack.jetbrains.com/issue/KT-9756


#3

thanks for the reply.

It is a bit embarrassing but the reason I would like this is that we have so many dependencies that we are blowing the limit for a command in windows!

Cheers, Ben