[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ] [ 16 ] [ A ] [ B ] [ next ]


Smart Cache Manual
Chapter 10 - For programmers


10.1 Making Smart Cache .jar file

Java can run applications more easily if they are packager as autostartable .jar files. You can make that kind of .jar file and then run it from command line by java -jar filename.jar or in Windows by double clicking on it.

  1. cd src

  1. Compile SC Java sources - javac *.java (or use distributed .classes).

  1. Make .jar file - jar cvfm scache.jar MANIFEST.MF *.class

Because .jar file is just renamed .zip file, you can also copy file MANIFEST.MF in SC archive to META-INF/MANIFEST.MF and pack compiled classes with this file using any .zip utility.

If everything works you now have autostartable jar file.


10.2 Compiling Smart Cache sources

Change working directory to smartcache_home/src and execute command javac *.java. If you have tar distribution running top-level gnu make should work.


10.3 Structure of .cacheinfo control files

Technical notes:

Structure of .cacheinfo files (Version 4).

Structure of .cacheinfo files (Version 3) used in SC from version 0.47 to 0.73.


10.4 List of UI Control command


[ previous ] [ Contents ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ] [ 16 ] [ A ] [ B ] [ next ]


Smart Cache Manual

0.94

Radim Kolar hsn_nospam_at.sendmail.dot.cz