Attention!!! You can download old version only fom this page. Please refers to CafeBabe project for new version of Dietolog.

This program creates a compact java programs, which contain only that files that really need for work. If your project uses different archives and these archives occupies a lot of disk space, this program is for you. Dietolog analyzes classes in project and found dependencies for them and their parents. It produces recommendation in form of archive with founded classes. Program understand such things as class literals (f.e. Object.class), "Class.forName(String className)" and creates list of used dll libraries.

All classes must be registered in CLASSPATH. You can run this program by using the following command:

java -classpath %CLASSPATH%;Dietolog.jar Dietolog QualifiedClassName

If you wish to create an archive with selected classes please use the next command:

java -classpath %CLASSPATH%;Dietolog.jar Dietolog QualifiedClassName -zipOut.zip

Program creates a new directory Results with founded classes and zip-archive.

If working directory contains file Dietolog.properties then you have an ability to omit some CLASSPATH entries and some packages. F.e.:

CLASSPATH_BOUNDS=d:/jdk/lib/classes.zip d:/swing/swing.jar d:/swing/swingall.jar PACKAGES_BOUNDS= java.

Sometimes it is useful to switch off JIT-compiler:

java -nojit ... (1.1)

java -Djava.compiler=NONE (1.2)

 

Copyright (c) 1999 All rights reserved

1