#! | 43 lines | 29 code | 14 blank | 0 comment | 0 complexity | 20eb2df963399bedc169c09afaa34923 MD5 | raw file
1# cfml 2 3This is the example project for cfmljure. 4 5## Usage 6 7These are just some examples to show how cfmljure works. Look in index.cfm to see how 8cfmljure sets up the Clojure runtime, loads scripts and accesses functions. 9 10## Installation 11 12Copy the clj/ folder from the cfmljure project to your container's classpath. Install the 13lein script from http://github.com/technomancy/leiningen (download the lein script, make 14it executable, run lein self-install). Run the tests: 15 16 lein clean, deps, test 17 18You should see (with a different file path, I expect): 19 20 Cleaning up. 21 Copying 2 files to /Developer/tomcat-ws/lib/clj/cfml/lib 22 Testing cfml.test.examples 23 Ran 7 tests containing 7 assertions. 24 0 failures, 0 errors. 25 26Now you can copy the Clojure JARs from the clj/cfml/lib/ folder to your container's classpath 27and restart your container. Now go hit the cfmljure index.cfm file in your browser! 28 29## License 30 31Copyright (C) 2010 Sean Corfield 32 33Licensed under the Apache License, Version 2.0 (the "License"); 34you may not use this file except in compliance with the License. 35You may obtain a copy of the License at 36 37 http://www.apache.org/licenses/LICENSE-2.0 38 39Unless required by applicable law or agreed to in writing, software 40distributed under the License is distributed on an "AS IS" BASIS, 41WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 42See the License for the specific language governing permissions and 43limitations under the License.