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