New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amm fails if ran from /var or /bin #418

13h3r opened this Issue Jul 28, 2016 · 1 comment


None yet
2 participants
Copy link

13h3r commented Jul 28, 2016

alexey@Alexeys-MacBook-Pro /var » cat > /Users/alexey/temp/                                                                    1 ↵
println("It works")
alexey@Alexeys-MacBook-Pro /var » amm /Users/alexey/temp/
It works
Exception in thread "main" java.lang.ClassNotFoundException: $file.`..`.`..`.Users.alexey.temp.C$$routes$
    at ammonite.interp.SpecialClassLoader.findClass(ClassLoaders.scala:113)
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    at ammonite.main.Scripts$$anonfun$runScript$2.apply(Scripts.scala:52)
    at ammonite.main.Scripts$$anonfun$runScript$2.apply(Scripts.scala:22)
    at ammonite.util.Res$
    at ammonite.main.Scripts$.runScript(Scripts.scala:22)
    at ammonite.Main.runScript(Main.scala:82)
    at ammonite.Main$$anonfun$main$1$$anonfun$apply$1.apply(Main.scala:193)
    at ammonite.Main$.ammonite$Main$$ifContinually$1(Main.scala:173)
    at ammonite.Main$$anonfun$main$1.apply(Main.scala:175)
    at ammonite.Main$$anonfun$main$1.apply(Main.scala:175)
    at scala.Option.foreach(Option.scala:257)
    at ammonite.Main$.main(Main.scala:175)
    at ammonite.Main.main(Main.scala)

This comment has been minimized.

Copy link

lihaoyi commented Aug 3, 2016

Should be fixed by #420

@lihaoyi lihaoyi closed this Aug 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment