Raynes/lein-bin — Issue #1: broken when :jvm-opts exists
Author: srid
Created: 2011-11-16 18:27:06+00:00
State: open

When I specify `:jvm-opts ["-Xmx80m"]` in project.clj, that breaks the resultant binary:

$ ./horizon
Exception in thread "main" java.lang.NoClassDefFoundError: [-Xmx80m]
Caused by: java.lang.ClassNotFoundException: [-Xmx80m]
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

`lein run` however is happy to run it.