arachne-framework / arachne-assets Goto Github PK
View Code? Open in Web Editor NEWAsset pipeline for Arachne
License: Other
Asset pipeline for Arachne
License: Other
I am trying a trivial config like this
(a/id ::input (aa/input-dir "resources/adoc" :watch? true))
(a/id ::output (aa/output-dir "resource"))
(aa/pipeline [::input ::output])
(I think this config is supposed to simply copy the files over, but not entirely sure)
Which upon updating a file under resources/adoc throws the following error.
Exception in thread "async-dispatch-10"
java.lang.Error: java.nio.file.FileSystemException: resource/reader.adoc -> /tmp/arachne-fs7737731896548256830/dc2d14daa85742c8f00930de7011e0f8.1492707865210: Invalid cross-device link
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.nio.file.FileSystemException: resource/reader.adoc -> /tmp/arachne-fs7737731896548256830/dc2d14daa85742c8f00930de7011e0f8.1492707865210: Invalid cross-device link
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixFileSystemProvider.createLink(UnixFileSystemProvider.java:476)
at java.nio.file.Files.createLink(Files.java:1086)
at arachne.fileset.util$hard_link.invokeStatic(util.clj:55)
at arachne.fileset.util$hard_link.invoke(util.clj:52)
at arachne.fileset.impl.TmpFileSet$fn__27001.invoke(impl.clj:303)
at arachne.fileset.impl.TmpFileSet._commit_BANG_(impl.clj:289)
at arachne.fileset$commit_BANG_.invokeStatic(fileset.clj:28)
at arachne.fileset$commit_BANG_.invoke(fileset.clj:18)
at arachne.assets.pipeline.OutputDir$receive__35637.invoke(pipeline.clj:239)
at arachne.assets.pipeline.OutputDir$fn__35658$state_machine__33185__auto____35659$fn__35661.invoke(pipeline.clj:242)
at arachne.assets.pipeline.OutputDir$fn__35658$state_machine__33185__auto____35659.invoke(pipeline.clj:242)
at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:1012)
at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:1011)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:1016)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:1014)
at clojure.core.async.impl.ioc_macros$take_BANG_$fn__33203.invoke(ioc_macros.clj:1025)
at clojure.core.async.impl.channels.ManyToManyChannel$fn__27599$fn__27600.invoke(channels.clj:95)
at clojure.lang.AFn.run(AFn.java:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
... 2 more
Probably my understanding is hazy somewhere...
Has anyone seen this happen?
Arachne raises an error when an input to a pipeline is a jar when it's declared to be watched. This should be lowered to a warning because it's quite useful to have a resource dir be watched in development while in production it's served from a jar file.
Maybe a config param like :watch :if-possible
could make this explicit and suppress any warning.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.