Code Monkey home page Code Monkey logo

Comments (5)

emezeske avatar emezeske commented on June 17, 2024

Hmm, I do see one problem with your configuration; the :output-to option is supposed to be a file, not a directory (e.g. "war/js/hello.js" instead of "war/js/". If changing that solves your problem, let me know; I'll see if I can make the error message better if a directory is accidentally specified. If that doesn't solve your problem, please post the full stack trace.

from lein-cljsbuild.

tzach avatar tzach commented on June 17, 2024

Thanks
Adding the file name to the :output-to did not solve the problem :(
Full trace below

Exception in thread "main" java.lang.IllegalArgumentException: No matching field found: getDirectoryScanner for class org.apache.tools.ant.types.FileSet (NO_SOURCE_FILE:0)
at clojure.lang.Compiler.eval(Compiler.java:5440)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$script_opt.invoke(main.clj:270)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:457)
at clojure.lang.Var.invoke(Var.java:377)
at clojure.lang.AFn.applyToHelper(AFn.java:172)
at clojure.lang.Var.applyTo(Var.java:482)
at clojure.main.main(main.java:37)
Caused by: java.lang.IllegalArgumentException: No matching field found: getDirectoryScanner for class org.apache.tools.ant.types.FileSet
at clojure.lang.Reflector.getInstanceField(Reflector.java:245)
at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:267)
at leiningen.util.plugins$plugin_files.invoke(plugins.clj:65)
at leiningen.util.plugins$download_plugins.invoke(plugins.clj:86)
at leiningen.core$_main.doInvoke(core.clj:327)
at clojure.lang.RestFn.invoke(RestFn.java:410)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at clojure.core$apply.invoke(core.clj:542)
at leiningen.core$_main.invoke(core.clj:334)
at user$eval42.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5424)

from lein-cljsbuild.

emezeske avatar emezeske commented on June 17, 2024

Based on that stacktrace, I think that this is most likely to be a problem in Leiningen. What version of Leiningen are you running? You might try upgrading to the latest version. I'd also suggest doing the build in a fresh checkout of your project.

from lein-cljsbuild.

tzach avatar tzach commented on June 17, 2024

Thanks
I'm using lein 1.7.0, and you are right - it is a lein issue which
repeat for every plugin, not just cljsbuild.
After reinstall didnt help, I open an issue on lein.

Best regards, and thank for the plugin!
I still suspect I'm doing a silly mistake.. will see which.

Tzach

On Tue, Mar 13, 2012 at 10:06 AM, Evan Mezeske
[email protected]
wrote:

Based on that stacktrace, I think that this is most likely to be a problem in Leiningen.  What version of Leiningen are you running?  You might try upgrading to the latest version.  I'd also suggest doing the build in a fresh checkout of your project.


Reply to this email directly or view it on GitHub:
#52 (comment)

from lein-cljsbuild.

emezeske avatar emezeske commented on June 17, 2024

Good luck tracking down the problem!

from lein-cljsbuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.