Class cam.codegen.CreateCISI


CreateCISI is a Java application used to create "wrapper" classes that enable the construction of distributed applications. (See NetApp Wrappers for a description of the construction process).

Chris Anderson (C) UCLA 1998
9/20/98



Obtaining and invoking the cam.codegen.CreateCISI application.

The application cam.codegen.CreateCISI is available as a zipped .jar file

CAMcodegen.zip

(The reason I zip the jar file is so that your internet browser doesn't try to immediately download and execute the .jar file.)

Download this file, unzip it to extract CAMcodegen.jar. The CreateCISI routine
is invoked with a java command, the form of which depends upon the type of operating system one is using.

For a PC Platform: : with the CLASSPATH variable set to include the Java classes.zip file one can use

java -classpath %CLASSPATH%;CAMcodegen.jar;.   cam.codegen.CreateCISI

For a UNIX Platform: with the CLASSPATH variable set to include the Java classes.zip file one can use

java -classpath $CLASSPATH%:CAMcodegen.jar.jar:.  cam.codegen.CreateCISI


CreateCISI Use Diagram

The following diagram gives tips to it's use :


Common Problems

The most common problem that occurs in running the CreateCISI application is that it cannot find the target class. A "Class Not Found" exeception will appear in the Java console window when this occurs. Your target class must be locatable using the CLASSPATH/"package name" construct; specifically the concatenation of a directory listed in the CLASSPATH with the package name must yield a directory that contains the target class.


Inflating the .zip files :

On UNIX systems: The command that I use to unzip them is

unzip -a -U -o xxx.zip

where xxx.zip is the .zip file. The -a option forces a conversion of CR LF to just LF, the -U option preserves the upper-case aspect of the file names, and the -o option allows an overwrite of existing files.


On PC systems: One can use any of the wide number of unzip routines. You have to use a version of an unzip routine which supports long file names. I've been using the PKZIP for Windows 2.5 from PKWARE.