Comments (4)
Here's a full stack trace for the record:
Exception in thread "main" java.lang.IllegalArgumentException: /Users/joni/Scratch/clojure/radiculopath/resources/templates/css/.#screen.scss not found, compiling:(/private/var/folders/18/0_3cdctx3hz46cm83zlr6sb40000gn/T/form-init4069157209016142275.clj:1:124)
at clojure.lang.Compiler.load(Compiler.java:7142)
at clojure.lang.Compiler.loadFile(Compiler.java:7086)
at clojure.main$load_script.invoke(main.clj:274)
at clojure.main$init_opt.invoke(main.clj:279)
at clojure.main$initialize.invoke(main.clj:307)
at clojure.main$null_opt.invoke(main.clj:342)
at clojure.main$main.doInvoke(main.clj:420)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
Caused by: java.lang.IllegalArgumentException: /Users/joni/Scratch/clojure/radiculopath/resources/templates/css/.#screen.scss not found
at me.raynes.fs$assert_exists.invoke(fs.clj:287)
at me.raynes.fs$copy.invoke(fs.clj:292)
at me.raynes.fs$copy_PLUS_.invoke(fs.clj:443)
at me.raynes.fs$copy_dir$fn__3625.invoke(fs.clj:465)
at clojure.lang.AFn.applyToHelper(AFn.java:160)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.core$apply.invoke(core.clj:624)
at me.raynes.fs$walk$fn__3612.invoke(fs.clj:406)
at clojure.core$map$fn__4245.invoke(core.clj:2557)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:484)
at clojure.core$seq.invoke(core.clj:133)
at clojure.core$dorun.invoke(core.clj:2855)
at me.raynes.fs$copy_dir.invoke(fs.clj:460)
at cryogen_core.io$copy_resources.invoke(io.clj:54)
at cryogen_core.compiler$compile_assets.invoke(compiler.clj:293)
at cryogen_core.compiler$compile_assets_timed$fn__6087.invoke(compiler.clj:313)
at cryogen_core.compiler$compile_assets_timed.invoke(compiler.clj:312)
at cryogen.server$init.invoke(server.clj:9)
at clojure.lang.Var.invoke(Var.java:375)
at ring.server.standalone$serve.doInvoke(standalone.clj:93)
at clojure.lang.RestFn.invoke(RestFn.java:423)
at ring.server.leiningen$serve.invoke(leiningen.clj:20)
at user$eval6146.invoke(form-init4069157209016142275.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6703)
at clojure.lang.Compiler.eval(Compiler.java:6693)
at clojure.lang.Compiler.load(Compiler.java:7130)
... 11 more
from cryogen-core.
The more I think about this, the more it looks like it can only be fixed by copying files, not entire directory structures. Do you agree @lacarmen @yogthos? Maybe I missed a me.raynes.fs
function that can mask these files while copying...
I also had other, somewhat related ideas about the compiler design. I don't want to pollute this ticket - shall I make another issue, or can we discuss more informally?
from cryogen-core.
Yeah, I don't think there's a way to supply a mask, might be worth submitting a pr for that to raynes.fs
at some point. In the meantime, I think writing a custom copy fn should be pretty straightforward. If I recall correctly file-seq
lists all the files including subfolders, so it would just be a matter of going through them and filtering out the unwanted files before copying. Would be very similar to what find-assets is doing.
For compiler design ideas I'm good either way, @lacarmen?
from cryogen-core.
Copying the files rather than the directory would be an easy fix. I looked at me.raynes.fs
and I didn't see a way to supply a mask either.
from cryogen-core.
Related Issues (20)
- Change in clean-urls behaviour HOT 7
- Relax config schema
- Centred blue theme inconsistency HOT 1
- Changing `:public-dest` seems to break CSS/JS access HOT 6
- Compass is unmaintained since 2016 HOT 1
- Provide :preview-plaintext to every post, page for SEO HOT 1
- Provide an option to drop the date from file names HOT 2
- Should be able to configure the class on generated toc's HOT 1
- Proposal: Replace :content with :content-dom HOT 3
- An exception in compile-assets-timed should fail the build HOT 2
- Bug: cannot set a page as homepage HOT 1
- Overriding Config HOT 6
- Tags with special characters get a broken tag-output page. Like tag C# HOT 2
- <!-more-> marker characters HOT 5
- Adding `:posts` and `:pages` to params via :extend-params-fn does not behave as expected HOT 3
- Make :posts and :pages available in all posts and pages by default HOT 1
- Making css processing a plugin HOT 1
- Proposed enhancement: Automatically generate post metadata from plain markdown file HOT 9
- It would be nice to omit pages from prev/next if :page-index nil HOT 8
- Add header block for Google's 'Rich Snippets' nonsense HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryogen-core.