flamefork / fleet Goto Github PK
View Code? Open in Web Editor NEWTemplating System for Clojure
Home Page: http://clojars.org/fleet
License: MIT License
Templating System for Clojure
Home Page: http://clojars.org/fleet
License: MIT License
Would be really, really nice if you could fix that
IllegalArgumentException java.lang.IllegalArgumentException: No implementation of method: :screen of protocol: #'fleet.runtime/Screenable found for class: nil
To get fleet to run with Clojure 1.2, I had to copy over the escape-xml code that disappeared in the new clojure*.jar.
== escapeme.clj === (the namespace has to be included in a few different places for the tests to pass)
(ns escapeme)
(def ^{:private true}
escape-xml-map
(zipmap "'<>"&" (map #(str & % ;) '[apos lt gt quot amp])))
(defn escape-xml [text](apply str %28map #%28escape-xml-map % %%29 text%29))
== ===
Awesome template framework by the way ;)
Hello
Hello,
I have a simple fleet test running where the templates are located relative to the project directory. This works fine when I start everything under the ring jetty adapter.
However when I want to deploy under tomcat (building the war using using "lein ring uberwar") it always bails out saying it cannot find the fleet generated function.
The only way I can get this to work under tomcat is by specifying an absolute path with the fleet-ns invocation but that is not really the correct way
Is this approach supported? If so, what should I use for the root-path with ns-fleet?
All guidance appreciated!
Thanks
Peter
Trying to :require
fleet using Clojure 1.5.1 I am seeing:
Exception in thread "main" java.lang.UnsupportedClassVersionError: fleet/util/CljString : Unsupported major.minor version 51.0
Any ideas?
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.