README-bin.txt
1 ---------------------------------
2 Clearsilver JavaJNI wrapper
3 by David Jeske
4 Distributed under the Neotonic ClearSilver License
5 ----------------------------------
6
7 This is a binary compile of a Java JNI wrapper for the ClearSilver
8 templating library. This version is compiled on:
9
10 x86 Linux (Linux 2.2.x - RedHat 6.2)
11
12 INSTALLING
13
14 You must put the native library (libclearsilver-jni.so) into a standard
15 library location (i.e. like /lib), or make sure that Java can
16 find it by using the java command line directive:
17
18 -Djava.library.path=/somewhere/else
19
20 Then you must put the clearsilver.jar file into your java
21 CLASSPATH.
22
23 USING
24
25 See the example CSTest.java for an example of how to import
26 and use the clearsilver objects.
27
28 USING in a servlet
29
30 Since the most common usage of Clearsilver is in a servlet,
31 we've provided some examples of how to use it in the servlet/
32 directory.
33 -
34
README.txt
1 ----------------------------------
2 Clearsilver JavaJNI wrapper
3 by David Jeske
4 Distributed under the Neotonic ClearSilver License
5 ----------------------------------
6
7 This is a Java Native Interface (JNI) wrapper for the ClearSilver
8 templating library. The files in this directory build into both
9 a clearsilver.jar file with Java classes, and a native library
10 libclearsilver-jni.so.
11
12 BUILDING
13
14 After building clearsilver, just type "make" twice. The first
15 time you build it builds the depend, and throw some random error,
16 I don't know why.
17
18 INSTALLING
19
20 You must put the native library into a standard library location
21 (i.e. like /lib), or make sure that Java can find it by using
22 the java command line directive:
23
24 -Djava.library.path=/somewhere/else
25
26 Then you must put the clearsilver.jar file into your java
27 CLASSPATH.
28
29 USING
30
31 See the example CSTest.java for an example of how to import
32 and use the clearsilver objects.
33
34 USING in a servlet
35
36 Since the most common usage of Clearsilver is in a servlet,
37 we've provided some examples of how to use it in the servlet/
38 directory.
39
40
41